GET api/ResourceTypes/ExchangeEnabledResources
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ExchangeResource| Name | Description | Type | Additional information |
|---|---|---|---|
| BookingTypes | Collection of BookingTypeWithPrimaryRestriction |
None. |
|
| ResourceTypeIdentity | globally unique identifier |
None. |
|
| ResourceTypeName | string |
None. |
|
| Properties | Collection of ResourceDatum |
None. |
|
| Identity | globally unique identifier |
None. |
|
| Name | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"BookingTypes": [
{
"BookingTypeIdentity": "f653d17a-8ff2-495c-bfbb-0e7829cbd397",
"PrimaryResourceRestrictionIdentity": "5974c2d3-b26f-4aa7-8200-60596405fc15"
},
{
"BookingTypeIdentity": "f653d17a-8ff2-495c-bfbb-0e7829cbd397",
"PrimaryResourceRestrictionIdentity": "5974c2d3-b26f-4aa7-8200-60596405fc15"
}
],
"ResourceTypeIdentity": "20003142-2b46-4987-906b-4b8e26c0c14a",
"ResourceTypeName": "sample string 2",
"Properties": [
{
"Value": {},
"ValueType": "sample string 2",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"DisplayName": "sample string 3",
"ValueChoicesWithId": [
{
"Identity": "3f300a33-e073-40a4-9d63-eea4e36f15d8",
"Name": "sample string 2"
},
{
"Identity": "3f300a33-e073-40a4-9d63-eea4e36f15d8",
"Name": "sample string 2"
}
],
"IsObsolete": true,
"RelatedObsoleteProperty": "248257a7-e0af-4499-921a-811a47dffc31",
"Identity": "c4513fbd-be8d-4108-b74c-c2955e40d772",
"Name": "sample string 7"
},
{
"Value": {},
"ValueType": "sample string 2",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"DisplayName": "sample string 3",
"ValueChoicesWithId": [
{
"Identity": "3f300a33-e073-40a4-9d63-eea4e36f15d8",
"Name": "sample string 2"
},
{
"Identity": "3f300a33-e073-40a4-9d63-eea4e36f15d8",
"Name": "sample string 2"
}
],
"IsObsolete": true,
"RelatedObsoleteProperty": "248257a7-e0af-4499-921a-811a47dffc31",
"Identity": "c4513fbd-be8d-4108-b74c-c2955e40d772",
"Name": "sample string 7"
}
],
"Identity": "d68c371a-b259-42e8-a985-b31d26b523f4",
"Name": "sample string 4"
}
application/xml, text/xml
Sample:
<ExchangeResource 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">d68c371a-b259-42e8-a985-b31d26b523f4</Identity>
<Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 4</Name>
<BookingTypes>
<BookingTypeWithPrimaryRestriction>
<BookingTypeIdentity>f653d17a-8ff2-495c-bfbb-0e7829cbd397</BookingTypeIdentity>
<PrimaryResourceRestrictionIdentity>5974c2d3-b26f-4aa7-8200-60596405fc15</PrimaryResourceRestrictionIdentity>
</BookingTypeWithPrimaryRestriction>
<BookingTypeWithPrimaryRestriction>
<BookingTypeIdentity>f653d17a-8ff2-495c-bfbb-0e7829cbd397</BookingTypeIdentity>
<PrimaryResourceRestrictionIdentity>5974c2d3-b26f-4aa7-8200-60596405fc15</PrimaryResourceRestrictionIdentity>
</BookingTypeWithPrimaryRestriction>
</BookingTypes>
<Properties>
<ResourceDatum>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">c4513fbd-be8d-4108-b74c-c2955e40d772</Identity>
<Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 7</Name>
<DisplayName>sample string 3</DisplayName>
<IsObsolete>true</IsObsolete>
<RelatedObsoleteProperty>248257a7-e0af-4499-921a-811a47dffc31</RelatedObsoleteProperty>
<Value />
<ValueChoices xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>sample string 1</d4p1:string>
<d4p1:string>sample string 2</d4p1:string>
</ValueChoices>
<ValueChoicesWithId xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d4p1:NamedObject>
<d4p1:Identity>3f300a33-e073-40a4-9d63-eea4e36f15d8</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>3f300a33-e073-40a4-9d63-eea4e36f15d8</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
</ValueChoicesWithId>
<ValueType>sample string 2</ValueType>
</ResourceDatum>
<ResourceDatum>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">c4513fbd-be8d-4108-b74c-c2955e40d772</Identity>
<Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 7</Name>
<DisplayName>sample string 3</DisplayName>
<IsObsolete>true</IsObsolete>
<RelatedObsoleteProperty>248257a7-e0af-4499-921a-811a47dffc31</RelatedObsoleteProperty>
<Value />
<ValueChoices xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>sample string 1</d4p1:string>
<d4p1:string>sample string 2</d4p1:string>
</ValueChoices>
<ValueChoicesWithId xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d4p1:NamedObject>
<d4p1:Identity>3f300a33-e073-40a4-9d63-eea4e36f15d8</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>3f300a33-e073-40a4-9d63-eea4e36f15d8</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
</ValueChoicesWithId>
<ValueType>sample string 2</ValueType>
</ResourceDatum>
</Properties>
<ResourceTypeIdentity>20003142-2b46-4987-906b-4b8e26c0c14a</ResourceTypeIdentity>
<ResourceTypeName>sample string 2</ResourceTypeName>
</ExchangeResource>