NAV Navigation
Back to documentation

Releases

Next release

Changes in API Requests

POST /tasks

Now, when creating a task, you can pass an object of resources that will be assigned to the task.
The object must follow the following structure:

"resources" : [
{
"resourceId" : "int",
"resourceValue" : "int"
}
]

10-07-2024

Changes in API Requests

POST /projects/customday

PUT /projects/customday

Now accepts the "hours" parameter in the following formats:

  • Array of objects:
"hours" : [
{
"start" : "int",
"end" : "int"
}
]
  • Array of strings, where each string is in the format "HH:MM-HH:MM". For example, "10:30-15:30"

POST /projects

Now accepts the "showTime" parameter in the following formats:

  • Array of objects:
"showTime" : [
{
"start" : "int",
"end" : "int"
}
]
  • Array of strings, where each string is in the format "HH:MM-HH:MM". For example, "10:30-15:30"

Changes in API Responses

POST /projects/customday

The response now returns the "hours" field only in the format - "hours" : string[]. Each string is in the format "HH:MM-HH:MM". For example, "10:30-15:30".

Before:

"hours" : [
{
"start" : "int",
"end" : "int"
}
]

GET /projects/calendars

The response now returns the "hours" field (in "worktime" and "customDays") only in the format - "hours" : string[]. Each string is in the format "HH:MM-HH". For example, "10:30-15:30".

Before:

"hours" : [
{
"start" : "int",
"end" : "int"
}
]

Changes in Webhooks

Webhook "ProjectCalendarUpdated"

The response now returns the "hours" field only in the format - "hours" : string[]. Each string is in the format "HH:MM-HH:MM". For example, "10:30-15:30".

Before:

"worktime": {
"hours" : [
{
"start" : "int",
"end" : "int"
}
]
}

The response now returns the "hours" field only in the format - "hours" : string[]. Each string is in the format "HH:MM-HH:MM". For example, "10:30-15:30".

Before:

"customDays": [
{
"data": [
{
"hours": [
{
"start" : "int",
"end" : "int"
}
]
}
]
}
]

Webhook "ResourceCalendarUpdated"

The response now returns the "hours" field only in the format - "hours" : float.

Before:

"worktime":{
"hours":"int"
},

The response now returns the "workingHours" field only in the format - "workingHours" : float.

Before:

"customDays": [
{
"data": [
{
"workingHours": "int"
}
]
}
]