curl --request POST \
--url https://api.example.com/iser/agreement/get-pending \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"agreementTypeCode": "GENERAL",
"languageID": 1
}
'{
"success": true,
"data": "<unknown>"
}Gets the latest pending agreement for acceptance for the currently logged in user, based on the provided agreement type ID. There are 2 types: 1: the ‘General User Agreement’, and 2: the ‘Display Mode Agreement’.
curl --request POST \
--url https://api.example.com/iser/agreement/get-pending \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"agreementTypeCode": "GENERAL",
"languageID": 1
}
'{
"success": true,
"data": "<unknown>"
}