POST api/tradespeople/{id}/availability
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
SetAvailabilityRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CurrentlyAvailable | boolean |
None. |
|
| EmergencyAvailable | boolean |
None. |
|
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"currentlyAvailable": true,
"emergencyAvailable": true,
"latitude": 1.1,
"longitude": 1.1
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.