ProZ.com global directory of translation services
The translation workplace
Ideas

GET: /availability/:uuid/:date

Get information about a user's availability to take on new work on a given day.

Parameters

Query parameters:
  • :uuid: (uuid) The UUID of the user to get availability for. Use the special value me to refer to the currently authenticated user.
  • :date: (date) The date for which to check availability.

Example request

curl -H "Authorization: Bearer {OAUTH2_ACCESS_TOKEN}" https://api.proz.com/v2/availability/32a9a4d0-cb6e-463f-a0ab-63d0a0418bc7/2016-05-23

Response

Returns a day availability object. If availability has not been set for the given day, an object will still be returned with availability set to null.

{
  "day_availability":   {
    "self_link": "https://api.proz.com/v2/availability/32a9a4d0-cb6e-463f-a0ab-63d0a0418bc7/2016-05-23",
    "user": "https://api.proz.com/v2/users/32a9a4d0-cb6e-463f-a0ab-63d0a0418bc7",
    "date": "2016-05-23",
    "availability": 75
  }
}