POST v1/JobCost/JobCostServiceTimeEntry

Request Information

URI Parameters

None.

Body Parameters

JobCostServiceTimeEntryRequest
NameDescriptionTypeAdditional information
EmployeeId

integer

Required

ActivityDate

date

Required

JobCostItems

Collection of ServiceTimeEntryRequestItem

Required

Request Formats

application/json, text/json

Sample:
{
  "ActivityDate": "2024-11-21T04:58:51.1490987-05:00",
  "JobCostItems": [
    {
      "OperationCode": "sample string 1",
      "HelpersCount": 2,
      "TotalTime": 3.1,
      "JobComment": "sample string 4",
      "OrderId": 5
    },
    {
      "OperationCode": "sample string 1",
      "HelpersCount": 2,
      "TotalTime": 3.1,
      "JobComment": "sample string 4",
      "OrderId": 5
    }
  ],
  "EmployeeId": 1
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'JobCostServiceTimeEntryRequest'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string>sample string 1</string>