GetAdvancedDetails
POST
https://test.api.neotek.sa/establishment-information/v1/get-advanced-detailsSandbox URL · in Production call https://api.neotek.sa
Everything GetBasicDetails returns, plus the Saudization figures and workforce counts.
Body — Data is required, and must carry one of the two identifiers:
| Parameter | Required | Description |
|---|---|---|
Data.CRNumber | Conditional | the commercial registration number. Required if SevenHundredNumber is absent |
Data.SevenHundredNumber | Conditional | the 700-series unified number. Required if CRNumber is absent |
Headers:
| Parameter | Required | Description |
|---|---|---|
authorization | Required | Bearer <ACCESS_TOKEN>, with scope establishment_information |
content-type | Required | application/json. Absent from the specification's header table, but omitting it returns 415 |
accept | Optional | returns 406 if present and mismatched |
x-request-id | Optional | an RFC 4122 UUID you generate; recommended for tracing |
accept-language | Optional | backend-dependent; the likely control over which language the text fields come back in |
sub-client | Optional | identifies the downstream consumer when one client fronts several |
cURL
curl -X POST 'https://test.api.neotek.sa/establishment-information/v1/get-advanced-details' \ --header 'authorization: Bearer <ACCESS_TOKEN>' \ --header 'content-type: application/json' \ --data '{ "Data": { "SevenHundredNumber": "7001234568" } }'Response
JSON
{ "Data": { "Name": "شركة الأمثلة للمقاولات", "Status": "قائمة", "EconomicActivity": "مقاولات التشييد والبناء والنظافة", "ISICActivity": "التنظيف العام للمباني", "ISICActivitycode": 537, "EconomicActivityCode": 450, "CertificateStartDate": "2015-01-01 00:00:00.000", "CertificateEndDate": "2026-12-31 00:00:00.000", "LegalRegistration": "ذات مسؤولية محدودة", "CRNumber": 1010001234, "SevenHundredNumber": 7001234567, "CRStatus": "Active", "LaborOfficeId": 6, "Size": "عملاقة", "EstablishmentType": "شركة", "SaudizationPercentage": 78, "SaudizationCertificateExpiry": "2026-12-31", "SaudizationCompliance": "compliant", "CountOfSaudis": 122, "CountOfForeigners": 12, "CountOfMales": 10, "CountOfFemales": 204, "CountOfAuthenticatedContracts": 20, "CountOfUnauthenticatedContracts": 204, "CountOfBranches": 7 }}Errors
| Code | Status | Cause and Action |
|---|---|---|
400 | Bad Request | Missing required field, or a value that fails validation — check Code and Path in the body |
401 | Unauthorized | Bearer token missing, expired, or invalid |
403 | Forbidden | Token doesn't carry the establishment_information scope |
404 | Not Found | No resource matches the identifier provided |
405 | Method Not Allowed | HTTP verb not supported on that path |
406 | Not Acceptable | Accept header doesn't match a supported representation |
415 | Unsupported Media Type | Content-Type missing or wrong |
429 | Too Many Requests | Rate limit exceeded |
500 | Internal Server Error | Server error — retry with backoff, quote your x-request-id |