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
ABCGHClassification of the sub-organization. Support O(Office) only
Possible values: [O]
OSub-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-4567Timestamp when the sub-organization record was created (ISO 8601 format)
Possible values: Value must match regular expression ^\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d(\.\d{3})?Z$
2024-09-01T08:30:00ZTimestamp when the sub-organization record was last updated (ISO 8601 format)
Possible values: Value must match regular expression ^\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d(\.\d{3})?Z$
2025-12-18T09:51:32ZlinkedOrganizations object[]required
List of organizations linked to this sub-organization
Internal unique identifier of the linked organization
5484Name of the linked organization
Possible values: <= 255 characters
Test Local Org 1contacts 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",
"type": "O",
"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",
"createdAt": "2024-09-01T08:30:00Z",
"updatedAt": "2025-12-18T09:51:32Z",
"linkedOrganizations": [
{
"id": 5484,
"name": "Test Local Org 1"
},
{
"id": 5189,
"name": "Test Local Org 2"
},
{
"id": 5203,
"name": "Test Local Org 3"
}
],
"contacts": [
{
"firstName": "Ahmed",
"lastName": "Benali",
"email": "[email protected]",
"phoneNumber": "+213-555-123-456",
"role": "Manager"
}
],
"location": {
"longitude": 3.0588,
"latitude": 36.7538
}
}