Discussions

Ask a Question
Back to All

New Client - x-record-uuid

We are trying to use the API to assist our business workflow. We have been doing some test for creating a new client and part of the API reference states :

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.

However, when we submit a new client via the api the only response headers that can be accessed are.

cache-control: max-age=0
content-length: 183
content-type: text/html;charset=UTF-8
expires: Thu, 06 May 2021 09:23:53 GMT

This is because the access control for the headers does not allow the x-record-uuid to be exposed. Only content-range and content-length.

access-control-expose-headers: Content-Range, Content-Length

This means that we are unable to to use the newly created uuid. Is it possible to have the x-record-uuid exposed in the access-control-expose-headers list so it can be used.

Thanks