Carrier Billing API: Treating x-correlator header field Mandatory for a specific Use-case #287
-
As per Camara specifications for Carrier Billing APIs, x-correlator as a header field is defined as optional. But in order to correlate the requests end to end for our critical business use-case, we have a requirement to enforce it so that we always get a correlation id from the clients and use it to track end-to-end. Can we use an optional header field as mandatory as per our requirement keeping our APIs in compliance to Camara standards? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@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:
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. |
Beta Was this translation helpful? Give feedback.
@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:
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.