on 2022 May 24 10:39 AM
Are there any specific API's that can be used to get Key Figures like Billing Net total for a a specific Market in a given period etc ?
a few example scenario:
1. Total Number of Subscriptions/Billing document per Market (Market as input parameter) for a specific period
2. Sum of Recurring Billing documents per Market (Market as input parameter) for a specific period
Regards
Shakeel
Request clarification before answering.
Hi Shakeel,
I’ve responded one scenario at a time:
1. Total Number of Subscriptions/Billing document per Market (Market as input parameter) for a specific period
Bills
Check out the API Reference for GET /bills at Overview | Bills | SAP API Business Hub
You can filter for market using market.id and date using to and from.
In the response header, you will see x-count. That is what you have asked for: total number of billing documents that match your filtering attributes
Subscriptions
API Reference | Subscriptions | SAP API Business Hub
The following attributes are supported for filtering:
- market.id
- validFrom
- validUntil
- There are also a lot of other date-related filter attributes that you could use
Again, x-count in the response header contains the total number of elements (in this case subscriptions) that match your filtering attributes
2. Sum
of Recurring Billing documents per Market (Market as input parameter) for a
specific period
If I understand correctly that you are asking
for the totals or subtotals across a range of bills to be summed: No, there is no API to do this. In
your downstream system is probably where you want to find this type of analytics
functionality. Keep an eye on the roadmap for future functionality related to
analytics: SAP Road Map Explorer.
I hope that helps.
Cheers,
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
2 | |
2 | |
2 | |
2 | |
2 | |
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.