POST api/tradespeople/{id}/availability

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

SetAvailabilityRequest
NameDescriptionTypeAdditional 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

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.