Search for manufacturer's last registered device

This API allows the invoker to search for the details of the device with the highest ID from the latest batch of registered device record(s) that the invoker has access to. The route takes the required device details to filter the database and returns the details of the latest and highest device as a response.

post
https://7d40e2d8b1.gateways.konggateway.com/public/device/v1/latest

Headers

correlationIdstringrequired

UUID used to track the API call from the invoker’s perspective. Sender is required to include the correlationId in the request to use it as a tracker for asynchronous responses.

Body

application/json
manufacturerCodestringrequired
picstringrequired

Match pattern:^[A-Z0-9]{8}$

manufacturedDatestringrequired
speciesstringrequired

Allowed values:cattlesheepgoatscamelidspigsbuffalosother

Response

application/json
receiptIdstringrequired
lastRegisteredDeviceobjectrequired
Show Child Parameters
post/public/device/v1/latest

Body

{ "manufacturerCode": "237845692", "pic": "56TH9381PR", "manufacturedDate": "01-01-2025", "species": "Cattle" }
 
application/json

Reallocate unused device(s) to a new PIC

This API allows the invoker to reallocate a single/list of unused device(s) to a new PIC. The route takes a single/list of device(s) as an input and returns a receipt ID with a list of EID(s) of successfully reallocated device(s).

post
https://7d40e2d8b1.gateways.konggateway.com/public/device/v1/reallocate

Headers

correlationIdstringrequired

UUID used to track the API call from the invoker’s perspective. Sender is required to include the correlationId in the request to use it as a tracker for asynchronous responses.

Body

application/json
fromPicstringrequired

Match pattern:^[A-Z0-9]{8}$

toPicstringrequired

Match pattern:^[A-Z0-9]{8}$

reallocateEffectiveDatestringrequired
EIDOne Of
required
Variant 1object
Show Child Parameters
commentsstring

Response

application/json
receiptIdstringrequired
reallocatedDevicesOne Of
arrayrequired
Variant 1object
Show Child Parameters
post/public/device/v1/reallocate

Body

[ { "fromPic": "3MGJE153", "toPic": "3MGJE162", "reallocateEffectiveDate": "05-05-2025", "EID": { "nlisId": "3MGJE153XBJ00611" }, "comments": "Device to be used in new PIC." }, { "fromPic": "3MGJE167", "toPic": "3MGJE188", "reallocateEffectiveDate": "05-05-2025", "EID": { "nlisId": "3MGJE153XBJ00612" }, "comments": "Device to be used in new PIC." } ]
 
application/json

Check if a single/list of device using RFID or NLIS ID are unique

This API allows the invoker to get the uniquess of a single/list of device record(s). The route takes a request containing device RFID(s)/NLIS ID(s) and returns the non-unique device(s) as a response if it exists.

post
https://7d40e2d8b1.gateways.konggateway.com/public/device/v1/check-unique

Headers

correlationIdstringrequired

UUID used to track the API call from the invoker’s perspective. Sender is required to include the correlationId in the request to use it as a tracker for asynchronous responses.

Body

application/json
EIDOne Of
Variant 1object
Show Child Parameters

Response

application/json
receiptIdstringrequired
nonUniqueDevicesarray[object]required
Show Child Parameters
post/public/device/v1/check-unique

Body

[ { "EID": { "rfid": "982 123489467679" } } ]
 
application/json

Miscellaneous

Register a single/list of new device(s) Copy

INTERNAL USE.

options
https://7d40e2d8b1.gateways.konggateway.com/public/device/v1/register/device

Headers

correlationIdstringrequired

UUID used to track the API call from the invoker’s perspective. Sender is required to include the correlationId in the request to use it as a tracker for asynchronous responses.

Response

application/json

OK

receiptIdstringrequired
registeredDevicesarray[string]required

RFID(s)

options/public/device/v1/register/device
 
application/json