on 2021 Apr 01 7:39 AM
Hi everyone,
We use pagination on some of the SAP Subscription Billing APIs. One example is GET transferrable bills, but this could be used for GET rate plan templates or others. We use the header X-Pagecount in the iflow (capital X and capital P). This matches what is still in the documentation at api.sap.com:
The header used to match the format of X-Pagecount just like in the documentation above. Below is a screenshot taken in Postman from before we implemented pagination:
Today, however, we see x-pagecount with no capitalization.
Is there a place we can see documentation for these kind of changes? I don't see it in the Subscription Billing What's New or the What's New for APIs.
https://help.sap.com/viewer/987aec876092428f88162e438acf80d6/latest/en-US/0dba51427c1f48d692d2e068d0...
https://help.sap.com/viewer/d1003f539d774275b4d62fc3dac9bb8e/latest/en-US
We also don't see the change reflected on api.sap.com, as you can see above.
Regards,
Chris
Hi Chris,
After a short investigation, we identified the reason of the change: BTP (formerly known as SCP) has done an update in a recent release that changed the format of the HTTP header fields, exactly as you observed. Here is an extract of the corresponding documentation:
"Please note that the SAP BTP, Cloud Foundry environment release containing HTTP header field changes has been scheduled to March 16, 2021. With this release, HTTP header field names will be converted to lower case.
This change is done in compliance with the HTTP/1.1 RFC 7230 which defines header names to be case insensitive."
Thanks for pointing it out, we will adapt our documentation accordingly.
Have a great day,
Élodie Brenker
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Élodie. I will pay better attention to BTP documentation.
User | Count |
---|---|
8 | |
5 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.