GET Trade
Changed on/trades/:id Permission level: 5
get/trade/{id}
Request
- Base URLhttps://www.humanity.com/api/v2
- AuthAPI key in query parameter access_token
Path parameters
idinteger required
with_conflictsboolean required
Response
200
Example response
{
"status": 1,
"data": [
{
"id": "238",
"status": "0",
"user": "5144",
"shift": "94220",
"store": "11",
"reason": "No big reason",
"date": "1339498178",
"confirm_before": "0",
"confirm_after": "0",
"trade_to": "0",
"shift_start_date": {
"id": "1150",
"month": "6",
"day": "22",
"year": "2012",
"weekday": "Fri",
"mname": "Jun",
"week": "25",
"dayid": 6,
"formatted": "Jun 22, 2012"
}
}
]
}Changes
- info
endpoint added
- info