API Call - Generate Sample Request JSON
Detailed specification and usage guide for the Generate Sample Request JSON API call
Description: API to get the list of all profiles available to the user.
Endpoint:
https://<base_url>/profiles/request/generate
Request Body:
{
"key": "<api_key>",
"secret": "<secret>",
"profile_id": "<replace with profile ID obtained from the list Profile API>"
}
Parameters:
| Name | Description | Usage | Type | Required |
| Key |
API Key |
In Request Body |
Text |
True |
|
Secret |
API Secret |
In Request Body |
Text |
True |
|
Profile_ID |
Profile ID for which the API has to generate sample request JSON |
In Request Body |
Text |
True |
On Successful API Call:
On Error; w hen no profile exists for the given Profile ID:
If the user does not have access to the profile requested: