Example: Epicor P21, Magento
Example
Label: Content-Type Key: Content-Type Value: Supported Content Types
application/json application/xml
label::key::value
Content-type::Content-type::application/json
Authorization::Authorization::OAuth
http://www.example.com/api/customers
.www.example.com
is provided in the credentials section in the Projects Area. So only the relative URL /api/customers
needs to be provided here.http://www.example.com/api/customers/2
. Here, 2
is the dynamic value. This can be achieved by replacing the dynamic value with a unique variable name and this value will be provided in Flows during run-time./api/customers/{customer_id}
{"customer_id":"2"}
in API Call Handler in the URL Arguments box. The Endpoint will then replace the URL argument as: /api/customers/2
, which indicates that information from customer_id = 2
is accessed./api/customers/?format=json
/api/customers
and the query parameter defined in the API Call handler is {"format":"json"}
.