Skip to main content
POST
/
public
/
agreement
/
latest-by-code
Gets agreement by Code.
curl --request POST \
  --url https://api.example.com/public/agreement/latest-by-code \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "languageID": 1,
  "agreementCode": "GENERAL",
  "publicSessionToken": "<string>"
}
'
{
  "success": true,
  "data": "<unknown>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
languageID
integer<int32>
default:1
agreementCode
string | null
default:GENERAL
publicSessionToken
string | null

Response

Success

success
boolean
data
unknown