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": "104b6e62-e008-47a4-9883-4174c9b8fb67",
"PrimaryResourceRestrictionIdentity": "9090104b-f9d3-494d-89d2-3161a29b2491"
},
{
"BookingTypeIdentity": "104b6e62-e008-47a4-9883-4174c9b8fb67",
"PrimaryResourceRestrictionIdentity": "9090104b-f9d3-494d-89d2-3161a29b2491"
}
],
"ResourceTypeIdentity": "3d68b67f-5496-4fda-9f88-525c143a3fbb",
"ResourceTypeName": "sample string 2",
"Properties": [
{
"Value": {},
"ValueType": "sample string 2",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"DisplayName": "sample string 3",
"ValueChoicesWithId": [
{
"Identity": "8696d7dd-d3c0-4485-99c0-50f2e2794a8c",
"Name": "sample string 2"
},
{
"Identity": "8696d7dd-d3c0-4485-99c0-50f2e2794a8c",
"Name": "sample string 2"
}
],
"IsObsolete": true,
"RelatedObsoleteProperty": "83e9fa87-e72f-4d4b-9352-0188bcd9edc0",
"Identity": "347def60-d770-43ab-ab65-7729b339fa7f",
"Name": "sample string 7"
},
{
"Value": {},
"ValueType": "sample string 2",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"DisplayName": "sample string 3",
"ValueChoicesWithId": [
{
"Identity": "8696d7dd-d3c0-4485-99c0-50f2e2794a8c",
"Name": "sample string 2"
},
{
"Identity": "8696d7dd-d3c0-4485-99c0-50f2e2794a8c",
"Name": "sample string 2"
}
],
"IsObsolete": true,
"RelatedObsoleteProperty": "83e9fa87-e72f-4d4b-9352-0188bcd9edc0",
"Identity": "347def60-d770-43ab-ab65-7729b339fa7f",
"Name": "sample string 7"
}
],
"Identity": "dd82568f-5032-44b9-803a-132b13f08f99",
"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">dd82568f-5032-44b9-803a-132b13f08f99</Identity>
<Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 4</Name>
<BookingTypes>
<BookingTypeWithPrimaryRestriction>
<BookingTypeIdentity>104b6e62-e008-47a4-9883-4174c9b8fb67</BookingTypeIdentity>
<PrimaryResourceRestrictionIdentity>9090104b-f9d3-494d-89d2-3161a29b2491</PrimaryResourceRestrictionIdentity>
</BookingTypeWithPrimaryRestriction>
<BookingTypeWithPrimaryRestriction>
<BookingTypeIdentity>104b6e62-e008-47a4-9883-4174c9b8fb67</BookingTypeIdentity>
<PrimaryResourceRestrictionIdentity>9090104b-f9d3-494d-89d2-3161a29b2491</PrimaryResourceRestrictionIdentity>
</BookingTypeWithPrimaryRestriction>
</BookingTypes>
<Properties>
<ResourceDatum>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">347def60-d770-43ab-ab65-7729b339fa7f</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>83e9fa87-e72f-4d4b-9352-0188bcd9edc0</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>8696d7dd-d3c0-4485-99c0-50f2e2794a8c</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>8696d7dd-d3c0-4485-99c0-50f2e2794a8c</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">347def60-d770-43ab-ab65-7729b339fa7f</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>83e9fa87-e72f-4d4b-9352-0188bcd9edc0</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>8696d7dd-d3c0-4485-99c0-50f2e2794a8c</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>8696d7dd-d3c0-4485-99c0-50f2e2794a8c</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
</ValueChoicesWithId>
<ValueType>sample string 2</ValueType>
</ResourceDatum>
</Properties>
<ResourceTypeIdentity>3d68b67f-5496-4fda-9f88-525c143a3fbb</ResourceTypeIdentity>
<ResourceTypeName>sample string 2</ResourceTypeName>
</ExchangeResource>