Query parameters
-
extra information of each option localization on the list
-
maximum count of the option localization list
-
skip that many option localization before beginning to return
Responses
-
OK
-
Multi-Status - some items succeeded and some failed. The body is an array in request order (a list request body, even with one item, always answers a list); a failed item carries
error_messageinstead oflanguage_codeand was not written. -
Bad Request - every item of a list request body failed. The body has the same shape as
207, witherror_messageon each item; nothing was written. A single-object request body that fails answers the standard error object instead.
PUT
/profiles/{profile_id}/optionlists/{optionlist_id}/options/{option_id}/localizations
curl \
--request PUT 'https://api.iformbuilder.com/exzact/api/v80/[servername]/profiles/self/optionlists/{optionlist_id}/options/{option_id}/localizations' \
--header "Content-Type: application/json" \
--header "Authorization: Bearer {access_token}" \
--data '[
{
"language_code": "zh-hans",
"label": "失败"
},
{
"language_code": "zh-hant",
"label": "失敗"
}
]'
Request example
[
{
"language_code": "zh-hans",
"label": "失败"
},
{
"language_code": "zh-hant",
"label": "失敗"
}
]
Response examples (200)
[
{
"language_code": "zh-hans"
},
{
"language_code": "zh-hant"
}
]
Response examples (207)
[
{
"language_code": "es"
},
{
"error_message": "Parameter 'language_code' is invalid"
}
]
Response examples (400)
Every item of a list body failed
[
{
"error_message": "Parameter 'language_code' is invalid"
}
]
{
"error_message": "Parameter 'language_code' is invalid"
}