v1
latestOpenAPI 3.1.02026-07-26160119.8 KBPublic API
Atualiza um equipamento por ID
post/api/v1/assets/{id}
Path parameters
idstring required
Request body
Example request
{
"enrollmentId": "SLY-12345",
"category": "notebook",
"brand": "Dell",
"model": "XPS 13",
"vendorName": "Tech Supplier Inc.",
"serialNumber": "SN1234567890",
"acquisitionDate": "2025-12-10T03:00:00.000Z",
"acquisitionType": "bought",
"priceCents": 250000,
"nfeNumber": "000123456789",
"contractId": "CT-2024-0001",
"warrantyExpirationDate": "2025-12-24T03:00:00.000Z",
"status": "in-use",
"allocatedLocation": "Sala do RH",
"employeeId": "123e4567-e89b-12d3-a456-426614174000",
"employeeAttachedAt": "2025-01-01T00:00:00.000Z",
"customFields": [
{
"label": "teste",
"value": "teste"
}
]
}Response
Example response
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"enrollmentId": "SLY-12345",
"category": "notebook",
"brand": "Dell",
"model": "XPS 13",
"vendorName": "Tech Supplier Inc.",
"serialNumber": "SN1234567890",
"deviceId": "8A1D30F4-8C87-44CD-A663-2229DE6F64BD",
"acquisitionDate": "2025-12-10T03:00:00.000Z",
"acquisitionType": "bought",
"priceCents": 250000,
"nfeNumber": "000123456789",
"contractId": "CT-2024-0001",
"warrantyExpirationDate": "2025-12-24T03:00:00.000Z",
"status": "in-use",
"allocatedLocation": "Sala do RH",
"employeeId": "123e4567-e89b-12d3-a456-426614174000",
"employeeAttachedAt": "2025-01-01T00:00:00.000Z",
"createdAt": "2025-01-01T00:00:00.000Z",
"source": "desktop-client",
"customFields": [
{
"label": "teste",
"type": "text",
"value": "teste"
}
]
}