GET api/ResourceTypes/ExchangeEnabledResources
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ExchangeResourceName | 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": "e6e68881-92d6-4001-a41d-766cb4802f02", "PrimaryResourceRestrictionIdentity": "bcd233b9-8d09-491c-9fde-84229943cd60" }, { "BookingTypeIdentity": "e6e68881-92d6-4001-a41d-766cb4802f02", "PrimaryResourceRestrictionIdentity": "bcd233b9-8d09-491c-9fde-84229943cd60" } ], "ResourceTypeIdentity": "437fb4fd-eedd-49f2-a136-f0d619ce7a0b", "ResourceTypeName": "sample string 2", "Properties": [ { "Value": {}, "ValueType": "sample string 2", "ValueChoices": [ "sample string 1", "sample string 2" ], "DisplayName": "sample string 3", "ValueChoicesWithId": [ { "Identity": "7dcd259a-c282-48b1-88eb-db2ed421459b", "Name": "sample string 2" }, { "Identity": "7dcd259a-c282-48b1-88eb-db2ed421459b", "Name": "sample string 2" } ], "IsObsolete": true, "RelatedObsoleteProperty": "90cd884d-05fa-4d57-82a4-731d286c9455", "Identity": "3f005d2d-7720-436d-b02c-ed4d22bc736c", "Name": "sample string 7" }, { "Value": {}, "ValueType": "sample string 2", "ValueChoices": [ "sample string 1", "sample string 2" ], "DisplayName": "sample string 3", "ValueChoicesWithId": [ { "Identity": "7dcd259a-c282-48b1-88eb-db2ed421459b", "Name": "sample string 2" }, { "Identity": "7dcd259a-c282-48b1-88eb-db2ed421459b", "Name": "sample string 2" } ], "IsObsolete": true, "RelatedObsoleteProperty": "90cd884d-05fa-4d57-82a4-731d286c9455", "Identity": "3f005d2d-7720-436d-b02c-ed4d22bc736c", "Name": "sample string 7" } ], "Identity": "64fa9dcb-a403-4b30-ac0e-f46db72c3db0", "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">64fa9dcb-a403-4b30-ac0e-f46db72c3db0</Identity> <Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 4</Name> <BookingTypes> <BookingTypeWithPrimaryRestriction> <BookingTypeIdentity>e6e68881-92d6-4001-a41d-766cb4802f02</BookingTypeIdentity> <PrimaryResourceRestrictionIdentity>bcd233b9-8d09-491c-9fde-84229943cd60</PrimaryResourceRestrictionIdentity> </BookingTypeWithPrimaryRestriction> <BookingTypeWithPrimaryRestriction> <BookingTypeIdentity>e6e68881-92d6-4001-a41d-766cb4802f02</BookingTypeIdentity> <PrimaryResourceRestrictionIdentity>bcd233b9-8d09-491c-9fde-84229943cd60</PrimaryResourceRestrictionIdentity> </BookingTypeWithPrimaryRestriction> </BookingTypes> <Properties> <ResourceDatum> <Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">3f005d2d-7720-436d-b02c-ed4d22bc736c</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>90cd884d-05fa-4d57-82a4-731d286c9455</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>7dcd259a-c282-48b1-88eb-db2ed421459b</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> <d4p1:NamedObject> <d4p1:Identity>7dcd259a-c282-48b1-88eb-db2ed421459b</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">3f005d2d-7720-436d-b02c-ed4d22bc736c</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>90cd884d-05fa-4d57-82a4-731d286c9455</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>7dcd259a-c282-48b1-88eb-db2ed421459b</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> <d4p1:NamedObject> <d4p1:Identity>7dcd259a-c282-48b1-88eb-db2ed421459b</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> </ValueChoicesWithId> <ValueType>sample string 2</ValueType> </ResourceDatum> </Properties> <ResourceTypeIdentity>437fb4fd-eedd-49f2-a136-f0d619ce7a0b</ResourceTypeIdentity> <ResourceTypeName>sample string 2</ResourceTypeName> </ExchangeResource>