POST api/ConcurrencyConfigurations
Request Information
URI Parameters
None.
Body Parameters
ConcurrencyConfigurationName | Description | Type | Additional information |
---|---|---|---|
Description | string |
None. |
|
ConcurrencyGroupMembers | Collection of ConfigurationConcurrencyGroup |
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", "ConcurrencyGroupMembers": [ { "Order": 1, "Resources": [ { "ResourceName": "sample string 1", "ResourceTypeIdentity": "835b32c8-2a45-4a53-aefb-c31729cc4b21", "ResourceIdentity": "787f294c-58ff-48f6-a360-94601dc068ef", "IsPrimary": true, "Order": 5 }, { "ResourceName": "sample string 1", "ResourceTypeIdentity": "835b32c8-2a45-4a53-aefb-c31729cc4b21", "ResourceIdentity": "787f294c-58ff-48f6-a360-94601dc068ef", "IsPrimary": true, "Order": 5 } ], "Identity": "8da3b15a-bc46-4c1f-b1aa-e2fdb69de11f", "Name": "sample string 3" }, { "Order": 1, "Resources": [ { "ResourceName": "sample string 1", "ResourceTypeIdentity": "835b32c8-2a45-4a53-aefb-c31729cc4b21", "ResourceIdentity": "787f294c-58ff-48f6-a360-94601dc068ef", "IsPrimary": true, "Order": 5 }, { "ResourceName": "sample string 1", "ResourceTypeIdentity": "835b32c8-2a45-4a53-aefb-c31729cc4b21", "ResourceIdentity": "787f294c-58ff-48f6-a360-94601dc068ef", "IsPrimary": true, "Order": 5 } ], "Identity": "8da3b15a-bc46-4c1f-b1aa-e2fdb69de11f", "Name": "sample string 3" } ], "CanViewCalendar": true, "CanEdit": true, "CanDelete": true, "Identity": "35d4e9f7-5ae6-4abc-8f1c-691e8c849168", "Name": "sample string 6" }
application/xml, text/xml
Sample:
<ConcurrencyConfiguration 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">35d4e9f7-5ae6-4abc-8f1c-691e8c849168</Identity> <Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 6</Name> <CanDelete>true</CanDelete> <CanEdit>true</CanEdit> <CanViewCalendar>true</CanViewCalendar> <ConcurrencyGroupMembers> <ConfigurationConcurrencyGroup> <Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">8da3b15a-bc46-4c1f-b1aa-e2fdb69de11f</Identity> <Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 3</Name> <Order>1</Order> <Resources> <ConcurrencyResourceWithName> <IsPrimary>true</IsPrimary> <Order>5</Order> <ResourceIdentity>787f294c-58ff-48f6-a360-94601dc068ef</ResourceIdentity> <ResourceTypeIdentity>835b32c8-2a45-4a53-aefb-c31729cc4b21</ResourceTypeIdentity> <ResourceName>sample string 1</ResourceName> </ConcurrencyResourceWithName> <ConcurrencyResourceWithName> <IsPrimary>true</IsPrimary> <Order>5</Order> <ResourceIdentity>787f294c-58ff-48f6-a360-94601dc068ef</ResourceIdentity> <ResourceTypeIdentity>835b32c8-2a45-4a53-aefb-c31729cc4b21</ResourceTypeIdentity> <ResourceName>sample string 1</ResourceName> </ConcurrencyResourceWithName> </Resources> </ConfigurationConcurrencyGroup> <ConfigurationConcurrencyGroup> <Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">8da3b15a-bc46-4c1f-b1aa-e2fdb69de11f</Identity> <Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 3</Name> <Order>1</Order> <Resources> <ConcurrencyResourceWithName> <IsPrimary>true</IsPrimary> <Order>5</Order> <ResourceIdentity>787f294c-58ff-48f6-a360-94601dc068ef</ResourceIdentity> <ResourceTypeIdentity>835b32c8-2a45-4a53-aefb-c31729cc4b21</ResourceTypeIdentity> <ResourceName>sample string 1</ResourceName> </ConcurrencyResourceWithName> <ConcurrencyResourceWithName> <IsPrimary>true</IsPrimary> <Order>5</Order> <ResourceIdentity>787f294c-58ff-48f6-a360-94601dc068ef</ResourceIdentity> <ResourceTypeIdentity>835b32c8-2a45-4a53-aefb-c31729cc4b21</ResourceTypeIdentity> <ResourceName>sample string 1</ResourceName> </ConcurrencyResourceWithName> </Resources> </ConfigurationConcurrencyGroup> </ConcurrencyGroupMembers> <Description>sample string 1</Description> </ConcurrencyConfiguration>
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. |