POST CMUserJobDays/Post
Request Information
URI Parameters
None.
Body Parameters
Collection of CMUserJobDayCommandName | Type | Description | Additional information |
---|---|---|---|
UserJobID | integer |
None. |
|
SiteID | integer |
None. |
|
DateTime | date |
None. |
|
SysHours | decimal number |
None. |
|
ScheduledHours | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
[ { "UserJobID": 1, "SiteID": 2, "DateTime": "2024-11-21T07:08:03.9981498+00:00", "SysHours": 4.0, "ScheduledHours": 5.0 }, { "UserJobID": 1, "SiteID": 2, "DateTime": "2024-11-21T07:08:03.9981498+00:00", "SysHours": 4.0, "ScheduledHours": 5.0 } ]
application/xml, text/xml
Sample:
<ArrayOfCMUserJobDayCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tevalis.API.App.Models"> <CMUserJobDayCommand> <DateTime>2024-11-21T07:08:03.9981498+00:00</DateTime> <ScheduledHours>5</ScheduledHours> <SiteID>2</SiteID> <SysHours>4</SysHours> <UserJobID>1</UserJobID> </CMUserJobDayCommand> <CMUserJobDayCommand> <DateTime>2024-11-21T07:08:03.9981498+00:00</DateTime> <ScheduledHours>5</ScheduledHours> <SiteID>2</SiteID> <SysHours>4</SysHours> <UserJobID>1</UserJobID> </CMUserJobDayCommand> </ArrayOfCMUserJobDayCommand>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>