on 2020 Feb 27 1:06 PM
Hello Expert,
Could you please let me know how to use Rest Services from CAR & where those Rest API documents.
In the below link, I can see an image where Rest services are being called from Hybris to CAR for Store Locator & Checkout.
Need to understand how this entire process is working in this context.
Thanks in advance.
Regards,
Shraman
Request clarification before answering.
Hi
REST API call means, in the browser (any E-Commerce) they send the request (execute URL) to SAP CAR and SAP CAR response to the call in JSON format.
For ex:
Request from E-Commerce is :
SAP_CAR_DESTINATION]/sap/car/rest/oaa/avalability/[ARTICLE_ID]?sap-client=[SAP_CLIENT]&oaaProfile=[OAA_PROFILE]&unit=[UNIT]&externalId=[EXTERNAL_ID]
Response from CAR to E-Commerce is:
<?xml version="1.0" encoding="utf-8"?>
<ATP>
<AVAILABILITY>
<AVAILABILITY_ITEM>
<ATP_DATE>2015-10-16</ATP_DATE>
<QUANTITY>100000.0</QUANTITY>
</AVAILABILITY_ITEM>
</AVAILABILITY>
<MESSAGES/>
</ATP>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.