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": "26e9278e-3b99-4776-b3b7-36644dbe2409", "Name": "sample string 2", "Timetables": [ { "CategoryTypeName": "sample string 1", "CategoryTypeIdentity": "bc7d1349-7e62-425a-8df5-8dd4bb6a282f", "IsVisible": true }, { "CategoryTypeName": "sample string 1", "CategoryTypeIdentity": "bc7d1349-7e62-425a-8df5-8dd4bb6a282f", "IsVisible": true } ] }, { "Identity": "26e9278e-3b99-4776-b3b7-36644dbe2409", "Name": "sample string 2", "Timetables": [ { "CategoryTypeName": "sample string 1", "CategoryTypeIdentity": "bc7d1349-7e62-425a-8df5-8dd4bb6a282f", "IsVisible": true }, { "CategoryTypeName": "sample string 1", "CategoryTypeIdentity": "bc7d1349-7e62-425a-8df5-8dd4bb6a282f", "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>26e9278e-3b99-4776-b3b7-36644dbe2409</Identity> <Name>sample string 2</Name> <Timetables> <CategoryTypeTimetableOverrideExtended> <CategoryTypeIdentity>bc7d1349-7e62-425a-8df5-8dd4bb6a282f</CategoryTypeIdentity> <IsVisible>true</IsVisible> <CategoryTypeName>sample string 1</CategoryTypeName> </CategoryTypeTimetableOverrideExtended> <CategoryTypeTimetableOverrideExtended> <CategoryTypeIdentity>bc7d1349-7e62-425a-8df5-8dd4bb6a282f</CategoryTypeIdentity> <IsVisible>true</IsVisible> <CategoryTypeName>sample string 1</CategoryTypeName> </CategoryTypeTimetableOverrideExtended> </Timetables> </PermissionGroupTimetable> <PermissionGroupTimetable> <Identity>26e9278e-3b99-4776-b3b7-36644dbe2409</Identity> <Name>sample string 2</Name> <Timetables> <CategoryTypeTimetableOverrideExtended> <CategoryTypeIdentity>bc7d1349-7e62-425a-8df5-8dd4bb6a282f</CategoryTypeIdentity> <IsVisible>true</IsVisible> <CategoryTypeName>sample string 1</CategoryTypeName> </CategoryTypeTimetableOverrideExtended> <CategoryTypeTimetableOverrideExtended> <CategoryTypeIdentity>bc7d1349-7e62-425a-8df5-8dd4bb6a282f</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. |