how-to create Rest / Soap API in vConnect?
-
Click on API management & click “Add New API”
-
Select API type - REST / SOAP
-
You can see tabs here – API Request Details, End Point Details, End Point Header Details.
-
Click on “API Request Details”. Enter API Name
-
Click on “End Point Details”. You can see 3 broad sections – URL Details, Connection Details, and Request Transformation
-
Under “URL Details”, click on the “+” icon (add URL variable) in the URL field.
-
Click “Submit” to create the URL variable successfully.
-
Copy and paste the request URL in the “Sandbox” field & any name in the “Variable” field.
-
Select the desired URL from the select value field under the URL details section.
-
Select “Request Type” and “Method”
-
Click on “End Point Header Details”. You can add/edit/ remove multiple header details in this section.
-
Fill in header details:
- Enter Name
- Select Source of Value (Constant/ Header/ Builtin/ Request_Body/ Environment)
- For this use case, you can select “Constant” and enter the value.
- Click on “Save”.
- API created successfully