BulkUpsertSubOrganizationRequest
System-generated primary key. If provided, the resource is identified and updated using this internal id. Can be used alone or together with externalId (to update the external identifier).
5538Client-provided external identifier. Required when id is not provided. Used as the lookup key for upsert. When id is provided, supplying externalId will update the stored external identifier.
Possible values: <= 255 characters
SUB-ORGOfficial name of the sub-organization
Possible values: <= 255 characters
SUB_ORG_CHECKStatus of the sub-organization as defined by the API consumer
Possible values: [active, inactive, awaiting approval, draft, suspended, blacklisted, closed]
closedClassification of the sub-organization. Support O(Office) only
Possible values: [O]
OStreet address of the sub-organization
Possible values: <= 255 characters
A StreetCity where the sub-organization is located
Possible values: <= 100 characters
Province or state where the sub-organization is located
Possible values: <= 100 characters
Postal or ZIP code of the address
Possible values: <= 20 characters
Country where the sub-organization is located (ISO 3166-1 alpha-2)
Possible values: <= 2 characters, Value must match regular expression ^[A-Z]{2}$
DZlocation object
Geographic coordinates of the sub-organization
The latitude component of the sub-organization's geolocation
nullThe longitude component of the sub-organization's geolocation
nullNumber of male employees
nullNumber of female employees
nullList 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
contacts object[]required
List of primary contact persons for the sub-organization
First name of the contact person
Possible values: <= 100 characters
JohnLast name of the contact person
Possible values: <= 100 characters
DoeEmail address of the contact person
Possible values: <= 255 characters
[email protected]Phone number of the contact person
Possible values: <= 50 characters
+1-555-123-4567Job title or role of the contact person within the sub-organization, can refer from List Contact Roles API
Possible values: <= 100 characters
Manager{
"id": 5538,
"externalId": "SUB-ORG",
"name": "SUB_ORG_CHECK",
"externalStatus": "closed",
"type": "O",
"address": "A Street",
"city": "",
"province": "",
"postalCode": "",
"country": "DZ",
"location": {
"latitude": null,
"longitude": null
},
"maleEmployees": null,
"femaleEmployees": null,
"solutionsUsed": [
"Inspection",
"T&A",
"Lab Test"
],
"phoneNumber": "",
"contacts": []
}