Closed Nytrm closed 5 years ago
@anthonyreilly Let me know if you think this is too simple and we need a better way to handle the specific status codes, this works for me as it now gives an indication if it was created or updated.
Looks good to me, sorry for the delay. I'll get this in.
HTTP status code 201 is returned if a record is created with default CreateResponse JSON output. HTTP status code 204 is returned if an existing record is updated and has not JSON response output.
Using the CreateResponse object we know if an object was created or if it has been updated using the external id.