| Gets information on existing serial numbers | Uses your API Key along with optional Filters, and Pagination parameters to retrieve Serial Number information.
If no Filters are provided, all serial numbers will be returned.
- Page (int, optional) = Page number starting from 1
- Limit (int, optional) = Maximum number of records per page (max 1000)
A. Return all serial numbers (no filters) with default pagination
Value:
{
"Page": 1,
"Limit": 100
}
Response:
{
"mvSerialNumbers": [
{
"SerialNumberId": 305,
"SerialNumber": "SerialA",
"ProductId": 7571,
"InventoryLocationId": 6770,
"DateCreated": "/Date(1727691143980-0000)/",
"SerialNumberStatus": "Available",
"SerialNumberDocuments": []
}
],
"ResponseStatus": {
"ErrorCode": "0"
}
}
B. Return serial numbers with a name of either "SerialA" or "SerialB" , page 2 with 50 results per page
Value:
{
"Page": 2,
"Limit": 50,
"Filters": [
{
"FieldName": "SerialNumber",
"SearchOperator": "Equals",
"SearchValue": "SerialA"
},
{
"AndOr": "Or",
"FieldName": "SerialNumber",
"SearchOperator": "Equals",
"SearchValue": "SerialB"
}
]
}
Response:
{
"mvSerialNumbers": [
{
"SerialNumberId": 503,
"SerialNumber": "SerialA",
"ProductId": 7571,
"InventoryLocationId": 6770,
"DateCreated": "/Date(1727691143980-0000)/",
"SerialNumberStatus": "Available",
"SerialNumberDocuments": []
},
{
"SerialNumberId": 341,
"SerialNumber": "SerialB",
"ProductId": 7571,
"InventoryLocationId": 6770,
"DateCreated": "/Date(1725280940387-0000)/",
"SerialNumberStatus": "Available",
"SerialNumberDocuments": []
},
{
"SerialNumberId": 347,
"SerialNumber": "SerialB",
"ProductId": 7572,
"InventoryLocationId": 6770,
"DateCreated": "/Date(1725281874650-0000)/",
"SerialNumberStatus": "Shipped",
"SerialNumberDocuments": []
}
],
"ResponseStatus": {
"ErrorCode": "0"
}
}
|