POST api/availability/available
Request Information
URI Parameters
None.
Body Parameters
AvailableRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerID | decimal number |
Required |
|
| EmployeeID | decimal number |
Required |
|
| Latitude | decimal number |
Required |
|
| Longitude | decimal number |
Required |
|
| Hours | integer |
Required Range: inclusive between 1 and 12 |
|
| Key | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"CustomerID": 1.0,
"EmployeeID": 2.0,
"Latitude": 3.1,
"Longitude": 4.1,
"Hours": 5,
"Key": "sample string 6"
}
application/xml, text/xml
Sample:
<AvailableRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.Availability"> <Key xmlns="http://schemas.datacontract.org/2004/07/API.Models">sample string 6</Key> <CustomerID>1</CustomerID> <EmployeeID>2</EmployeeID> <Hours>5</Hours> <Latitude>3.1</Latitude> <Longitude>4.1</Longitude> </AvailableRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
SuccessResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.