Subscription Agreements

Get Agreements Accepted

GET https://auth.{region}.ianum.com/v1_3/subscription/{idSubscription}/agreements

Check the agreements accepted or declined with a Subscription.

Path Parameters

NameTypeDescription

idSubscription

string

id of the Subscription we want to check

Headers

NameTypeDescription

Authorization

string

Should be "Bearer XXXXX" where XXXXX is the token received from /oauth/token endpoint

{
    "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"
        }, { ...}]
    }, {...}]
}

Last updated