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": "39076bbb-7ce1-4fb6-b9a7-54d15fff407e",
"PrimaryResourceRestrictionIdentity": "7d0c3d9d-aff4-478d-8d37-c7ca3fe985ec"
},
{
"BookingTypeIdentity": "39076bbb-7ce1-4fb6-b9a7-54d15fff407e",
"PrimaryResourceRestrictionIdentity": "7d0c3d9d-aff4-478d-8d37-c7ca3fe985ec"
}
],
"ResourceTypeIdentity": "e4df32e7-1e0b-422c-b0b1-f122bb9575ed",
"ResourceTypeName": "sample string 2",
"Properties": [
{
"Value": {},
"ValueType": "sample string 2",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"DisplayName": "sample string 3",
"ValueChoicesWithId": [
{
"Identity": "0455e385-6292-4396-9b95-868322dfecee",
"Name": "sample string 2"
},
{
"Identity": "0455e385-6292-4396-9b95-868322dfecee",
"Name": "sample string 2"
}
],
"IsObsolete": true,
"RelatedObsoleteProperty": "07a7e5f2-b5bb-4411-84f0-425e76667a34",
"Identity": "9b3f4fa0-dae1-4020-9347-cb1dbf54e5ff",
"Name": "sample string 7"
},
{
"Value": {},
"ValueType": "sample string 2",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"DisplayName": "sample string 3",
"ValueChoicesWithId": [
{
"Identity": "0455e385-6292-4396-9b95-868322dfecee",
"Name": "sample string 2"
},
{
"Identity": "0455e385-6292-4396-9b95-868322dfecee",
"Name": "sample string 2"
}
],
"IsObsolete": true,
"RelatedObsoleteProperty": "07a7e5f2-b5bb-4411-84f0-425e76667a34",
"Identity": "9b3f4fa0-dae1-4020-9347-cb1dbf54e5ff",
"Name": "sample string 7"
}
],
"Identity": "7c728296-2705-4532-88da-044204e1db53",
"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">7c728296-2705-4532-88da-044204e1db53</Identity>
<Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 4</Name>
<BookingTypes>
<BookingTypeWithPrimaryRestriction>
<BookingTypeIdentity>39076bbb-7ce1-4fb6-b9a7-54d15fff407e</BookingTypeIdentity>
<PrimaryResourceRestrictionIdentity>7d0c3d9d-aff4-478d-8d37-c7ca3fe985ec</PrimaryResourceRestrictionIdentity>
</BookingTypeWithPrimaryRestriction>
<BookingTypeWithPrimaryRestriction>
<BookingTypeIdentity>39076bbb-7ce1-4fb6-b9a7-54d15fff407e</BookingTypeIdentity>
<PrimaryResourceRestrictionIdentity>7d0c3d9d-aff4-478d-8d37-c7ca3fe985ec</PrimaryResourceRestrictionIdentity>
</BookingTypeWithPrimaryRestriction>
</BookingTypes>
<Properties>
<ResourceDatum>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">9b3f4fa0-dae1-4020-9347-cb1dbf54e5ff</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>07a7e5f2-b5bb-4411-84f0-425e76667a34</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>0455e385-6292-4396-9b95-868322dfecee</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>0455e385-6292-4396-9b95-868322dfecee</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">9b3f4fa0-dae1-4020-9347-cb1dbf54e5ff</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>07a7e5f2-b5bb-4411-84f0-425e76667a34</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>0455e385-6292-4396-9b95-868322dfecee</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>0455e385-6292-4396-9b95-868322dfecee</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
</ValueChoicesWithId>
<ValueType>sample string 2</ValueType>
</ResourceDatum>
</Properties>
<ResourceTypeIdentity>e4df32e7-1e0b-422c-b0b1-f122bb9575ed</ResourceTypeIdentity>
<ResourceTypeName>sample string 2</ResourceTypeName>
</ExchangeResource>