Record livestock(s) that died on the property

This API allows the invoker to record livestock death(s). The route takes a single/list of device(s) with the PIC information as an input and returns a receipt ID with a list of successfully recorded livestock death(s).

post
https://7d40e2d8b1.gateways.konggateway.com/public/device/v1/register/livestock-death

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
dateOfDeathstringrequired
EIDOne Of
required
Variant 1object
Show Child Parameters
picOfDeathstringrequired

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

causeOfDeathstring

Allowed values:InjuryNatural CausesBirthing ComplicationsEuthenasiaUnknownOther

Response

application/json
receiptIdstringrequired
registeredLivestockDeathsarray[object]required
Show Child Parameters
post/public/device/v1/register/livestock-death

Body

[ { "dateOfDeath": "01-01-2025", "EID": { "rfid": "982 123489467679" }, "picOfDeath": "3MGJE153", "causeOfDeath": "Injury" } ]
 
application/json

Delete a single/list of NLIS/non-NLIS device(s)

This API allows the invoker to soft delete a single/list of NLIS/non-NLIS device(s). The route takes a single/list of NLIS/non-NLIS device(s) as an input and returns a receipt ID with a list of NLIS/non-NLIS device(s) that have been flagged as inactive.

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

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
required
Variant 1object
Show Child Parameters
commentsstring

Response

application/json

OK

receiptIdstringrequired
deletedDevicesarray[object]required
Show Child Parameters
delete/public/device/v1/delete

Body

[ { "EID": { "rfid": "982 123489467678" }, "comments": "Device is no longer in use" }, { "EID": { "nlisId": "3MGJE153XBJ00612" }, "comments": null } ]
 
application/json

Get list of device statuses

This API allows the invoker to retrieve a list of device status categories and options that are available to be assigned to a device.

get
https://7d40e2d8b1.gateways.konggateway.com/public/device/v1/device-statuses

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

200 application/json
categoryobjectrequired
Show Child Parameters
get/public/device/v1/device-statuses
 
200 application/json

Add/Modify/Delete device(s) status(es)

This API allows the invoker add/modify/delete the status(es) of a single/list of device(s). The route takes a single/list of device RFID(s)/NLIS ID(s), corresponding status and action as an input and returns a receipt ID with a list of successfully updated device ID(s).

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

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
statusesarray[object]required
Show Child Parameters
EIDOne Of
required
Variant 1object
Show Child Parameters

Response

application/json

OK

receiptIdstringrequired
updatedDevicesarray[object]required
Show Child Parameters
post/public/device/v1/status/update

Body

[ { "EID": { "rfid": "982 123489467678" }, "statuses": [ { "action": "Apply", "status": "Anthrax Withholding (AV-AV1)", "statusCode": "AV1", "category": "Vaccination", "programCode": "AV", "effectiveDate": "01/01/2025", "expiryDate": "01/03/2025", "comments": "Assigned to cattle that have been vaccinated against anthrax." } ] } ]
 
application/json

Search for a single/list of device status(es) using either an RFID or a NLIS ID

This API allows the invoker to get the status(es) of a single/list of device record(s). The route takes a request containing device RFID(s)/NLIS ID(s) and returns the status(es) of the device(s) as a response.

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

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
array
One Of
rfidstringrequired

The RFID is 16 character number

>= 15 characters<= 16 characters

Response

application/json
receiptIdstringrequired
devicesarray[object]required
Show Child Parameters
post/public/device/v1/status

Body

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