POST api/TimetableManager/BulkUpdate
Request Information
URI Parameters
None.
Body Parameters
Collection of PermissionGroupTimetableName | 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": "8856557c-3d40-421a-813a-c925063f012c", "Name": "sample string 2", "Timetables": [ { "CategoryTypeName": "sample string 1", "CategoryTypeIdentity": "7ddeff77-56f9-404d-b060-848b58f25b05", "IsVisible": true }, { "CategoryTypeName": "sample string 1", "CategoryTypeIdentity": "7ddeff77-56f9-404d-b060-848b58f25b05", "IsVisible": true } ] }, { "Identity": "8856557c-3d40-421a-813a-c925063f012c", "Name": "sample string 2", "Timetables": [ { "CategoryTypeName": "sample string 1", "CategoryTypeIdentity": "7ddeff77-56f9-404d-b060-848b58f25b05", "IsVisible": true }, { "CategoryTypeName": "sample string 1", "CategoryTypeIdentity": "7ddeff77-56f9-404d-b060-848b58f25b05", "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>8856557c-3d40-421a-813a-c925063f012c</Identity> <Name>sample string 2</Name> <Timetables> <CategoryTypeTimetableOverrideExtended> <CategoryTypeIdentity>7ddeff77-56f9-404d-b060-848b58f25b05</CategoryTypeIdentity> <IsVisible>true</IsVisible> <CategoryTypeName>sample string 1</CategoryTypeName> </CategoryTypeTimetableOverrideExtended> <CategoryTypeTimetableOverrideExtended> <CategoryTypeIdentity>7ddeff77-56f9-404d-b060-848b58f25b05</CategoryTypeIdentity> <IsVisible>true</IsVisible> <CategoryTypeName>sample string 1</CategoryTypeName> </CategoryTypeTimetableOverrideExtended> </Timetables> </PermissionGroupTimetable> <PermissionGroupTimetable> <Identity>8856557c-3d40-421a-813a-c925063f012c</Identity> <Name>sample string 2</Name> <Timetables> <CategoryTypeTimetableOverrideExtended> <CategoryTypeIdentity>7ddeff77-56f9-404d-b060-848b58f25b05</CategoryTypeIdentity> <IsVisible>true</IsVisible> <CategoryTypeName>sample string 1</CategoryTypeName> </CategoryTypeTimetableOverrideExtended> <CategoryTypeTimetableOverrideExtended> <CategoryTypeIdentity>7ddeff77-56f9-404d-b060-848b58f25b05</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
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. |