Discussions
Job for activity doesn't seem to exist in API
about 3 years ago by Kieran Sasse
Hi,
I am currently doing the following -
- Sync all activities
- Sync all jobs
- Sync all job contacts
- Build a model for each activity on the client by joining to the job via the job_uuid field on the activity and then to each job contact for that job.
While I have been trying to do this I have found that the job_uuid reference in one of the activities does not seem to have a corresponding job record.
I have also found querying the api directly for this job seems to return html that looks like this:
https://api.servicem8.com/api_1.0/job/THE-JOB-UUID.json
returns 200 OK +
200 OKOK
ServiceM8/1.0
Is this an issue with the API or am I missing something?