We are calling the REST API to retrieve the latest extraction for a schedule (HTTP GET request to /Extractions/Schedules('0x078e2339d14c9177')/LastExtraction).
On rare occasions we are receiving a HTTP 204 response (NO CONTENT). This is not documented as a potential response for this type of request. Would you be able to clarify how this response should be interpreted and why we are receiving it please?
HTTP 204 No content is documented in the DSS REST API documentation. It states
request returns 204 No Content if the requested resource has the null value.
I presume, the request you are making does not contain any data for server to returned to you.
Hi, thanks for the response.
HTTP 204 is indeed detailed as a potential generic response to any HTTP request, but my question was more about what does it mean in this context (the call to /LastExtraction)?
After further investigation it would seem that 204 in this case means that a newly created Schedule has not yet run, and therefore although the Schedule does exist, the "last extraction" does not.