cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

how to integrate of Subscription billing with Custom App

former_member671720
Participant
0 Likes
559

Hi,

I am trying doing a post call to create a Provisioning Requests referring to API and I want to create it from my application(custom built)/ Postman but I am confused in mapping the url's

the service is having quite some url's :

{ "vendor": "SAP", "url": "", "uaa": { "uaadomain": "", "tenantmode": "", "sburl": "", "clientid": "", "verificationkey": "", "apiurl": "", "xsappname": "", "identityzone": "", "identityzoneid": "", "clientsecret": "", "tenantid": "", "url": "" } }

what to pass in Auth and Access token Url in the postman to do the request? and I want to integrate my angular app with SB, is there any blog related to integration?

can you help me here

Thanks

Kishore

Accepted Solutions (1)

Accepted Solutions (1)

0 Likes

Hi,

With postman, you can directly use the OAuth 2.0 as the authorization, and inside please use 'Client Credentials' for Grant Type.

the access token url starts with your tennant name and ends with the below example.

You can also find the API guide documentation of subscription billing for details.

https://help.sap.com/viewer/987aec876092428f88162e438acf80d6/2020-09-16/en-US/c5fcaf96daff4c7a852018...

Client Id:The client ID from the service key

Secret:The client secret from the service key

identityzone:The subdomain name of your subaccount (tenant)

region:Your data center location (defaulted from the Starting URL that you selected)

Best regards,

Tiger

Subscription Billing Development Team

former_member671720
Participant
0 Likes

Hi Tiger,

We are able to do a post of provisional request and its getting created but the validation status is showing as invalid like below

can you help me to resolve this issue
Thanks

Kishore

Hi Shiva,

when you create a subscription, it has some requirements or constraints. To prevent you having other issue, you can have a look at the page.

https://help.sap.com/viewer/987aec876092428f88162e438acf80d6/2020-09-16/en-US/356bc0280a564954b7f323....

But back to your question, it means you have to specify your billing cycle reference date to the start of the market's time zone. For API calls, it uses the UTC time, so you need to pay attention to it and convert to the corresponding utc time by your market's timezone.

Let's say your market is India, and it's timezone is UTC+5.5. So the start of a day in the market's time zone means you have to give the time as 2020-09-20T18:30:00Z

Best regards,

Tiger

Answers (0)