Step 5: Create an agreement language

POST {{apiPath}}/environments/{{envID}}/agreements/{{agreeID}}/languages

The POST /environments/{{envID}}/agreements/{{agreementID}}/languages operation creates a new agreement language resource in the specified environment. In this example, the locale property has a value set by a Qodex variable. The value that will be set for this property is your environment's default language, which is written to your currently active Qodex environment after running Step 3 successfully.

Request Body

{"locale"=>"{{defaultLangLocale}}", "displayName"=>"Language_{{$timestamp}}"}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Content-Typestring