Get All Movement Requests
Retrieves a list of hardware movement requests for a specific company.
Authentication
This endpoint requires authentication. See Authentication for details.
Filters
| Property | Type | Required | Description |
|---|---|---|---|
| companyCode | string | Yes | Company code for one of your managed companies |
| countryCode | string | No | Filter by country in ISO 3166-1 alpha-2 format |
| type | string | No | Filter by movement type (ONBOARDING, OFFBOARDING) |
| status | string | No | Filter by request status |
Request
Production URL: https://orchestrator.tecspal.com/
Sandbox URL: https://tecspal-orchestrator.sandbox.lexartlabs.uy/
Endpoint: GET /movement_requests
Example Request
{
"filters": {
"companyCode": "DM1",
"countryCode": "UY",
"type": "ONBOARDING"
},
"request": "movement_requests",
"vendor": "tecspal",
"verb": "GET"
}
Response Schema
| Property | Type | Description |
|---|---|---|
| statusCode | number | HTTP status code of the response |
| message | string | Description of the response status |
| envelop | array | Array containing the list of movement requests |
Movement Request Properties
| Property | Type | Description |
|---|---|---|
| id | string | Unique identifier of the order |
| movementRequestNumber | number | Request number |
| createdAt | string | ISO timestamp when the request was created |
| updatedAt | string | ISO timestamp when the request was last updated |
| type | string | Type of request (e.g., OFFBOARDING) |
| status | string | Status of the request (e.g., PROCESSING) |
| eta | string | null | Estimated time of arrival (nullable) |
| sendTo | string | Destination type (e.g., STORAGE) |
| handledBy | string | The team or person handling the request |
| expectedDate | string | null | Expected date (nullable) |
| factoryReset | boolean | Whether a factory reset is required |
| trackingLink | string | null | Link for tracking (nullable) |
| dateCompleted | string | null | Date when the request was completed (nullable) |
| requesterEmail | string | null | Email of the requester |
| apiClientRequesterName | string | null | Name of the API client requester |
| toEmployee | object | null | Details of the employee the request is for (nullable) |
| fromEmployee | object | null | Employee initiating the request |
| storage | object | Storage details |
| companyName | string | Name of the company |
| hardwares | array | List of hardware items related to the request |
| movementRequestStatusHistoric | array | History of the status changes of the request |
fromEmployee / toEmployee Properties
| Property | Type | Description |
|---|---|---|
| id | string | Unique identifier of the employee |
| firstName | string | First name of the employee |
| lastName | string | Last name of the employee |
| countryCode | string | Country code of the employee |
| string | Email of the employee |
storage Properties
| Property | Type | Description |
|---|---|---|
| id | string | Unique identifier of the storage |
| countryCode | string | Country code of the storage |
hardwares Properties
| Property | Type | Description |
|---|---|---|
| id | string | Hardware unique identifier |
| description | string | Description of the hardware |
| serialNumber | string | Serial number of the hardware |
| brand | string | Brand of the hardware |
| name | string | Name of the hardware |
| ram | string | RAM configuration (if applicable) |
| diskSpace | string | Disk space (if applicable) |
| displaySize | string | Display size (if applicable) |
| processor | string | Processor type (if applicable) |
| image | string | URL of the hardware image (if available) |
movementRequestStatusHistoric Properties
| Property | Type | Description |
|---|---|---|
| createdAt | string | ISO timestamp when the status change occurred |
| statusTo | string | New status after the change |
| statusFrom | string | null | Previous status before the change (nullable) |
Example Response
{
"envelop": [
{
"id": "6f63d2b9-6ec3-467b-bb8b-38a133b92bfe",
"movementRequestNumber": 50001005,
"createdAt": "2025-04-14T14:18:22.234Z",
"updatedAt": "2025-04-14T14:18:47.159Z",
"type": "ONBOARDING",
"status": "COORDINATED",
"eta": "2025-05-03",
"sendTo": "EMPLOYEE",
"handledBy": "TECSPAL",
"expectedDate": null,
"factoryReset": null,
"trackingLink": null,
"dateCompleted": null,
"requesterEmail": "superadmin@tecspal.com",
"apiClientRequesterName": null,
"toEmployee": {
"id": "0a86b6c2-7373-42fa-a44a-70857cef0f90",
"firstName": "John",
"lastName": "Doe",
"countryCode": "UY",
"email": "john_doe@email.com",
"address": "Plaza Independencia 848, Montevidéu, Uruguai",
"addressExtraInfo": null,
"postCode": "11100"
},
"fromEmployee": null,
"storage": {
"id": "f5d253a3-e494-4614-9c8e-001789def712",
"countryCode": "UY"
},
"companyName": "Larian Studios",
"hardwares": [
{
"id": "bebe97aa-8768-47df-93ab-79a818ab04be",
"description": "New",
"serialNumber": "1252552",
"brand": "Apple",
"name": "MacBook Pro",
"ram": "16GB",
"diskSpace": "512GB",
"displaySize": "16 inch",
"processor": "M1 Pro",
"image": "https://a-us.storyblok.com/f/1001855/789x500/82ee51ba4d/macbook-pro-16.png"
}
],
"movementRequestStatusHistoric": [
{
"createdAt": "2025-04-14T14:18:22.260Z",
"statusTo": "PROCESSING",
"statusFrom": null
},
{
"createdAt": "2025-04-14T14:18:47.170Z",
"statusTo": "COORDINATED",
"statusFrom": "PROCESSING"
}
]
}
],
"message": "Request successful",
"statusCode": 200
}
Error Responses
Bad Request (400)
{
"error": "Bad Request",
"message": "Missing required filter: companyCode",
"statusCode": 400
}
Unauthorized (401)
{
"error": "Unauthorized",
"message": "Unauthorized access",
"statusCode": 401
}
Notes
- Results are returned in descending order by creation date
- Movement requests can be filtered by type (ONBOARDING/OFFBOARDING)
- The response includes both completed and pending requests
- Status history is tracked in
movementRequestStatusHistoric - When
handledByis "TECSPAL", the movement is managed by Tecspal's logistics team - When
handledByis "COMPANY", the company manages the movement internally - The
factoryResetflag is only relevant for OFFBOARDING requests