Skip to main content

Region

Region is middle-level element of orgstructure.


AttributeTypeDescriptionNullable
idIntegerIdentifierfalse
activeBooleanRegion avalibility for usersfalse
divisionIdIntegerIdentifier of divisionfalse
nameStringRegion namefalse
divisionDivision objectDivision object that have of regionfalse
dirsList of users objectList of user objects that are included in the regiontrue
divisionNameStringName of divisionfalse
shopsCountIntegerNumber shop that are included in the regionfalse
Example:
{
"id": 66,
"name": "Test region",
"divisionId": 28,
"active": true,
"division": {
"id": 28,
"name": "Division 1",
"active": true,
"regionsCount": 6,
"shopsCount": 51
},
"dirs": [
{
"id": 1697,
"active": true,
"login": "samplemail@example.com",
"firstName": "Jhon",
"lastName": "Doe",
"position": "Region manager",
"level": "REGION",
"businessDirId": 1001,
"lang": "en_EN",
"invited": false
}
],
"divisionName": "Division 1",
"shopsCount": 8
}
Usages:

Additional region fields#

Additional region object fields


AttributeTypeDescriptionNullable
shopsList of shop objectShop objects who associated with the regiontrue
Example:
{
"id": 66,
"name": "Test region",
"divisionId": 28,
"active": true,
"division": {
"id": 28,
"name": "Division 1",
"active": true,
"regionsCount": 6,
"shopsCount": 51
},
"dirs": [
{
"id": 1697,
"active": true,
"login": "samplemail@example.com",
"firstName": "Jhon",
"lastName": "Doe",
"position": "Region manager",
"level": "REGION",
"businessDirId": 1001,
"lang": "en_EN",
"invited": false
}
],
"divisionName": "Division 1",
"shopsCount": 8
}
Usages: