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
typestringNoFilter by movement type (ONBOARDING, OFFBOARDING, OFF_ON)

Request

Production URL: https://orchestrator.tecspal.com/
Sandbox URL: https://orchestrator-dev.tecspal.com/
Endpoint: GET /movement_requests

Example Request

{
"filters": {
"companyCode": "DM1",
"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 movement request
movementRequestNumbernumberRequest number
createdAtstringISO timestamp when the request was created
updatedAtstringISO timestamp when the request was last updated
typestringType of request (ONBOARDING, OFFBOARDING, OFF_ON)
statusstringStatus of the request (e.g., PROCESSING, COORDINATED, DONE)
etastring | nullEstimated time of arrival (nullable)
sendTostringDestination type (EMPLOYEE, STORAGE)
handledBystringThe team or person handling the request
expectedDatestring | nullExpected date (nullable)
factoryResetbooleanWhether a factory reset is required
trackingLinkstring | nullLink for tracking (nullable)
trackingCodestring | nullCode 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
addressstringAddress of the employee
addressExtraInfostring | nullExtra address information
postCodestringPostal code 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,
"trackingCode": 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": "Invalid Company code",
"statusCode": 400
}

Unauthorized (401)

{
"error": "Unauthorized",
"message": "Unauthorized access",
"statusCode": 401
}

Notes

  • Results are filtered by companyCode (required) and optional type
  • Invalid type values return HTTP 400
  • Movement requests can be filtered by type: ONBOARDING, OFFBOARDING, or OFF_ON
  • 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 to storage