To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
HTTP + OTHER
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /warranty/v1/card/{cardId}/extend HTTP/1.1
Host: qp-microservices-booster.richemont.com
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"cardId":"String","sid":"String","app":"String","_os":"String","_appVersion":"String","_searchMethod":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"ccpStatus":{"object":"String","id":"String"},"boosterStatus":{"object":"String","id":"String"},"_xmlns":"String","_type":"String","_source":"String","_tstamp":"String","_user":"String","_env":"String","_uri":"String","_query":"String"}