GET api/RequestHourly/GetPriceRangesList
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of PriceRangeDto| Name | Description | Type | Additional information |
|---|---|---|---|
| name | string |
None. |
|
| priceTypeEnum | PriceTypeEnum |
None. |
|
| priceTypeName | string |
None. |
|
| minValue | decimal number |
None. |
|
| maxValue | decimal number |
None. |
|
| key | integer |
None. |
|
| id | integer |
None. |
|
| isNew | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"name": "sample string 1",
"priceTypeEnum": 1,
"priceTypeName": "sample string 2",
"minValue": 3.0,
"maxValue": 4.0,
"key": 5,
"id": 5,
"isNew": true
},
{
"name": "sample string 1",
"priceTypeEnum": 1,
"priceTypeName": "sample string 2",
"minValue": 3.0,
"maxValue": 4.0,
"key": 5,
"id": 5,
"isNew": true
}
]
application/xml, text/xml
Sample:
<ArrayOfPriceRangeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OffDriver.Webapi.Models.Price">
<PriceRangeDto>
<isNew xmlns="http://schemas.datacontract.org/2004/07/Zenite.Pi.Web.Models">true</isNew>
<key xmlns="http://schemas.datacontract.org/2004/07/Zenite.Pi.Web.Models">5</key>
<maxValue>4</maxValue>
<minValue>3</minValue>
<name>sample string 1</name>
<priceTypeEnum>Hourly</priceTypeEnum>
<priceTypeName>sample string 2</priceTypeName>
</PriceRangeDto>
<PriceRangeDto>
<isNew xmlns="http://schemas.datacontract.org/2004/07/Zenite.Pi.Web.Models">true</isNew>
<key xmlns="http://schemas.datacontract.org/2004/07/Zenite.Pi.Web.Models">5</key>
<maxValue>4</maxValue>
<minValue>3</minValue>
<name>sample string 1</name>
<priceTypeEnum>Hourly</priceTypeEnum>
<priceTypeName>sample string 2</priceTypeName>
</PriceRangeDto>
</ArrayOfPriceRangeDto>