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": "ede00c68-73b7-4268-85cf-d0fd0a03e1f5",
  "ExternalId": "sample string 2",
  "IntegrationId": "2ed98991-1cdc-409c-96bd-0c70e0deee7f",
  "LogDate": "2024-12-18T19:56:30.6402932+00:00",
  "Hours": {
    "dc19ed91-2c17-4ec7-87d7-a0a8b86a032c": 2.0,
    "df6cbff7-1999-487c-aeed-eff4018362c8": 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
}