SK SKYVVA Documentation

8. V4 Integrate API Services

Introduction:

We have two type of response:

  1. standard response
  2. custom response using the response (outbound) interface to do the mapping

1. standard response

Pre-requisites:-

1. Create Inbound Interface:-

a. Enter Metadata Provider. b. Enter Repository. c. Message Type.

2. Do Mapping:-

3. Configuration on postman side:-

1. V4 API:-

V4 API pass Integration, Interface, mode, request-format, response-format parameter inside the URL query parameter.

2. The URL contains:-

Please check the sample below:- [aux_code language="javascript" theme="tomorrow" title="" extra_classes=""] https://ruby-enterprise-95342-dev-ed.cs102.my.salesforce.com/services/apexrest/skyvvasolutions/V4/integrate?integration=V4_Integration&interface=V4 API&mode=Synchronous&response-format=JSON&request-format=JSON[/aux_code]

3. Authorization:-

4. Header:-

5. Body:-

6. Send the Request:-

7. Check the Result:-

8. Check Result on Message monitoring:-

Custom response using the response (outbound) interface to do the mapping

if we want to get data from the response interface then we need do mapping for response interface and link it to request interface. Only data send from input will return back as response. If we want other than the input data then we have to use VLOOKUP formulae in the response mapping

Open this article in the interactive viewer →