Headers
-
request-id
string Unique identifier for the API request. Example: f7ecf495-ca1c-4468-a6c2-6ee3f723fa00
Path parameters
-
consignmentId
string Required The identifier of the Consignment
Body
Required
-
registerGateway
boolean Indicates whether the gateway should be registered. True - will register a new gateway (productName is required) False - indicates that the gateway has already been registered
-
deviceId
string Required Manufacturer identifier for the Gateway device. Example: 'e10fce301222e588e1d7482b'
Maximum length is
100
. Format should match the following pattern:^[-_A-Za-z0-9]*$
. -
productName
string Name of Gateway product. Example: 'HGD4'
Maximum length is
100
. Format should match the following pattern:^[a-zA-Z0-9!@#$&()\-
.+,/" ]*$`. -
manufacturer
string Required Gateway manufacturer. Example: 'sysLoco'. If you want us to support a new manufacturer, please contact us at support@reelables.com
Values are
hpeAruba
,cassiaNetworks
,particle
,sysLoco
, orversa
.
curl \
--request POST 'https://api.reelables.com/v1/consignments/{consignmentId}/gateways' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--header "request-id: string" \
--data '[{"registerGateway":true,"deviceId":"string","productName":"string","manufacturer":"hpeAruba"}]'
# Headers
request-id: string
# Payload
[
{
"registerGateway": true,
"deviceId": "string",
"productName": "string",
"manufacturer": "hpeAruba"
}
]
{
"nextToken": "string",
"items": [
{
"shortId": "string",
"isStatic": true,
"latitude": 42.0,
"hasPendingCommands": true,
"rssiFilter": "FAR",
"deviceId": "string",
"gatewayId": "string",
"productName": "string",
"addedOn": "2025-05-04T09:42:00Z",
"manufacturer": "string",
"longitude": 42.0
}
]
}
{
"errors": [
{
"code": "string",
"id": "string",
"detail": "string",
"title": "string",
"status": "string"
}
]
}
{
"errors": [
{
"code": "string",
"id": "string",
"detail": "string",
"title": "string",
"status": "string"
}
]
}
{
"errors": [
{
"code": "string",
"id": "string",
"detail": "string",
"title": "string",
"status": "string"
}
]
}
{
"errors": [
{
"code": "string",
"id": "string",
"detail": "string",
"title": "string",
"status": "string"
}
]
}