documentgenerator.region.add
documentgenerator.region.add(fields)
Adds new region. Returns the same data as the method documentgenerator.region.get() for the new region.
Parameters
Parameter | Description |
---|---|
fields | Array of fields for country, including:
|
Response
"region": { "id": "1", "title": "Turkey", "languageId": "", "formatDate": "YYYY-MM-DD", "formatDatetime": "YYYY-MM-DD HH:MI:SS", "formatName": "#LAST_NAME# #NAME# #SECOND_NAME#", "phrases": { "TAX_INCLUDED": "VAT included", "TAX_NOT_INCLUDED": "ex-VAT", "TAX_INCLUDED_NOT_VAT": "Tax (not VAT) included", "TAX_NOT_INCLUDED_NOT_VAT": "Tax (not VAT) excluded", "UF_TYPE_BOOLEAN_YES": "Yes", "UF_TYPE_BOOLEAN_NO": "No", } }
© «Bitrix24», 2001-2024