POST api/worklog

Request Information

URI Parameters

None.

Body Parameters

WorkLogPost
NameDescriptionTypeAdditional information
TaskId

globally unique identifier

None.

ExternalId

string

None.

IntegrationId

globally unique identifier

None.

LogDate

date

None.

Hours

Dictionary of globally unique identifier [key] and decimal number [value]

None.

Request Formats

application/json, text/json

Sample:
{
  "TaskId": "59a527d4-6ed3-4b23-a604-9710aa054415",
  "ExternalId": "sample string 2",
  "IntegrationId": "e1f5df73-529b-4633-a661-1a84a42e6ce0",
  "LogDate": "2024-10-18T08:38:32.3547482+00:00",
  "Hours": {
    "fa7fb8df-d4b1-4634-9534-108e51c606c1": 2.0,
    "d3d9e16b-e777-44c4-bef3-6eb929575150": 4.0
  }
}

Response Information

Resource Description

WorkLogResponse
NameDescriptionTypeAdditional information
Success

boolean

None.

TaskFound

boolean

None.

NewRow

boolean

None.

TotalUsedHours

decimal number

None.

PeriodFound

boolean

None.

PeriodClosed

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "TaskFound": true,
  "NewRow": true,
  "TotalUsedHours": 4.0,
  "PeriodFound": true,
  "PeriodClosed": true
}