SubOrganizationDetail
Internal unique identifier of the sub-organization (system-generated)
5472The identifier assigned by the API consumer
Possible values: <= 255 characters
New-Sub-ORG-IDOfficial name of the sub-organization
Possible values: <= 255 characters
ABCGHSub-organization status as defined by the external system or API consumer
Possible values: [active, inactive, awaiting approval, draft, suspended, blacklisted, closed]
activeStreet address of the sub-organization
Possible values: <= 255 characters
A StreetThe city where the sub-organization is located
Possible values: <= 100 characters
KabulThe province or state where the sub-organization is located
Possible values: <= 100 characters
Kabul ProvincePostal or ZIP code of the sub-organization's address
Possible values: <= 20 characters
1001Country where the sub-organization is located (ISO 3166-1 alpha-2 format)
Possible values: <= 2 characters, Value must match regular expression ^[A-Z]{2}$
AFNumber of male employees reported by the sub-organization
123456Number of female employees reported by the sub-organization
1241List of solutions used by the sub-organization
Possible values: [Inspection, T&A, Lab Test]
["Inspection","T&A","Lab Test"]The phone number of the sub-organization
Possible values: <= 50 characters
+93-20-123-4567Indicates the access level the current user has for this sub-organization. This helps determine what actions the user can perform (e.g., view-only, edit).
Possible values: [read, write, edit, share, full]
["edit"]contacts object[]required
List of primary contact persons for the sub-organization
First name of the contact person
Possible values: <= 100 characters
AhmedLast name of the contact person
Possible values: <= 100 characters
BenaliEmail address of the contact person
Possible values: <= 255 characters
[email protected]Phone number of the contact person
Possible values: <= 50 characters
+213-555-123-456Job title or role of the contact person within the sub-organization, can refer from List Contact Roles API
Possible values: <= 100 characters
Managerlocation objectrequired
Location coordinates of the sub-organization
Longitude of the sub-organization's location
3.0588Latitude of the sub-organization's location
36.7538{
"id": 5472,
"externalId": "New-Sub-ORG-ID",
"name": "ABCGH",
"externalStatus": "active",
"address": "A Street",
"city": "Kabul",
"province": "Kabul Province",
"postalCode": "1001",
"country": "AF",
"maleEmployees": 123456,
"femaleEmployees": 1241,
"solutionsUsed": [
"Inspection",
"T&A",
"Lab Test"
],
"phoneNumber": "+93-20-123-4567",
"permissions": [
"edit"
],
"contacts": [
{
"firstName": "Ahmed",
"lastName": "Benali",
"phoneNumber": "+213-555-123-456",
"role": "Manager"
}
],
"location": {
"longitude": 3.0588,
"latitude": 36.7538
}
}