API by router
Jobs shifts
GET
instance_id*Instance IdFormat
uuidcustomer_id*Customer IdFormat
uuidstatus?string|nullsite?string|nulllimit?LimitRange
1 <= value <= 500Default
100offset?OffsetRange
0 <= valueDefault
0Successful Response
application/json- response
has_more*Has Moreitems*array<unknown>limit*Limitoffset*Offsettotal*Totalcurl -X GET 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/jobs?customer_id=497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
{ "has_more": true, "items": [ null ], "limit": 0, "offset": 0, "total": 0}POST
instance_id*Instance IdFormat
uuidapplication/json- body
client_name?|nullcustomer_id*Customer IdFormat
uuiddescription?string|nulljob_ref?|nullnotes?string|nullrequirements?|nullscheduled_date?|nullsite?|nulltitle*TitleLength
length <= 500work_type?|nullSuccessful Response
application/json- response
client_name?string|nullcompleted_date?|nullcreated_at*Created AtFormat
date-timecustomer_id*Customer IdFormat
uuidid*IdFormat
uuidjob_ref?string|nullrequirements?|nullscheduled_date?|nullsite?string|nullstatus*Statustitle*Titleupdated_at*Updated AtFormat
date-timework_type?string|nullcurl -X POST 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/jobs' \ -H 'Content-Type: application/json' \ -d '{ "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "title": "string"}'Example Response
{ "client_name": "string", "completed_date": "2019-08-24", "created_at": "2019-08-24T14:15:22Z", "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "job_ref": "string", "requirements": {}, "scheduled_date": "2019-08-24", "site": "string", "status": "string", "title": "string", "updated_at": "2019-08-24T14:15:22Z", "work_type": "string"}PATCH
instance_id*Instance IdFormat
uuidjob_id*Job IdFormat
uuidapplication/json- body
client_name?|nulldescription?string|nullnotes?string|nullrequirements?|nullsite?|nullstatus?string|nulltitle?|nullwork_type?|nullSuccessful Response
application/json- response
client_name?string|nullcompleted_date?|nullcreated_at*Created AtFormat
date-timecustomer_id*Customer IdFormat
uuidid*IdFormat
uuidjob_ref?string|nullrequirements?|nullscheduled_date?|nullsite?string|nullstatus*Statustitle*Titleupdated_at*Updated AtFormat
date-timework_type?string|nullcurl -X PATCH 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/jobs/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "client_name": "string", "completed_date": "2019-08-24", "created_at": "2019-08-24T14:15:22Z", "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "job_ref": "string", "requirements": {}, "scheduled_date": "2019-08-24", "site": "string", "status": "string", "title": "string", "updated_at": "2019-08-24T14:15:22Z", "work_type": "string"}GET
instance_id*Instance IdFormat
uuidcustomer_id*Customer IdFormat
uuidstatus?string|nulldate_from?|nulldate_to?|nulllimit?LimitRange
1 <= value <= 500Default
100offset?OffsetRange
0 <= valueDefault
0Successful Response
application/json- response
has_more*Has Moreitems*array<unknown>limit*Limitoffset*Offsettotal*Totalcurl -X GET 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/shifts?customer_id=497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
{ "has_more": true, "items": [ null ], "limit": 0, "offset": 0, "total": 0}POST
instance_id*Instance IdFormat
uuidapplication/json- body
customer_id*Customer IdFormat
uuiddate*DateFormat
dateend_time*End TimeFormat
timeheadcount?HeadcountRange
1 <= valueDefault
1job_id?|nullrate_per_hour?number|nullrequirements?|nullsite?|nullstart_time*Start TimeFormat
timeSuccessful Response
application/json- response
created_at*Created AtFormat
date-timecustomer_id*Customer IdFormat
uuiddate*DateFormat
dateend_time*End TimeFormat
timefilled_count*Filled Countheadcount*Headcountid*IdFormat
uuidis_filled*Is Filledjob_id?|nullrate_per_hour?number|nullrequirements?|nullsite?string|nullstart_time*Start TimeFormat
timestatus*Statuscurl -X POST 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/shifts' \ -H 'Content-Type: application/json' \ -d '{ "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "date": "2019-08-24", "end_time": "14:15:22Z", "start_time": "14:15:22Z"}'Example Response
{ "created_at": "2019-08-24T14:15:22Z", "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "date": "2019-08-24", "end_time": "14:15:22Z", "filled_count": 0, "headcount": 0, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "is_filled": true, "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f", "rate_per_hour": 0, "requirements": {}, "site": "string", "start_time": "14:15:22Z", "status": "string"}PATCH
instance_id*Instance IdFormat
uuidshift_id*Shift IdFormat
uuidapplication/json- body
date?|nullend_time?|nullheadcount?|nullrate_per_hour?number|nullrequirements?|nullsite?|nullstart_time?|nullstatus?string|nullSuccessful Response
application/json- response
created_at*Created AtFormat
date-timecustomer_id*Customer IdFormat
uuiddate*DateFormat
dateend_time*End TimeFormat
timefilled_count*Filled Countheadcount*Headcountid*IdFormat
uuidis_filled*Is Filledjob_id?|nullrate_per_hour?number|nullrequirements?|nullsite?string|nullstart_time*Start TimeFormat
timestatus*Statuscurl -X PATCH 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/shifts/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "created_at": "2019-08-24T14:15:22Z", "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "date": "2019-08-24", "end_time": "14:15:22Z", "filled_count": 0, "headcount": 0, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "is_filled": true, "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f", "rate_per_hour": 0, "requirements": {}, "site": "string", "start_time": "14:15:22Z", "status": "string"}POST
instance_id*Instance IdFormat
uuidshift_id*Shift IdFormat
uuidapplication/json- body
channel?|nullperson_id*Person IdFormat
uuidSuccessful Response
application/json- response
calendar_link_sent*Calendar Link Sentchannel?string|nullcontacted_at?|nullcreated_at*Created AtFormat
date-timeid*IdFormat
uuidperson_id*Person IdFormat
uuidresponded_at?|nullshift_id*Shift IdFormat
uuidstatus*Statuscurl -X POST 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/shifts/497f6eca-6276-4993-bfeb-53cbbbba6f08/assign' \ -H 'Content-Type: application/json' \ -d '{ "person_id": "087e858e-473c-4f50-b5b0-c1df6c021550"}'Example Response
{ "calendar_link_sent": true, "channel": "string", "contacted_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "person_id": "087e858e-473c-4f50-b5b0-c1df6c021550", "responded_at": "2019-08-24T14:15:22Z", "shift_id": "f15914ca-a3fc-41f9-a948-5ac849d2a017", "status": "string"}GET
instance_id*Instance IdFormat
uuidshift_id*Shift IdFormat
uuidlimit?LimitRange
1 <= value <= 500Default
100offset?OffsetRange
0 <= valueDefault
0Successful Response
application/json- response
has_more*Has Moreitems*array<unknown>limit*Limitoffset*Offsettotal*Totalcurl -X GET 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/shifts/497f6eca-6276-4993-bfeb-53cbbbba6f08/assignments'Example Response
{ "has_more": true, "items": [ null ], "limit": 0, "offset": 0, "total": 0}PATCH
instance_id*Instance IdFormat
uuidshift_id*Shift IdFormat
uuidassignment_id*Assignment IdFormat
uuidapplication/json- body
calendar_link_sent?boolean|nullchannel?string|nullstatus?string|nullSuccessful Response
application/json- response
calendar_link_sent*Calendar Link Sentchannel?string|nullcontacted_at?|nullcreated_at*Created AtFormat
date-timeid*IdFormat
uuidperson_id*Person IdFormat
uuidresponded_at?|nullshift_id*Shift IdFormat
uuidstatus*Statuscurl -X PATCH 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/shifts/497f6eca-6276-4993-bfeb-53cbbbba6f08/assignments/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "calendar_link_sent": true, "channel": "string", "contacted_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "person_id": "087e858e-473c-4f50-b5b0-c1df6c021550", "responded_at": "2019-08-24T14:15:22Z", "shift_id": "f15914ca-a3fc-41f9-a948-5ac849d2a017", "status": "string"}GET
HTTPBearerheader
AuthorizationBearer <token>customer_id*Customer IdFormat
uuidstatus?string|nulllimit?LimitRange
1 <= value <= 500Default
100offset?OffsetRange
0 <= valueDefault
0Successful Response
application/json- response
has_more*Has Moreitems*array<unknown>limit*Limitoffset*Offsettotal*Totalcurl -X GET 'https://example.com/v1/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/jobs'Example Response
{ "has_more": true, "items": [ null ], "limit": 0, "offset": 0, "total": 0}GET
HTTPBearerheader
AuthorizationBearer <token>customer_id*Customer IdFormat
uuiddate_from?|nulldate_to?|nulllimit?LimitRange
1 <= value <= 500Default
100offset?OffsetRange
0 <= valueDefault
0Successful Response
application/json- response
has_more*Has Moreitems*array<unknown>limit*Limitoffset*Offsettotal*Totalcurl -X GET 'https://example.com/v1/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/shifts'Example Response
{ "has_more": true, "items": [ null ], "limit": 0, "offset": 0, "total": 0}