Documentation

documentgenerator.region.list

documentgenerator.region.list()

The method returns list of both default and user-set regions.

Parameters

No parameters

Response

"regions": {
   "uk":{ // pre-set region
       "code": "uk",
       "title": "Great Britain",
       "languageId": "en",
   },
   "1":{ // user region
       "id": "1",
       "title": "Turkey asdf",
       "languageId":" ",
       "formatDate": "YYYY-MM-DD",
       "formatDatetime": "YYYY-MM-DD HH:MI:SS",
       "formatName": "#LAST_NAME# #NAME# #SECOND_NAME#",
   }
}


© «Bitrix24», 2001-2024