POST api/ts/timesheet/lines

Update Timesheet Line

Request Information

URI Parameters

None.

Body Parameters

SaveLineObject
NameDescriptionTypeAdditional information
TimesheetLineId

globally unique identifier

None.

PostDate

date

None.

Hours

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

None.

Fields

Dictionary of string [key] and Object [value]

None.

Notes

string

None.

UserId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "TimesheetLineId": "ba758ca6-394b-4a92-9efd-e0303acd4df2",
  "PostDate": "2024-12-18T19:48:57.9699565+00:00",
  "Hours": {
    "16ef396e-efee-4f8b-b08b-990dc9dfe8b2": 2.0,
    "53721a8b-92fc-44a7-b9fd-0251db7acd3e": 4.0
  },
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "Notes": "sample string 3",
  "UserId": "512292d3-c87f-4017-bd3e-708be1c002b8"
}

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.