Consent Templates
Create Consent Template
Changed onCreate a consent template
post/consentTemplates
Request
- Base URLhttps://sandbox.smileapi.io/v1
- URLhttps://sandbox.smileapi.io/v1/consentTemplates
- AuthHTTP basic
Request body
Example request
{
"consentType": "Terms and Conditions",
"title": "Terms and Conditions",
"version": "1.0.0",
"consentMethod": "I agree to the terms and conditions",
"consentText": "<consent content>"
}Response
OK
Example response
{
"code": "OK",
"message": "Success",
"requestId": "5b79399a-6852-4234-bb0e-ad472648282d",
"data": {
"createdAt": "2021-04-14T09:30:24Z",
"consentType": "Terms and Conditions",
"title": "Terms and Conditions",
"version": "1.0.0",
"consentMethod": "I agree to the terms and conditions",
"consentText": "<consent content>"
}
}Changes
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
- info
added the new optional request property
- info
added the optional property
/to the response with the status
- info