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": "adf7ffdb-78bc-4deb-9261-a06ffd25ddd6",
"PrimaryResourceRestrictionIdentity": "e059e20d-511e-49e8-8f94-1706119fa928"
},
{
"BookingTypeIdentity": "adf7ffdb-78bc-4deb-9261-a06ffd25ddd6",
"PrimaryResourceRestrictionIdentity": "e059e20d-511e-49e8-8f94-1706119fa928"
}
],
"ResourceTypeIdentity": "fc42094d-3eba-4b97-97ce-d132aa4d1589",
"ResourceTypeName": "sample string 2",
"Properties": [
{
"Value": {},
"ValueType": "sample string 2",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"DisplayName": "sample string 3",
"ValueChoicesWithId": [
{
"Identity": "3def7807-9272-4d3c-90c3-c5773ae2791f",
"Name": "sample string 2"
},
{
"Identity": "3def7807-9272-4d3c-90c3-c5773ae2791f",
"Name": "sample string 2"
}
],
"IsObsolete": true,
"RelatedObsoleteProperty": "736bdec9-5e6c-417e-a45e-c54e002ed787",
"Identity": "171c505f-6bc4-4d6c-b58f-39716ff7006a",
"Name": "sample string 7"
},
{
"Value": {},
"ValueType": "sample string 2",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"DisplayName": "sample string 3",
"ValueChoicesWithId": [
{
"Identity": "3def7807-9272-4d3c-90c3-c5773ae2791f",
"Name": "sample string 2"
},
{
"Identity": "3def7807-9272-4d3c-90c3-c5773ae2791f",
"Name": "sample string 2"
}
],
"IsObsolete": true,
"RelatedObsoleteProperty": "736bdec9-5e6c-417e-a45e-c54e002ed787",
"Identity": "171c505f-6bc4-4d6c-b58f-39716ff7006a",
"Name": "sample string 7"
}
],
"Identity": "a74a097d-b60c-4137-99c0-fb46a9fc29f6",
"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">a74a097d-b60c-4137-99c0-fb46a9fc29f6</Identity>
<Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 4</Name>
<BookingTypes>
<BookingTypeWithPrimaryRestriction>
<BookingTypeIdentity>adf7ffdb-78bc-4deb-9261-a06ffd25ddd6</BookingTypeIdentity>
<PrimaryResourceRestrictionIdentity>e059e20d-511e-49e8-8f94-1706119fa928</PrimaryResourceRestrictionIdentity>
</BookingTypeWithPrimaryRestriction>
<BookingTypeWithPrimaryRestriction>
<BookingTypeIdentity>adf7ffdb-78bc-4deb-9261-a06ffd25ddd6</BookingTypeIdentity>
<PrimaryResourceRestrictionIdentity>e059e20d-511e-49e8-8f94-1706119fa928</PrimaryResourceRestrictionIdentity>
</BookingTypeWithPrimaryRestriction>
</BookingTypes>
<Properties>
<ResourceDatum>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">171c505f-6bc4-4d6c-b58f-39716ff7006a</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>736bdec9-5e6c-417e-a45e-c54e002ed787</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>3def7807-9272-4d3c-90c3-c5773ae2791f</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>3def7807-9272-4d3c-90c3-c5773ae2791f</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">171c505f-6bc4-4d6c-b58f-39716ff7006a</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>736bdec9-5e6c-417e-a45e-c54e002ed787</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>3def7807-9272-4d3c-90c3-c5773ae2791f</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>3def7807-9272-4d3c-90c3-c5773ae2791f</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
</ValueChoicesWithId>
<ValueType>sample string 2</ValueType>
</ResourceDatum>
</Properties>
<ResourceTypeIdentity>fc42094d-3eba-4b97-97ce-d132aa4d1589</ResourceTypeIdentity>
<ResourceTypeName>sample string 2</ResourceTypeName>
</ExchangeResource>