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": "f71a2970-1ae4-4ed0-9356-01c61e57b9d7",
"PrimaryResourceRestrictionIdentity": "b10bb9ca-89be-4bdd-a40a-f8fc5c733d30"
},
{
"BookingTypeIdentity": "f71a2970-1ae4-4ed0-9356-01c61e57b9d7",
"PrimaryResourceRestrictionIdentity": "b10bb9ca-89be-4bdd-a40a-f8fc5c733d30"
}
],
"ResourceTypeIdentity": "decdffb1-68c4-4616-bf48-172c3f22d5e7",
"ResourceTypeName": "sample string 2",
"Properties": [
{
"Value": {},
"ValueType": "sample string 2",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"DisplayName": "sample string 3",
"ValueChoicesWithId": [
{
"Identity": "92153795-9440-4bbd-863f-1c2744709b81",
"Name": "sample string 2"
},
{
"Identity": "92153795-9440-4bbd-863f-1c2744709b81",
"Name": "sample string 2"
}
],
"IsObsolete": true,
"RelatedObsoleteProperty": "2ec7250c-a9c7-4e24-b0f9-f4e851a95c53",
"Identity": "7ff20c3f-14d2-4833-a758-30b5ca9434f4",
"Name": "sample string 7"
},
{
"Value": {},
"ValueType": "sample string 2",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"DisplayName": "sample string 3",
"ValueChoicesWithId": [
{
"Identity": "92153795-9440-4bbd-863f-1c2744709b81",
"Name": "sample string 2"
},
{
"Identity": "92153795-9440-4bbd-863f-1c2744709b81",
"Name": "sample string 2"
}
],
"IsObsolete": true,
"RelatedObsoleteProperty": "2ec7250c-a9c7-4e24-b0f9-f4e851a95c53",
"Identity": "7ff20c3f-14d2-4833-a758-30b5ca9434f4",
"Name": "sample string 7"
}
],
"Identity": "b447a80b-f320-4d69-ab2e-e6e118154bfc",
"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">b447a80b-f320-4d69-ab2e-e6e118154bfc</Identity>
<Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 4</Name>
<BookingTypes>
<BookingTypeWithPrimaryRestriction>
<BookingTypeIdentity>f71a2970-1ae4-4ed0-9356-01c61e57b9d7</BookingTypeIdentity>
<PrimaryResourceRestrictionIdentity>b10bb9ca-89be-4bdd-a40a-f8fc5c733d30</PrimaryResourceRestrictionIdentity>
</BookingTypeWithPrimaryRestriction>
<BookingTypeWithPrimaryRestriction>
<BookingTypeIdentity>f71a2970-1ae4-4ed0-9356-01c61e57b9d7</BookingTypeIdentity>
<PrimaryResourceRestrictionIdentity>b10bb9ca-89be-4bdd-a40a-f8fc5c733d30</PrimaryResourceRestrictionIdentity>
</BookingTypeWithPrimaryRestriction>
</BookingTypes>
<Properties>
<ResourceDatum>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">7ff20c3f-14d2-4833-a758-30b5ca9434f4</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>2ec7250c-a9c7-4e24-b0f9-f4e851a95c53</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>92153795-9440-4bbd-863f-1c2744709b81</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>92153795-9440-4bbd-863f-1c2744709b81</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">7ff20c3f-14d2-4833-a758-30b5ca9434f4</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>2ec7250c-a9c7-4e24-b0f9-f4e851a95c53</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>92153795-9440-4bbd-863f-1c2744709b81</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>92153795-9440-4bbd-863f-1c2744709b81</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
</ValueChoicesWithId>
<ValueType>sample string 2</ValueType>
</ResourceDatum>
</Properties>
<ResourceTypeIdentity>decdffb1-68c4-4616-bf48-172c3f22d5e7</ResourceTypeIdentity>
<ResourceTypeName>sample string 2</ResourceTypeName>
</ExchangeResource>