This API operation returns the Escort Ratebreaks used in AdultWork.com.
GET
/v1/lists/getEscortRateBreaks
Property | Type | Description |
---|---|---|
This operation does not accept any parameters. |
Parameters can be passed to this operation using the HTTP GET method by passing parameters over the query string of the URI.
The REST API uses HTTP request headers to determine what data type is returned or to authenticate the developer's API key. More information can be found in the overview section.
Your API-Key is required with every request and can be passed in as a header or a query-string parameter. Don't have an API-Key? Get one now.
https://api-sandbox.adultwork.com/v1/lists/getEscortRateBreaks
?apiKey={your-api-key}
Property | Type | Description |
---|---|---|
RateBreaks |
aws:RateBreaks | Array of RateBreaks. |
The following example returns the escort ratebreaks used in AdultWork.com.
[
{
"RateBreakID": 7,
"RateBreak": "15 mins",
"Hours": 0.25,
"IsOvernight": false
},
{
"RateBreakID": 1,
"RateBreak": "½ Hour",
"Hours": 0.5,
"IsOvernight": false
},
{
"RateBreakID": 2,
"RateBreak": "1 Hour",
"Hours": 1,
"IsOvernight": false
},
{
"RateBreakID": 8,
"RateBreak": "1½ Hours",
"Hours": 1.5,
"IsOvernight": false
},
{
"RateBreakID": 3,
"RateBreak": "2 Hours",
"Hours": 2,
"IsOvernight": false
},
{
"RateBreakID": 4,
"RateBreak": "3 Hours",
"Hours": 3,
"IsOvernight": false
},
{
"RateBreakID": 5,
"RateBreak": "4 Hours",
"Hours": 4,
"IsOvernight": false
},
{
"RateBreakID": 6,
"RateBreak": "Overnight",
"Hours": 10,
"IsOvernight": true
}
]
<ArrayOfRateBreaks xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.Rates">
<RateBreaks>
<Hours>0.25</Hours>
<IsOvernight>false</IsOvernight>
<RateBreak>15 mins</RateBreak>
<RateBreakID>7</RateBreakID>
</RateBreaks>
<RateBreaks>
<Hours>0.5</Hours>
<IsOvernight>false</IsOvernight>
<RateBreak>½ Hour</RateBreak>
<RateBreakID>1</RateBreakID>
</RateBreaks>
<RateBreaks>
<Hours>1</Hours>
<IsOvernight>false</IsOvernight>
<RateBreak>1 Hour</RateBreak>
<RateBreakID>2</RateBreakID>
</RateBreaks>
<RateBreaks>
<Hours>1.5</Hours>
<IsOvernight>false</IsOvernight>
<RateBreak>1½ Hours</RateBreak>
<RateBreakID>8</RateBreakID>
</RateBreaks>
<RateBreaks>
<Hours>2</Hours>
<IsOvernight>false</IsOvernight>
<RateBreak>2 Hours</RateBreak>
<RateBreakID>3</RateBreakID>
</RateBreaks>
<RateBreaks>
<Hours>3</Hours>
<IsOvernight>false</IsOvernight>
<RateBreak>3 Hours</RateBreak>
<RateBreakID>4</RateBreakID>
</RateBreaks>
<RateBreaks>
<Hours>4</Hours>
<IsOvernight>false</IsOvernight>
<RateBreak>4 Hours</RateBreak>
<RateBreakID>5</RateBreakID>
</RateBreaks>
<RateBreaks>
<Hours>10</Hours>
<IsOvernight>true</IsOvernight>
<RateBreak>Overnight</RateBreak>
<RateBreakID>6</RateBreakID>
</RateBreaks>
</ArrayOfRateBreaks>