calendar event response
Create calendar event response
Changed onCreate a calendar event response for an attendee of a calendar event, the attendee can be a coach or patient. Calendar event responses cannot be fetched, updated nor deleted. Use calendar event api to fetch the response status for attendees.
post/calendar_event_response
Request
- Base URLhttps://api.twinehealth.com/pub
- Authnone declared
Request body
Example request
{
"data": {
"type": "calendar_event_response",
"attributes": {
"attendee": "5ac7e74679f6868274a42e28",
"response_status": "accepted"
},
"relationships": {
"user": {
"data": {
"type": "user",
"id": "5a0c8e27a9d454cc150997f7"
}
},
"calendar_event": {
"data": {
"type": "calendar_event",
"id": "5755db2a3db4179179999acf"
}
}
}
}
}Response
OK
Example response
{
"data": {
"type": "calendar_event_response",
"attributes": {
"attendee": "5ac7e74679f6868274a42e28",
"response_status": "accepted"
},
"relationships": {
"user": {
"data": {
"type": "user",
"id": "5a0c8e27a9d454cc150997f7"
}
},
"calendar_event": {
"data": {
"type": "calendar_event",
"id": "5755db2a3db4179179999acf"
}
}
}
}
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking