GET api/rentalGroupsSimple
Gets a list of all rental groups.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
A collection of RentalGroupSimpleViewModel objects.
Collection of Cyberlogic.eTourism.Domain.ViewModels.Rentals.RentalGroupSimpleViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Type | string |
None. |
|
| Supplier | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Type": "sample string 2",
"Supplier": "sample string 3"
},
{
"Id": 1,
"Type": "sample string 2",
"Supplier": "sample string 3"
}
]
text/html
Sample:
[{"Id":1,"Type":"sample string 2","Supplier":"sample string 3"},{"Id":1,"Type":"sample string 2","Supplier":"sample string 3"}]
application/xml, text/xml
Sample:
<ArrayOfRentalGroupSimpleViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Rentals">
<RentalGroupSimpleViewModel>
<Id>1</Id>
<Supplier>sample string 3</Supplier>
<Type>sample string 2</Type>
</RentalGroupSimpleViewModel>
<RentalGroupSimpleViewModel>
<Id>1</Id>
<Supplier>sample string 3</Supplier>
<Type>sample string 2</Type>
</RentalGroupSimpleViewModel>
</ArrayOfRentalGroupSimpleViewModel>