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": "ed805b77-d45c-458a-bcfd-acdefbe5d3ac",
"PrimaryResourceRestrictionIdentity": "24f167cc-6b43-4cf9-bcbc-702d3658e75b"
},
{
"BookingTypeIdentity": "ed805b77-d45c-458a-bcfd-acdefbe5d3ac",
"PrimaryResourceRestrictionIdentity": "24f167cc-6b43-4cf9-bcbc-702d3658e75b"
}
],
"ResourceTypeIdentity": "9b10e843-7f1b-4497-a4e0-b8afbeb73b9e",
"ResourceTypeName": "sample string 2",
"Properties": [
{
"Value": {},
"ValueType": "sample string 2",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"DisplayName": "sample string 3",
"ValueChoicesWithId": [
{
"Identity": "853638a2-2421-4203-bd12-ecbf0dc8b15e",
"Name": "sample string 2"
},
{
"Identity": "853638a2-2421-4203-bd12-ecbf0dc8b15e",
"Name": "sample string 2"
}
],
"IsObsolete": true,
"RelatedObsoleteProperty": "0dfec3be-0e8f-419e-a38a-e46b46391675",
"Identity": "7486bfcc-2a1f-44b3-894b-adcbb893e01e",
"Name": "sample string 7"
},
{
"Value": {},
"ValueType": "sample string 2",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"DisplayName": "sample string 3",
"ValueChoicesWithId": [
{
"Identity": "853638a2-2421-4203-bd12-ecbf0dc8b15e",
"Name": "sample string 2"
},
{
"Identity": "853638a2-2421-4203-bd12-ecbf0dc8b15e",
"Name": "sample string 2"
}
],
"IsObsolete": true,
"RelatedObsoleteProperty": "0dfec3be-0e8f-419e-a38a-e46b46391675",
"Identity": "7486bfcc-2a1f-44b3-894b-adcbb893e01e",
"Name": "sample string 7"
}
],
"Identity": "0a1cd921-b485-4152-8893-e117350041a1",
"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">0a1cd921-b485-4152-8893-e117350041a1</Identity>
<Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 4</Name>
<BookingTypes>
<BookingTypeWithPrimaryRestriction>
<BookingTypeIdentity>ed805b77-d45c-458a-bcfd-acdefbe5d3ac</BookingTypeIdentity>
<PrimaryResourceRestrictionIdentity>24f167cc-6b43-4cf9-bcbc-702d3658e75b</PrimaryResourceRestrictionIdentity>
</BookingTypeWithPrimaryRestriction>
<BookingTypeWithPrimaryRestriction>
<BookingTypeIdentity>ed805b77-d45c-458a-bcfd-acdefbe5d3ac</BookingTypeIdentity>
<PrimaryResourceRestrictionIdentity>24f167cc-6b43-4cf9-bcbc-702d3658e75b</PrimaryResourceRestrictionIdentity>
</BookingTypeWithPrimaryRestriction>
</BookingTypes>
<Properties>
<ResourceDatum>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">7486bfcc-2a1f-44b3-894b-adcbb893e01e</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>0dfec3be-0e8f-419e-a38a-e46b46391675</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>853638a2-2421-4203-bd12-ecbf0dc8b15e</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>853638a2-2421-4203-bd12-ecbf0dc8b15e</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">7486bfcc-2a1f-44b3-894b-adcbb893e01e</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>0dfec3be-0e8f-419e-a38a-e46b46391675</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>853638a2-2421-4203-bd12-ecbf0dc8b15e</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>853638a2-2421-4203-bd12-ecbf0dc8b15e</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
</ValueChoicesWithId>
<ValueType>sample string 2</ValueType>
</ResourceDatum>
</Properties>
<ResourceTypeIdentity>9b10e843-7f1b-4497-a4e0-b8afbeb73b9e</ResourceTypeIdentity>
<ResourceTypeName>sample string 2</ResourceTypeName>
</ExchangeResource>