POST api/ConcurrencyConfigurations

Request Information

URI Parameters

None.

Body Parameters

ConcurrencyConfiguration
NameDescriptionTypeAdditional 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": "ecaa2794-34f9-4956-bafe-db0b68e340e5",
          "ResourceIdentity": "ba0ca59f-8bc2-48d4-bf9c-99bc8552d24e",
          "IsPrimary": true,
          "Order": 5
        },
        {
          "ResourceName": "sample string 1",
          "ResourceTypeIdentity": "ecaa2794-34f9-4956-bafe-db0b68e340e5",
          "ResourceIdentity": "ba0ca59f-8bc2-48d4-bf9c-99bc8552d24e",
          "IsPrimary": true,
          "Order": 5
        }
      ],
      "Identity": "ebc24a56-4406-4f80-93a6-16c3780d1ba1",
      "Name": "sample string 3"
    },
    {
      "Order": 1,
      "Resources": [
        {
          "ResourceName": "sample string 1",
          "ResourceTypeIdentity": "ecaa2794-34f9-4956-bafe-db0b68e340e5",
          "ResourceIdentity": "ba0ca59f-8bc2-48d4-bf9c-99bc8552d24e",
          "IsPrimary": true,
          "Order": 5
        },
        {
          "ResourceName": "sample string 1",
          "ResourceTypeIdentity": "ecaa2794-34f9-4956-bafe-db0b68e340e5",
          "ResourceIdentity": "ba0ca59f-8bc2-48d4-bf9c-99bc8552d24e",
          "IsPrimary": true,
          "Order": 5
        }
      ],
      "Identity": "ebc24a56-4406-4f80-93a6-16c3780d1ba1",
      "Name": "sample string 3"
    }
  ],
  "CanViewCalendar": true,
  "CanEdit": true,
  "CanDelete": true,
  "Identity": "5d5713fc-9a70-42eb-b411-f667f1132f9d",
  "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">5d5713fc-9a70-42eb-b411-f667f1132f9d</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">ebc24a56-4406-4f80-93a6-16c3780d1ba1</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>ba0ca59f-8bc2-48d4-bf9c-99bc8552d24e</ResourceIdentity>
          <ResourceTypeIdentity>ecaa2794-34f9-4956-bafe-db0b68e340e5</ResourceTypeIdentity>
          <ResourceName>sample string 1</ResourceName>
        </ConcurrencyResourceWithName>
        <ConcurrencyResourceWithName>
          <IsPrimary>true</IsPrimary>
          <Order>5</Order>
          <ResourceIdentity>ba0ca59f-8bc2-48d4-bf9c-99bc8552d24e</ResourceIdentity>
          <ResourceTypeIdentity>ecaa2794-34f9-4956-bafe-db0b68e340e5</ResourceTypeIdentity>
          <ResourceName>sample string 1</ResourceName>
        </ConcurrencyResourceWithName>
      </Resources>
    </ConfigurationConcurrencyGroup>
    <ConfigurationConcurrencyGroup>
      <Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">ebc24a56-4406-4f80-93a6-16c3780d1ba1</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>ba0ca59f-8bc2-48d4-bf9c-99bc8552d24e</ResourceIdentity>
          <ResourceTypeIdentity>ecaa2794-34f9-4956-bafe-db0b68e340e5</ResourceTypeIdentity>
          <ResourceName>sample string 1</ResourceName>
        </ConcurrencyResourceWithName>
        <ConcurrencyResourceWithName>
          <IsPrimary>true</IsPrimary>
          <Order>5</Order>
          <ResourceIdentity>ba0ca59f-8bc2-48d4-bf9c-99bc8552d24e</ResourceIdentity>
          <ResourceTypeIdentity>ecaa2794-34f9-4956-bafe-db0b68e340e5</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

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.