API for payroll providers to integrate with Aslan. This API enables payroll providers to manage company registrations and employee onboarding for Aslan services.
- Update company information
Partner API (0.0.1)
- Mock serverhttps://developer.aslan.io/_mock/openapi/companies
- https://uat.partner.aslan.io/api/v1/companies
- https://partner.aslan.io/api/v1/companies
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.aslan.io/_mock/openapi/companies?params%5Bsize%5D=20¶ms%5BsortBy%5D=name¶ms%5Bsort%5D=asc¶ms%5Bstatus%5D=VERIFIED¶ms%5Bquery%5D=tech' \
-H 'Authorization: Bearer <YOUR_token:signature_HERE>' \
-H 'X-Aslan-Timestamp: 1730000000'Successfully retrieved paginated list of companies
List of companies in the current page
Unique system identifier for the company
Current registration status of the company with Aslan:
VERIFIED- Company is verified and active on the platformDELETED- Company has been removed from the platform (soft delete)
Registered legal name of the company
Official company registration number (e.g., Companies House number in the UK)
Human-readable alphanumeric identifier for the company (max 10 characters)
Timestamp when the company was initially registered in the system
System identifier of the user or service that created this company record
Timestamp of the most recent update to the company record
System identifier of the user or service that last updated this company record
Timestamp when the company was soft-deleted from the system
{ "content": [ { … } ], "page": 0, "size": 20, "totalElements": 156, "totalPages": 8 }
- Mock serverhttps://developer.aslan.io/_mock/openapi/companies/{companyId}
- https://uat.partner.aslan.io/api/v1/companies/{companyId}
- https://partner.aslan.io/api/v1/companies/{companyId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.aslan.io/_mock/openapi/companies/{companyId}' \
-H 'Authorization: Bearer <YOUR_token:signature_HERE>' \
-H 'X-Aslan-Timestamp: 1730000000'Successfully retrieved company details
Unique system identifier for the company
Current registration status of the company with Aslan:
VERIFIED- Company is verified and active on the platformDELETED- Company has been removed from the platform (soft delete)
Official company registration number (e.g., Companies House number in the UK)
Human-readable alphanumeric identifier for the company (max 10 characters)
Timestamp when the company was initially registered in the system
System identifier of the user or service that created this company record
Timestamp of the most recent update to the company record
System identifier of the user or service that last updated this company record
Timestamp when the company was soft-deleted from the system
{ "id": "a3f2e1d0-5c4b-4a3e-9f8e-7d6c5b4a3e2f", "status": "VERIFIED", "name": "TechFlow Solutions Ltd", "companyNumber": "09876543", "address": { "addressLine1": "Floor 3, 45 Commercial Road", "addressLine2": "Innovation Quarter", "addressLine3": "Shoreditch", "postCode": "E1 6BH", "city": "London", "countryCode": "GB" }, "friendlyId": "A3F2E1D05C", "createdAt": "2024-03-15T10:30:00Z", "createdBy": "b2c3d4e5-6f7a-4b5c-8d9e-0f1a2b3c4d5e", "updatedAt": "2024-09-20T14:22:15Z", "updatedBy": "c3d4e5f6-7a8b-5c6d-9e0f-1a2b3c4d5e6f", "deletedAt": "2024-12-01T09:00:00Z", "deletedBy": "d4e5f6a7-8b9c-6d7e-0f1a-2b3c4d5e6f7a" }
- Mock serverhttps://developer.aslan.io/_mock/openapi/companies/{companyId}
- https://uat.partner.aslan.io/api/v1/companies/{companyId}
- https://partner.aslan.io/api/v1/companies/{companyId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://developer.aslan.io/_mock/openapi/companies/{companyId}' \
-H 'Authorization: Bearer <YOUR_token:signature_HERE>' \
-H 'Content-Type: application/json' \
-H 'X-Aslan-Timestamp: 1730000000' \
-d '{
"name": "TechFlow Solutions Limited",
"companyNumber": "09876543",
"address": {
"addressLine1": "Floor 3, 45 Commercial Road",
"addressLine2": "Innovation Quarter",
"addressLine3": "Shoreditch",
"postCode": "E1 6BH",
"city": "London",
"countryCode": "GB"
}
}'Company successfully updated
Unique system identifier for the company
Current registration status of the company with Aslan:
VERIFIED- Company is verified and active on the platformDELETED- Company has been removed from the platform (soft delete)
Official company registration number (e.g., Companies House number in the UK)
Human-readable alphanumeric identifier for the company (max 10 characters)
Timestamp when the company was initially registered in the system
System identifier of the user or service that created this company record
Timestamp of the most recent update to the company record
System identifier of the user or service that last updated this company record
Timestamp when the company was soft-deleted from the system
{ "id": "a3f2e1d0-5c4b-4a3e-9f8e-7d6c5b4a3e2f", "status": "VERIFIED", "name": "TechFlow Solutions Ltd", "companyNumber": "09876543", "address": { "addressLine1": "Floor 3, 45 Commercial Road", "addressLine2": "Innovation Quarter", "addressLine3": "Shoreditch", "postCode": "E1 6BH", "city": "London", "countryCode": "GB" }, "friendlyId": "A3F2E1D05C", "createdAt": "2024-03-15T10:30:00Z", "createdBy": "b2c3d4e5-6f7a-4b5c-8d9e-0f1a2b3c4d5e", "updatedAt": "2024-09-20T14:22:15Z", "updatedBy": "c3d4e5f6-7a8b-5c6d-9e0f-1a2b3c4d5e6f", "deletedAt": "2024-12-01T09:00:00Z", "deletedBy": "d4e5f6a7-8b9c-6d7e-0f1a-2b3c4d5e6f7a" }