Skip to content

Carrier Billing API: Treating x-correlator header field Mandatory for a specific Use-case #287

Answered by hdamker
ajmhussain asked this question in Q&A
Discussion options

You must be logged in to vote

@ajmhussain The requirements regarding the x-correlator header are described within the chapter 9 of the CAMARA Design Guidelines, stating that the header parameter is not required by the API Consumer. And:

When the API Consumer includes the "x-correlator" header in the request, the API provider must include it in the response with the same value that was used in the request. Otherwise, it is optional to include the "x-correlator" header in the response with any valid value. Recommendation is to use UUID for values.

So you can use the header in very request, either with the value provided by the API Consumer or by setting the value in the response yourself.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rartych
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants