{ "info": { "_postman_id": "e3e9efde-3670-41dd-b1b5-2162131929c9", "name": "Remote Address Details Cost Center Allocations API", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "createdAt": "2026-07-28T02:45:20.000Z", "updatedAt": "2026-07-28T02:45:20.000Z", "lastUpdatedBy": "35240", "uid": "35240-e3e9efde-3670-41dd-b1b5-2162131929c9" }, "item": [ { "name": "v1", "item": [ { "name": "employments", "item": [ { "name": "{employment_id}", "item": [ { "name": "cost-center-allocations", "item": [ { "name": "List cost center allocations for an employment", "id": "4b5cd5c9-fd6d-4bd5-b573-8438f375339e", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}", "type": "string" } ] }, "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/v1/employments/:employment_id/cost-center-allocations?status=expired", "host": [ "{{baseUrl}}" ], "path": [ "v1", "employments", ":employment_id", "cost-center-allocations" ], "query": [ { "description": "Filters allocations by status. When omitted, allocations of every status are returned.", "key": "status", "value": "expired" } ], "variable": [ { "id": "97ee1cc6-bda1-42c9-a083-f6f87b63de62", "key": "employment_id", "value": "", "description": "(Required) Employment ID" } ] }, "description": "Lists the cost center allocations for an employment. Each allocation includes the cost center,\nthe allocated percentage, and its effective period. An employment with no cost center assigned\nreturns an empty list.\n\nUse the `status` query parameter to return only `active`, `scheduled`, or `expired` allocations.\nWhen omitted, all allocations are returned.\n\n\n## Scopes\n\n| Category | Read only Scope | Write only Scope (read access implicit) |\n|---|---|---|\n| Manage employments (`employments`) | View employments (`employment:read`) | Manage employments (`employment:write`) |\n" }, "response": [ { "id": "e857d219-50d6-49c4-9d18-8b431f0f157b", "name": "Success", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/employments/:employment_id/cost-center-allocations?status=expired", "host": [ "{{baseUrl}}" ], "path": [ "v1", "employments", ":employment_id", "cost-center-allocations" ], "query": [ { "description": "Filters allocations by status. When omitted, allocations of every status are returned.", "key": "status", "value": "expired" } ], "variable": [ { "key": "employment_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"data\": {\n \"cost_center_allocations\": [\n {\n \"id\": \"\",\n \"cost_center\": {\n \"name\": \"\",\n \"code\": \"\",\n \"slug\": \"\"\n },\n \"percentage\": \"\",\n \"effective_from\": \"\",\n \"effective_to\": \"\",\n \"status\": \"expired\"\n },\n {\n \"id\": \"\",\n \"cost_center\": {\n \"name\": \"\",\n \"code\": \"\",\n \"slug\": \"\"\n },\n \"percentage\": \"\",\n \"effective_from\": \"\",\n \"effective_to\": \"\",\n \"status\": \"scheduled\"\n }\n ]\n }\n}", "createdAt": "2026-07-28T02:45:21.000Z", "updatedAt": "2026-07-28T02:45:21.000Z", "uid": "35240-e857d219-50d6-49c4-9d18-8b431f0f157b" }, { "id": "fcd11210-abff-4569-a1f2-c426ea1ee129", "name": "Bad Request", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/employments/:employment_id/cost-center-allocations?status=expired", "host": [ "{{baseUrl}}" ], "path": [ "v1", "employments", ":employment_id", "cost-center-allocations" ], "query": [ { "description": "Filters allocations by status. When omitted, allocations of every status are returned.", "key": "status", "value": "expired" } ], "variable": [ { "key": "employment_id" } ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"\"\n}", "createdAt": "2026-07-28T02:45:21.000Z", "updatedAt": "2026-07-28T02:45:21.000Z", "uid": "35240-fcd11210-abff-4569-a1f2-c426ea1ee129" }, { "id": "4ac847c3-5bf4-4d53-bcf1-0cdf4d759e04", "name": "Forbidden", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/employments/:employment_id/cost-center-allocations?status=expired", "host": [ "{{baseUrl}}" ], "path": [ "v1", "employments", ":employment_id", "cost-center-allocations" ], "query": [ { "description": "Filters allocations by status. When omitted, allocations of every status are returned.", "key": "status", "value": "expired" } ], "variable": [ { "key": "employment_id" } ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Forbidden\"\n}", "createdAt": "2026-07-28T02:45:21.000Z", "updatedAt": "2026-07-28T02:45:21.000Z", "uid": "35240-4ac847c3-5bf4-4d53-bcf1-0cdf4d759e04" }, { "id": "ad40f5bc-42c5-4b32-b0af-60641b56c3db", "name": "Not Found", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/employments/:employment_id/cost-center-allocations?status=expired", "host": [ "{{baseUrl}}" ], "path": [ "v1", "employments", ":employment_id", "cost-center-allocations" ], "query": [ { "description": "Filters allocations by status. When omitted, allocations of every status are returned.", "key": "status", "value": "expired" } ], "variable": [ { "key": "employment_id" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Not Found\"\n}", "createdAt": "2026-07-28T02:45:21.000Z", "updatedAt": "2026-07-28T02:45:21.000Z", "uid": "35240-ad40f5bc-42c5-4b32-b0af-60641b56c3db" }, { "id": "f1d8bc67-ce47-4ce9-b247-7c76825d5e01", "name": "Unprocessable Entity", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/employments/:employment_id/cost-center-allocations?status=expired", "host": [ "{{baseUrl}}" ], "path": [ "v1", "employments", ":employment_id", "cost-center-allocations" ], "query": [ { "description": "Filters allocations by status. When omitted, allocations of every status are returned.", "key": "status", "value": "expired" } ], "variable": [ { "key": "employment_id" } ] } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"errors\": {}\n}", "createdAt": "2026-07-28T02:45:21.000Z", "updatedAt": "2026-07-28T02:45:21.000Z", "uid": "35240-f1d8bc67-ce47-4ce9-b247-7c76825d5e01" }, { "id": "3ccb1197-00d5-4bb7-9d37-a9709b813609", "name": "Unprocessable Entity", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/employments/:employment_id/cost-center-allocations?status=expired", "host": [ "{{baseUrl}}" ], "path": [ "v1", "employments", ":employment_id", "cost-center-allocations" ], "query": [ { "description": "Filters allocations by status. When omitted, allocations of every status are returned.", "key": "status", "value": "expired" } ], "variable": [ { "key": "employment_id" } ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Too many requests\"\n}", "createdAt": "2026-07-28T02:45:21.000Z", "updatedAt": "2026-07-28T02:45:21.000Z", "uid": "35240-3ccb1197-00d5-4bb7-9d37-a9709b813609" } ], "createdAt": "2026-07-28T02:45:21.000Z", "updatedAt": "2026-07-28T02:45:21.000Z", "uid": "35240-4b5cd5c9-fd6d-4bd5-b573-8438f375339e" } ], "id": "5f4c3750-9b97-4182-9596-72637a624519", "createdAt": "2026-07-28T02:45:21.000Z", "updatedAt": "2026-07-28T02:45:21.000Z", "uid": "35240-5f4c3750-9b97-4182-9596-72637a624519" } ], "id": "ba41bee3-f2b6-411f-b6ac-2a341b12e1bc", "createdAt": "2026-07-28T02:45:21.000Z", "updatedAt": "2026-07-28T02:45:21.000Z", "uid": "35240-ba41bee3-f2b6-411f-b6ac-2a341b12e1bc" } ], "id": "69b8e229-ddac-42ed-93ad-00b0b4a2fd25", "createdAt": "2026-07-28T02:45:21.000Z", "updatedAt": "2026-07-28T02:45:21.000Z", "uid": "35240-69b8e229-ddac-42ed-93ad-00b0b4a2fd25" }, { "name": "company", "item": [ { "name": "{company_id}", "item": [ { "name": "cost-center-allocations", "item": [ { "name": "List cost center allocations for a company", "id": "053ac511-a293-4994-8b63-3ac0e53d92f2", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}", "type": "string" } ] }, "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/v1/company/:company_id/cost-center-allocations?status=expired&page=1&page_size=20", "host": [ "{{baseUrl}}" ], "path": [ "v1", "company", ":company_id", "cost-center-allocations" ], "query": [ { "description": "Filters allocations by status. When omitted, allocations of every status are returned.", "key": "status", "value": "expired" }, { "description": "Starts fetching records after the given page", "key": "page", "value": "1" }, { "description": "Number of items per page", "key": "page_size", "value": "20" } ], "variable": [ { "id": "29b762d8-d5b9-4f8d-be24-b58ced79e2da", "key": "company_id", "value": "", "description": "(Required) Company ID" } ] }, "description": "Lists all employments under a company with their cost center allocations, grouped by employment.\nEach entry includes the employment's legal entity IDs and the list of cost center allocations\nassigned to it, with each allocation's cost center, allocated percentage, and effective period.\nEmployments with no cost center allocations are included with an empty list.\n\nUse the `status` query parameter to return only `active`, `scheduled`, or `expired` allocations.\nWhen omitted, all allocations are returned.\n\n\n## Scopes\n\n| Category | Read only Scope | Write only Scope (read access implicit) |\n|---|---|---|\n| Manage employments (`employments`) | View employments (`employment:read`) | Manage employments (`employment:write`) |\n" }, "response": [ { "id": "8827aef9-82d6-4d48-a78f-47b6ecb6551c", "name": "Success", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/company/:company_id/cost-center-allocations?status=expired&page=1&page_size=20", "host": [ "{{baseUrl}}" ], "path": [ "v1", "company", ":company_id", "cost-center-allocations" ], "query": [ { "description": "Filters allocations by status. When omitted, allocations of every status are returned.", "key": "status", "value": "expired" }, { "description": "Starts fetching records after the given page", "key": "page", "value": "1" }, { "description": "Number of items per page", "key": "page_size", "value": "20" } ], "variable": [ { "key": "company_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"data\": {\n \"current_page\": \"\",\n \"employments\": [\n {\n \"employment_id\": \"\",\n \"cost_center_allocations\": [\n {\n \"id\": \"\",\n \"cost_center\": {\n \"name\": \"\",\n \"code\": \"\",\n \"slug\": \"\"\n },\n \"percentage\": \"\",\n \"effective_from\": \"\",\n \"effective_to\": \"\",\n \"status\": \"active\"\n },\n {\n \"id\": \"\",\n \"cost_center\": {\n \"name\": \"\",\n \"code\": \"\",\n \"slug\": \"\"\n },\n \"percentage\": \"\",\n \"effective_from\": \"\",\n \"effective_to\": \"\",\n \"status\": \"scheduled\"\n }\n ],\n \"bill_to_legal_entity_id\": \"\",\n \"engaged_by_legal_entity_id\": \"\"\n },\n {\n \"employment_id\": \"\",\n \"cost_center_allocations\": [\n {\n \"id\": \"\",\n \"cost_center\": {\n \"name\": \"\",\n \"code\": \"\",\n \"slug\": \"\"\n },\n \"percentage\": \"\",\n \"effective_from\": \"\",\n \"effective_to\": \"\",\n \"status\": \"active\"\n },\n {\n \"id\": \"\",\n \"cost_center\": {\n \"name\": \"\",\n \"code\": \"\",\n \"slug\": \"\"\n },\n \"percentage\": \"\",\n \"effective_from\": \"\",\n \"effective_to\": \"\",\n \"status\": \"active\"\n }\n ],\n \"bill_to_legal_entity_id\": \"\",\n \"engaged_by_legal_entity_id\": \"\"\n }\n ],\n \"total_count\": \"\",\n \"total_pages\": \"\"\n }\n}", "createdAt": "2026-07-28T02:45:21.000Z", "updatedAt": "2026-07-28T02:45:21.000Z", "uid": "35240-8827aef9-82d6-4d48-a78f-47b6ecb6551c" }, { "id": "895c7856-d592-4260-9818-8597e4ee9e9d", "name": "Bad Request", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/company/:company_id/cost-center-allocations?status=expired&page=1&page_size=20", "host": [ "{{baseUrl}}" ], "path": [ "v1", "company", ":company_id", "cost-center-allocations" ], "query": [ { "description": "Filters allocations by status. When omitted, allocations of every status are returned.", "key": "status", "value": "expired" }, { "description": "Starts fetching records after the given page", "key": "page", "value": "1" }, { "description": "Number of items per page", "key": "page_size", "value": "20" } ], "variable": [ { "key": "company_id" } ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"\"\n}", "createdAt": "2026-07-28T02:45:21.000Z", "updatedAt": "2026-07-28T02:45:21.000Z", "uid": "35240-895c7856-d592-4260-9818-8597e4ee9e9d" }, { "id": "4c0010ad-9276-44b4-ae0e-14fd146ed94f", "name": "Forbidden", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/company/:company_id/cost-center-allocations?status=expired&page=1&page_size=20", "host": [ "{{baseUrl}}" ], "path": [ "v1", "company", ":company_id", "cost-center-allocations" ], "query": [ { "description": "Filters allocations by status. When omitted, allocations of every status are returned.", "key": "status", "value": "expired" }, { "description": "Starts fetching records after the given page", "key": "page", "value": "1" }, { "description": "Number of items per page", "key": "page_size", "value": "20" } ], "variable": [ { "key": "company_id" } ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Forbidden\"\n}", "createdAt": "2026-07-28T02:45:21.000Z", "updatedAt": "2026-07-28T02:45:21.000Z", "uid": "35240-4c0010ad-9276-44b4-ae0e-14fd146ed94f" }, { "id": "9fc81cf7-8fc8-4ebd-9a47-d4e0e219ffcd", "name": "Unprocessable Entity", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/company/:company_id/cost-center-allocations?status=expired&page=1&page_size=20", "host": [ "{{baseUrl}}" ], "path": [ "v1", "company", ":company_id", "cost-center-allocations" ], "query": [ { "description": "Filters allocations by status. When omitted, allocations of every status are returned.", "key": "status", "value": "expired" }, { "description": "Starts fetching records after the given page", "key": "page", "value": "1" }, { "description": "Number of items per page", "key": "page_size", "value": "20" } ], "variable": [ { "key": "company_id" } ] } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"errors\": {}\n}", "createdAt": "2026-07-28T02:45:21.000Z", "updatedAt": "2026-07-28T02:45:21.000Z", "uid": "35240-9fc81cf7-8fc8-4ebd-9a47-d4e0e219ffcd" }, { "id": "1a4c9d35-4c29-4292-a1c0-47d255dc35bf", "name": "Unprocessable Entity", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/company/:company_id/cost-center-allocations?status=expired&page=1&page_size=20", "host": [ "{{baseUrl}}" ], "path": [ "v1", "company", ":company_id", "cost-center-allocations" ], "query": [ { "description": "Filters allocations by status. When omitted, allocations of every status are returned.", "key": "status", "value": "expired" }, { "description": "Starts fetching records after the given page", "key": "page", "value": "1" }, { "description": "Number of items per page", "key": "page_size", "value": "20" } ], "variable": [ { "key": "company_id" } ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Too many requests\"\n}", "createdAt": "2026-07-28T02:45:21.000Z", "updatedAt": "2026-07-28T02:45:21.000Z", "uid": "35240-1a4c9d35-4c29-4292-a1c0-47d255dc35bf" } ], "createdAt": "2026-07-28T02:45:21.000Z", "updatedAt": "2026-07-28T02:45:21.000Z", "uid": "35240-053ac511-a293-4994-8b63-3ac0e53d92f2" } ], "id": "c520f8f4-6212-40a9-848e-402e22c7a85e", "createdAt": "2026-07-28T02:45:21.000Z", "updatedAt": "2026-07-28T02:45:21.000Z", "uid": "35240-c520f8f4-6212-40a9-848e-402e22c7a85e" } ], "id": "fed7b978-44fc-42bc-847b-ce7c412fda8d", "createdAt": "2026-07-28T02:45:21.000Z", "updatedAt": "2026-07-28T02:45:21.000Z", "uid": "35240-fed7b978-44fc-42bc-847b-ce7c412fda8d" } ], "id": "1dfc7a26-ef51-4bcb-b282-477b7fb64486", "createdAt": "2026-07-28T02:45:21.000Z", "updatedAt": "2026-07-28T02:45:21.000Z", "uid": "35240-1dfc7a26-ef51-4bcb-b282-477b7fb64486" } ], "id": "71805318-a3e1-41d7-9912-cf1fd674fb0e", "createdAt": "2026-07-28T02:45:21.000Z", "updatedAt": "2026-07-28T02:45:21.000Z", "uid": "35240-71805318-a3e1-41d7-9912-cf1fd674fb0e" } ], "auth": { "type": "oauth2", "oauth2": [ { "key": "scope", "value": "company_department:read webhook:write magic_link:write offboarding:write custom_field:write address:write expense:read employment:write identity_verification:write timesheet:write travel_letter:write incentive:read personal_detail:read invoices:write work_authorization:write timeoff:write company_structure:read benefit_renewal:write benefit_offer:read employment_documents onboarding:write payroll_run:read risk_reserve:write invoices resignation_letter:read resignation:read convert_currency:read employments probation_document:read company_admin payroll help_center_article:read timesheet:read custom_field_value:write company_currencies:read payslip:read pay_item:write resignation:write custom_field:read payroll_calendar:read contract_amendment:write offboarding:read timeoff:read probation_document:write country:read webhook:read company_department:write company_manager:read pay_item:read contract_amendment:read company:read sso_configuration:write benefit_offer:write contract_eligibility:write benefit_renewal:read background_check:read custom_field_value:read expense:write identity_verification:read address:read document:write time_and_attendance employment_payments form:read work_authorization:read invoices:read incentive:write employment:read contract:read company_manager:write travel_letter:read document:read sso_configuration:read", "type": "string" }, { "key": "accessTokenUrl", "value": "/auth/oauth2/token", "type": "string" }, { "key": "authUrl", "value": "/auth/oauth2/authorize", "type": "string" }, { "key": "grant_type", "value": "authorization_code", "type": "string" } ] }, "variable": [ { "key": "baseUrl", "value": "https://gateway.remote.com/" } ] }