GET api/BookingPromotion/GetResources
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
BookingPromotionResourcesName | Description | Type | Additional information |
---|---|---|---|
BookingDomainTypes | Collection of BaseKeyPair |
None. |
|
BookingPromotionTypes | Collection of BaseKeyPair |
None. |
|
BookingPromotionDiscountTypes | Collection of BaseKeyPair |
None. |
|
SearchTypes | Collection of BaseKeyPair |
None. |
Response Formats
application/json, text/json
Sample:
{ "bookingDomainTypes": [ { "id": 1, "value": "sample string 2" }, { "id": 1, "value": "sample string 2" } ], "bookingPromotionTypes": [ { "id": 1, "value": "sample string 2" }, { "id": 1, "value": "sample string 2" } ], "bookingPromotionDiscountTypes": [ { "id": 1, "value": "sample string 2" }, { "id": 1, "value": "sample string 2" } ], "searchTypes": [ { "id": 1, "value": "sample string 2" }, { "id": 1, "value": "sample string 2" } ] }
text/html
Sample:
{"bookingDomainTypes":[{"id":1,"value":"sample string 2"},{"id":1,"value":"sample string 2"}],"bookingPromotionTypes":[{"id":1,"value":"sample string 2"},{"id":1,"value":"sample string 2"}],"bookingPromotionDiscountTypes":[{"id":1,"value":"sample string 2"},{"id":1,"value":"sample string 2"}],"searchTypes":[{"id":1,"value":"sample string 2"},{"id":1,"value":"sample string 2"}]}
application/xml, text/xml
Sample:
<BookingPromotionResources xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api"> <BookingDomainTypes xmlns:d2p1="http://schemas.datacontract.org/2004/07/EB.Common.Models"> <d2p1:BaseKeyPair> <d2p1:Id>1</d2p1:Id> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:BaseKeyPair> <d2p1:BaseKeyPair> <d2p1:Id>1</d2p1:Id> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:BaseKeyPair> </BookingDomainTypes> <BookingPromotionDiscountTypes xmlns:d2p1="http://schemas.datacontract.org/2004/07/EB.Common.Models"> <d2p1:BaseKeyPair> <d2p1:Id>1</d2p1:Id> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:BaseKeyPair> <d2p1:BaseKeyPair> <d2p1:Id>1</d2p1:Id> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:BaseKeyPair> </BookingPromotionDiscountTypes> <BookingPromotionTypes xmlns:d2p1="http://schemas.datacontract.org/2004/07/EB.Common.Models"> <d2p1:BaseKeyPair> <d2p1:Id>1</d2p1:Id> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:BaseKeyPair> <d2p1:BaseKeyPair> <d2p1:Id>1</d2p1:Id> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:BaseKeyPair> </BookingPromotionTypes> <SearchTypes xmlns:d2p1="http://schemas.datacontract.org/2004/07/EB.Common.Models"> <d2p1:BaseKeyPair> <d2p1:Id>1</d2p1:Id> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:BaseKeyPair> <d2p1:BaseKeyPair> <d2p1:Id>1</d2p1:Id> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:BaseKeyPair> </SearchTypes> </BookingPromotionResources>