Step 6: Create an ageement revision
POST {{apiPath}}/environments/{{envID}}/agreements/{{agreeID}}/languages/{{agreeLangID}}/revisions
The POST /environments/{{envID}}/agreements/{{agreementID}}/languages/{{agreementLanguageID}}/revisions
operation creates a new agreement revision resource in the specified environment. The request body for the POST
must provide a value for the effectiveAt
, requireConsent
, text
, and contentType
properties. The effectiveAt
property uses a Qodex script and variable to set the value to now
.
Request Body
{"effectiveAt"=>"{{agreeLangRevisionEffectiveAt}}", "requireReconsent"=>true, "contentType"=>"text/html", "text"=>"<b>These Terms</b> and <i>Conditions</i> constitute a legally binding agreement made between you, whether personally or on behalf of an entity ('you') and business entity name] ('we', 'us' or 'our'),concerning your access to and use of the website as well as any other media form, media channel, mobile website or mobile application related, linked, or otherwise connected thereto (collectively, the 'Site').<h1>This is Heading 1</h1> Some text <p>This is a paragraph.</p> "}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string |