Subscription Agreements

get
Get Agreements Accepted

https://auth.{region}.ianum.com/v1_3/subscription/{idSubscription}/agreements
Check the agreements accepted or declined with a Subscription.
Request
Response
Request
Path Parameters
idSubscription
required
string
id of the Subscription we want to check
Headers
Authorization
required
string
Should be "Bearer XXXXX" where XXXXX is the token received from /oauth/token endpoint
Response
200: OK
{
"idAgreementGroup": "agg_xxx",
"idAgreementGroupVersion": 3,
"agreements": [{
//id of the agreement
"idAgreement": "agr_xxxx",
//the version of the agreement accepted
"version": 12
// true if it has been accepted, false otherwise
"accepted": true,
//when the user accepted / refused the agreement
"date": 1549972917,
// list of agreement texts
"agreements": [{
// the locale code in which the agreement text is translated
"locale": "en_US",
// True if the agreement translated in this language code is the default one.
"isDefault": true,
// Agreement's title
"title": "Privacy & Policy",
// Link to download the agreement text.
"link": "https://static.ianum.com/agreements/agr_xxxxx.txt"
}, { ...}]
}, {...}]
}