POST api/admin/enterprise/AddTimeSchedule
Request Information
URI Parameters
None.
Body Parameters
ScheduleDTOName | Description | Type | Additional information |
---|---|---|---|
UserId | string |
None. |
|
ScheduleName | string |
None. |
|
NewScheduleName | string |
None. |
|
ScheduleType | ScheduleTypeDTO |
None. |
|
ServiceProviderId | string |
None. |
|
GroupId | string |
None. |
|
ScheduleLevel | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserId": "sample string 1", "ScheduleName": "sample string 2", "NewScheduleName": "sample string 3", "ScheduleType": 0, "ServiceProviderId": "sample string 4", "GroupId": "sample string 5", "ScheduleLevel": "sample string 6" }
application/xml, text/xml
Sample:
<ScheduleDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSPApi.DTO.Enterprise"> <GroupId>sample string 5</GroupId> <NewScheduleName>sample string 3</NewScheduleName> <ScheduleLevel>sample string 6</ScheduleLevel> <ScheduleName>sample string 2</ScheduleName> <ScheduleType>Holiday</ScheduleType> <ServiceProviderId>sample string 4</ServiceProviderId> <UserId>sample string 1</UserId> </ScheduleDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |