-1

I just wanna ask If I will be getting each UUID's (like, for Jobs, Company Contacts, Client, Categories, etc.) so they can sync to each modules, how can I retrieve or get it? (Using the ServiceM8's UUID Automatic Generation when creating a new one) Should I create one before getting? If yes, How? Is it the GET?

1 Answers1

0

From https://developer.servicem8.com/reference

UUID is optional for record creation. If no UUID is supplied, a UUID will be automatically generated for the new record and returned in the response header as x-record-uuid.

telomere
  • 338
  • 3
  • 10
  • I know this one, I read it already but is the x-record-uuid will be a straight forward records? Array or Json? thanks – Brian Dela Cruz Aug 14 '18 at 11:01
  • It's a plain string value provided in a HTTP response header, you'd access it in the same way that you get the value of other HTTP headers like "Content-type" etc. – telomere Aug 14 '18 at 23:07