Get correspondence languages
GET/api/lookup/languages
Retrieves a list of correspondence languages and associated data.
Response sample
{
"data": [{
"id": "27249c57-807e-4cd0-82c7-ca3e22fd4ed8",
"text": "French",
"type": "CorrespondenceLanguage",
"additionalData": {
"isActive": true,
"code": "fr-FR",
"usageType": 1 }],
"meta": {
"warnings": [],
"information": []},
"links": {}
}
Request
Responses
- 200
- 400
- 404
Success: Request accepted.
Bad request: StorefrontOrigin not passed in header; the request wasn’t valid or can’t be otherwise served. Typical when there is a syntax error in the request. Further details of the error are provided in the response payload body.
Not found: The Omni Subscription is not assigned to the site group; the URI isn’t valid or the requested resource doesn’t exist.