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": "90e487c7-3315-4fd4-8654-63b51f74345e",
"PrimaryResourceRestrictionIdentity": "8b187566-d78f-4046-b982-abeaee9ca759"
},
{
"BookingTypeIdentity": "90e487c7-3315-4fd4-8654-63b51f74345e",
"PrimaryResourceRestrictionIdentity": "8b187566-d78f-4046-b982-abeaee9ca759"
}
],
"ResourceTypeIdentity": "4009c930-9e8c-414c-ac3e-d9ea09014375",
"ResourceTypeName": "sample string 2",
"Properties": [
{
"Value": {},
"ValueType": "sample string 2",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"DisplayName": "sample string 3",
"ValueChoicesWithId": [
{
"Identity": "fcb12aef-c9ff-4228-85ab-f09cc5312880",
"Name": "sample string 2"
},
{
"Identity": "fcb12aef-c9ff-4228-85ab-f09cc5312880",
"Name": "sample string 2"
}
],
"IsObsolete": true,
"RelatedObsoleteProperty": "4c4edc22-153a-4664-8b7f-8a16f6fe2dfe",
"Identity": "3bfd3fe9-a2e1-41fc-9e82-7ad61c92de47",
"Name": "sample string 7"
},
{
"Value": {},
"ValueType": "sample string 2",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"DisplayName": "sample string 3",
"ValueChoicesWithId": [
{
"Identity": "fcb12aef-c9ff-4228-85ab-f09cc5312880",
"Name": "sample string 2"
},
{
"Identity": "fcb12aef-c9ff-4228-85ab-f09cc5312880",
"Name": "sample string 2"
}
],
"IsObsolete": true,
"RelatedObsoleteProperty": "4c4edc22-153a-4664-8b7f-8a16f6fe2dfe",
"Identity": "3bfd3fe9-a2e1-41fc-9e82-7ad61c92de47",
"Name": "sample string 7"
}
],
"Identity": "84fa375e-50cf-4ba7-9f8c-165c70c0eef5",
"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">84fa375e-50cf-4ba7-9f8c-165c70c0eef5</Identity>
<Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 4</Name>
<BookingTypes>
<BookingTypeWithPrimaryRestriction>
<BookingTypeIdentity>90e487c7-3315-4fd4-8654-63b51f74345e</BookingTypeIdentity>
<PrimaryResourceRestrictionIdentity>8b187566-d78f-4046-b982-abeaee9ca759</PrimaryResourceRestrictionIdentity>
</BookingTypeWithPrimaryRestriction>
<BookingTypeWithPrimaryRestriction>
<BookingTypeIdentity>90e487c7-3315-4fd4-8654-63b51f74345e</BookingTypeIdentity>
<PrimaryResourceRestrictionIdentity>8b187566-d78f-4046-b982-abeaee9ca759</PrimaryResourceRestrictionIdentity>
</BookingTypeWithPrimaryRestriction>
</BookingTypes>
<Properties>
<ResourceDatum>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">3bfd3fe9-a2e1-41fc-9e82-7ad61c92de47</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>4c4edc22-153a-4664-8b7f-8a16f6fe2dfe</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>fcb12aef-c9ff-4228-85ab-f09cc5312880</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>fcb12aef-c9ff-4228-85ab-f09cc5312880</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">3bfd3fe9-a2e1-41fc-9e82-7ad61c92de47</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>4c4edc22-153a-4664-8b7f-8a16f6fe2dfe</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>fcb12aef-c9ff-4228-85ab-f09cc5312880</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>fcb12aef-c9ff-4228-85ab-f09cc5312880</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
</ValueChoicesWithId>
<ValueType>sample string 2</ValueType>
</ResourceDatum>
</Properties>
<ResourceTypeIdentity>4009c930-9e8c-414c-ac3e-d9ea09014375</ResourceTypeIdentity>
<ResourceTypeName>sample string 2</ResourceTypeName>
</ExchangeResource>