POST api/TimetableManager/BulkUpdate
Request Information
URI Parameters
None.
Body Parameters
Collection of PermissionGroupTimetable| Name | Description | Type | Additional information |
|---|---|---|---|
| Identity | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Timetables | Collection of CategoryTypeTimetableOverrideExtended |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"Identity": "d35219f2-8391-40ed-8a7e-ad478592e199",
"Name": "sample string 2",
"Timetables": [
{
"CategoryTypeName": "sample string 1",
"CategoryTypeIdentity": "dc729723-f126-4abe-8022-ae8ced306cb1",
"IsVisible": true
},
{
"CategoryTypeName": "sample string 1",
"CategoryTypeIdentity": "dc729723-f126-4abe-8022-ae8ced306cb1",
"IsVisible": true
}
]
},
{
"Identity": "d35219f2-8391-40ed-8a7e-ad478592e199",
"Name": "sample string 2",
"Timetables": [
{
"CategoryTypeName": "sample string 1",
"CategoryTypeIdentity": "dc729723-f126-4abe-8022-ae8ced306cb1",
"IsVisible": true
},
{
"CategoryTypeName": "sample string 1",
"CategoryTypeIdentity": "dc729723-f126-4abe-8022-ae8ced306cb1",
"IsVisible": true
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfPermissionGroupTimetable xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model">
<PermissionGroupTimetable>
<Identity>d35219f2-8391-40ed-8a7e-ad478592e199</Identity>
<Name>sample string 2</Name>
<Timetables>
<CategoryTypeTimetableOverrideExtended>
<CategoryTypeIdentity>dc729723-f126-4abe-8022-ae8ced306cb1</CategoryTypeIdentity>
<IsVisible>true</IsVisible>
<CategoryTypeName>sample string 1</CategoryTypeName>
</CategoryTypeTimetableOverrideExtended>
<CategoryTypeTimetableOverrideExtended>
<CategoryTypeIdentity>dc729723-f126-4abe-8022-ae8ced306cb1</CategoryTypeIdentity>
<IsVisible>true</IsVisible>
<CategoryTypeName>sample string 1</CategoryTypeName>
</CategoryTypeTimetableOverrideExtended>
</Timetables>
</PermissionGroupTimetable>
<PermissionGroupTimetable>
<Identity>d35219f2-8391-40ed-8a7e-ad478592e199</Identity>
<Name>sample string 2</Name>
<Timetables>
<CategoryTypeTimetableOverrideExtended>
<CategoryTypeIdentity>dc729723-f126-4abe-8022-ae8ced306cb1</CategoryTypeIdentity>
<IsVisible>true</IsVisible>
<CategoryTypeName>sample string 1</CategoryTypeName>
</CategoryTypeTimetableOverrideExtended>
<CategoryTypeTimetableOverrideExtended>
<CategoryTypeIdentity>dc729723-f126-4abe-8022-ae8ced306cb1</CategoryTypeIdentity>
<IsVisible>true</IsVisible>
<CategoryTypeName>sample string 1</CategoryTypeName>
</CategoryTypeTimetableOverrideExtended>
</Timetables>
</PermissionGroupTimetable>
</ArrayOfPermissionGroupTimetable>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | 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. |