Skip to main content

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

PropertyTypeRequiredDescription
companyCodestringYesCompany code for one of your managed companies
countryCodestringNoFilter by country in ISO 3166-1 alpha-2 format
typestringNoFilter by movement type (ONBOARDING, OFFBOARDING)
statusstringNoFilter 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

PropertyTypeDescription
statusCodenumberHTTP status code of the response
messagestringDescription of the response status
enveloparrayArray containing the list of movement requests

Movement Request Properties

PropertyTypeDescription
idstringUnique identifier of the order
movementRequestNumbernumberRequest number
createdAtstringISO timestamp when the request was created
updatedAtstringISO timestamp when the request was last updated
typestringType of request (e.g., OFFBOARDING)
statusstringStatus of the request (e.g., PROCESSING)
etastring | nullEstimated time of arrival (nullable)
sendTostringDestination type (e.g., STORAGE)
handledBystringThe team or person handling the request
expectedDatestring | nullExpected date (nullable)
factoryResetbooleanWhether a factory reset is required
trackingLinkstring | nullLink for tracking (nullable)
dateCompletedstring | nullDate when the request was completed (nullable)
requesterEmailstring | nullEmail of the requester
apiClientRequesterNamestring | nullName of the API client requester
toEmployeeobject | nullDetails of the employee the request is for (nullable)
fromEmployeeobject | nullEmployee initiating the request
storageobjectStorage details
companyNamestringName of the company
hardwaresarrayList of hardware items related to the request
movementRequestStatusHistoricarrayHistory of the status changes of the request

fromEmployee / toEmployee Properties

PropertyTypeDescription
idstringUnique identifier of the employee
firstNamestringFirst name of the employee
lastNamestringLast name of the employee
countryCodestringCountry code of the employee
emailstringEmail of the employee

storage Properties

PropertyTypeDescription
idstringUnique identifier of the storage
countryCodestringCountry code of the storage

hardwares Properties

PropertyTypeDescription
idstringHardware unique identifier
descriptionstringDescription of the hardware
serialNumberstringSerial number of the hardware
brandstringBrand of the hardware
namestringName of the hardware
ramstringRAM configuration (if applicable)
diskSpacestringDisk space (if applicable)
displaySizestringDisplay size (if applicable)
processorstringProcessor type (if applicable)
imagestringURL of the hardware image (if available)

movementRequestStatusHistoric Properties

PropertyTypeDescription
createdAtstringISO timestamp when the status change occurred
statusTostringNew status after the change
statusFromstring | nullPrevious 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 handledBy is "TECSPAL", the movement is managed by Tecspal's logistics team
  • When handledBy is "COMPANY", the company manages the movement internally
  • The factoryReset flag is only relevant for OFFBOARDING requests