Job Contacts

List All Job Contacts


GET http://api.servicem8.com/api_1.0/JobContact.json

Response

Status: 200

[[{"job_uuid":"...",
"uuid":"...",
"active":"...",
"first":"...",
"last":"...",
"phone":"...",
"mobile":"...",
"email":"...",
"type":"..."},
{"job_uuid":"...",
"uuid":"...",
"active":"...",
"first":"...",
"last":"...",
"phone":"...",
"mobile":"...",
"email":"...",
"type":"..."}]]

Show a Job Contact


GET http://api.servicem8.com/api_1.0/JobContact/{UUID}.json
Returns a single Job Contact.

Response

Status: 200

[{"job_uuid":"...",
"uuid":"...",
"active":"...",
"first":"...",
"last":"...",
"phone":"...",
"mobile":"...",
"email":"...",
"type":"..."}]

Create a Job Contact


POST http://api.servicem8.com/api_1.0/JobContact.json
Creates a new Job Contact.

Request

{"first":"New Data Here"}

Response

Status: 200

Update a Job Contact


POST http://api.servicem8.com/api_1.0/JobContact/{UUID}.json
Updates an existing Job Contact with new details from the submitted JSON.

Request

{"first":"Updated Data Here"}

Response

Status: 200

Destroy a Job Contact


DELETE http://api.servicem8.com/api_1.0/JobContact/{UUID}.json
Deactivate the JobContact at the referenced URL.

Response

Status: 200