POST CMUserSchedules/Post
Request Information
URI Parameters
None.
Body Parameters
Collection of CMUserScheduluesRequestCommandName | Type | Description | Additional information |
---|---|---|---|
ScheduleID | integer |
None. |
|
UserID | integer |
None. |
|
JobID | integer |
None. |
|
SiteID | integer |
None. |
|
StartDateTime | date |
None. |
|
EndDateTime | date |
None. |
Request Formats
application/json, text/json
Sample:
[ { "ScheduleID": 1, "UserID": 2, "JobID": 3, "SiteID": 4, "StartDateTime": "2024-11-21T06:21:19.826957+00:00", "EndDateTime": "2024-11-21T06:21:19.826957+00:00" }, { "ScheduleID": 1, "UserID": 2, "JobID": 3, "SiteID": 4, "StartDateTime": "2024-11-21T06:21:19.826957+00:00", "EndDateTime": "2024-11-21T06:21:19.826957+00:00" } ]
application/xml, text/xml
Sample:
<ArrayOfCMUserScheduluesRequestCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tevalis.CM.DAL"> <CMUserScheduluesRequestCommand> <EndDateTime>2024-11-21T06:21:19.826957+00:00</EndDateTime> <JobID>3</JobID> <ScheduleID>1</ScheduleID> <SiteID>4</SiteID> <StartDateTime>2024-11-21T06:21:19.826957+00:00</StartDateTime> <UserID>2</UserID> </CMUserScheduluesRequestCommand> <CMUserScheduluesRequestCommand> <EndDateTime>2024-11-21T06:21:19.826957+00:00</EndDateTime> <JobID>3</JobID> <ScheduleID>1</ScheduleID> <SiteID>4</SiteID> <StartDateTime>2024-11-21T06:21:19.826957+00:00</StartDateTime> <UserID>2</UserID> </CMUserScheduluesRequestCommand> </ArrayOfCMUserScheduluesRequestCommand>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of stringResponse Formats
application/json, text/json
Sample:
[ "sample string 1", "sample string 2" ]
application/xml, text/xml
Sample:
<ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <string>sample string 1</string> <string>sample string 2</string> </ArrayOfstring>