-
- Translation help networkKudoZOther terminology resourcesLearn more: About terminology at ProZ.com
-
-
PUT: /availability/:uuid/:dateSet information about a user's availability to take on new work on a given day. Required authorization scope
When using OAuth2 access tokens, the Parameters
Query parameters:
{
"date": "2016-05-23",
"availability": 100
}
Send the JSON representation of a day availability object in the request body.
Only the Example request
curl --request PUT \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer OAUTH2_ACCESS_TOKEN' \
-d '{
"date": "2016-05-23",
"availability": 100
}' \
https://api.proz.com/v2/availability/32a9a4d0-cb6e-463f-a0ab-63d0a0418bc7/2016-05-23
Response
On success, a
{
"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
}
}
|