POST api/ConcurrencyGroups
Request Information
URI Parameters
None.
Body Parameters
ConcurrencyGroupName | Description | Type | Additional information |
---|---|---|---|
Description | string |
None. |
|
Resources | Collection of ConcurrencyResourceWithName |
None. |
|
Enabled | boolean |
None. |
|
CheckUnavailabilityPatterns | boolean |
None. |
|
Order | integer |
None. |
|
CanViewCalendar | boolean |
None. |
|
CanEdit | boolean |
None. |
|
CanDelete | boolean |
None. |
|
Identity | globally unique identifier |
None. |
|
Name | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Description": "sample string 1", "Resources": [ { "ResourceName": "sample string 1", "ResourceTypeIdentity": "34c51cc9-25a8-4087-9d1b-eda929fbb8bd", "ResourceIdentity": "4f14cc0c-11da-42d2-ad07-ec44dcb018c7", "IsPrimary": true, "Order": 5 }, { "ResourceName": "sample string 1", "ResourceTypeIdentity": "34c51cc9-25a8-4087-9d1b-eda929fbb8bd", "ResourceIdentity": "4f14cc0c-11da-42d2-ad07-ec44dcb018c7", "IsPrimary": true, "Order": 5 } ], "Enabled": true, "CheckUnavailabilityPatterns": true, "Order": 4, "CanViewCalendar": true, "CanEdit": true, "CanDelete": true, "Identity": "56951b74-02e3-4078-b6a1-99645536e2fc", "Name": "sample string 9" }
application/xml, text/xml
Sample:
<ConcurrencyGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model"> <Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">56951b74-02e3-4078-b6a1-99645536e2fc</Identity> <Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 9</Name> <CanDelete>true</CanDelete> <CanEdit>true</CanEdit> <CanViewCalendar>true</CanViewCalendar> <CheckUnavailabilityPatterns>true</CheckUnavailabilityPatterns> <Description>sample string 1</Description> <Enabled>true</Enabled> <Order>4</Order> <Resources> <ConcurrencyResourceWithName> <IsPrimary>true</IsPrimary> <Order>5</Order> <ResourceIdentity>4f14cc0c-11da-42d2-ad07-ec44dcb018c7</ResourceIdentity> <ResourceTypeIdentity>34c51cc9-25a8-4087-9d1b-eda929fbb8bd</ResourceTypeIdentity> <ResourceName>sample string 1</ResourceName> </ConcurrencyResourceWithName> <ConcurrencyResourceWithName> <IsPrimary>true</IsPrimary> <Order>5</Order> <ResourceIdentity>4f14cc0c-11da-42d2-ad07-ec44dcb018c7</ResourceIdentity> <ResourceTypeIdentity>34c51cc9-25a8-4087-9d1b-eda929fbb8bd</ResourceTypeIdentity> <ResourceName>sample string 1</ResourceName> </ConcurrencyResourceWithName> </Resources> </ConcurrencyGroup>
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. |