curl --request POST \
--url https://api.artemis.cynopsis.co/api/customer/{customerId}/risk-assessment/approval \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-Domain-ID: <x-domain-id>' \
--data '
{
"approvalStatus": "ACCEPTED",
"overrideRiskRating": "HIGH",
"assignTo": 123,
"message": "<string>"
}
'{
"approvalStatus": "ACCEPTED",
"createdAt": {
"date": 123,
"day": 123,
"hours": 123,
"minutes": 123,
"month": 123,
"nanos": 123,
"seconds": 123,
"time": 123,
"timezoneOffset": 123,
"year": 123
},
"createdBy": {
"email": "<string>",
"firstName": "<string>",
"fullName": "<string>",
"id": 123,
"lastName": "<string>"
},
"customerId": 123,
"id": 123,
"overrideRiskRating": "HIGH",
"risk": {},
"riskRating": "HIGH",
"riskScore": 123,
"updatedAt": {
"date": 123,
"day": 123,
"hours": 123,
"minutes": 123,
"month": 123,
"nanos": 123,
"seconds": 123,
"time": 123,
"timezoneOffset": 123,
"year": 123
},
"updatedBy": {
"email": "<string>",
"firstName": "<string>",
"fullName": "<string>",
"id": 123,
"lastName": "<string>"
}
}curl --request POST \
--url https://api.artemis.cynopsis.co/api/customer/{customerId}/risk-assessment/approval \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-Domain-ID: <x-domain-id>' \
--data '
{
"approvalStatus": "ACCEPTED",
"overrideRiskRating": "HIGH",
"assignTo": 123,
"message": "<string>"
}
'{
"approvalStatus": "ACCEPTED",
"createdAt": {
"date": 123,
"day": 123,
"hours": 123,
"minutes": 123,
"month": 123,
"nanos": 123,
"seconds": 123,
"time": 123,
"timezoneOffset": 123,
"year": 123
},
"createdBy": {
"email": "<string>",
"firstName": "<string>",
"fullName": "<string>",
"id": 123,
"lastName": "<string>"
},
"customerId": 123,
"id": 123,
"overrideRiskRating": "HIGH",
"risk": {},
"riskRating": "HIGH",
"riskScore": 123,
"updatedAt": {
"date": 123,
"day": 123,
"hours": 123,
"minutes": 123,
"month": 123,
"nanos": 123,
"seconds": 123,
"time": 123,
"timezoneOffset": 123,
"year": 123
},
"updatedBy": {
"email": "<string>",
"firstName": "<string>",
"fullName": "<string>",
"id": 123,
"lastName": "<string>"
}
}customerId — The Primary Customer’s ID.
approvalStatus — Available values:
ACCEPTEDDRAFTPENDINGREJECTEDREQUEST_CHANGESoverrideRiskRating — Available values:
HIGHLOWMEDIUMMEDIUM_HIGHMEDIUM_LOWUNKNOWNcurl -X POST "{{backend_url}}/api/customer/{{customerId}}/risk-assessment/approval" \
-H "Authorization: Bearer <token>" \
-H "X-Domain-ID: {{domain_id}}" \
-H "Content-Type: application/json" \
-d '{
"overrideRiskRating": "LOW",
"approvalStatus": "ACCEPTED"
}'
The access token received from the authorization server in the OAuth 2.0 flow.
X-Domain-ID
customerId
requestDto
OK
ACCEPTED, CLEARED, PENDING, REJECTED, REQUEST_CHANGES Show child attributes
Show child attributes
HIGH, LOW, MEDIUM, MEDIUM_HIGH, MEDIUM_LOW, UNKNOWN HIGH, LOW, MEDIUM, MEDIUM_HIGH, MEDIUM_LOW, UNKNOWN Show child attributes
Show child attributes