PUT CMUserSchedules
Updates a CM User
Request Information
URI Parameters
None.
Body Parameters
Collection of UpdateUserScheduleCommand| Name | Type | Description | Additional information |
|---|---|---|---|
| UserScheduleID | integer |
None. |
|
| UserID | integer |
None. |
|
| JobID | integer |
None. |
|
| SiteID | integer |
None. |
|
| StartDateTime | date |
None. |
|
| EndDateTime | date |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"UserScheduleID": 1,
"UserID": 2,
"JobID": 3,
"SiteID": 4,
"StartDateTime": "2025-10-29T20:33:30.4704993",
"EndDateTime": "2025-10-29T20:33:30.4704993"
},
{
"UserScheduleID": 1,
"UserID": 2,
"JobID": 3,
"SiteID": 4,
"StartDateTime": "2025-10-29T20:33:30.4704993",
"EndDateTime": "2025-10-29T20:33:30.4704993"
}
]
application/xml, text/xml
Sample:
<ArrayOfUpdateUserScheduleCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tevalis.API.Core.Models.User.Commands">
<UpdateUserScheduleCommand>
<EndDateTime>2025-10-29T20:33:30.4704993</EndDateTime>
<JobID>3</JobID>
<SiteID>4</SiteID>
<StartDateTime>2025-10-29T20:33:30.4704993</StartDateTime>
<UserID>2</UserID>
<UserScheduleID>1</UserScheduleID>
</UpdateUserScheduleCommand>
<UpdateUserScheduleCommand>
<EndDateTime>2025-10-29T20:33:30.4704993</EndDateTime>
<JobID>3</JobID>
<SiteID>4</SiteID>
<StartDateTime>2025-10-29T20:33:30.4704993</StartDateTime>
<UserID>2</UserID>
<UserScheduleID>1</UserScheduleID>
</UpdateUserScheduleCommand>
</ArrayOfUpdateUserScheduleCommand>
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>