Device

Get device service availability status

This API allows the invoker to check the availability of the Device service.

get
https://7d40e2d8b1.gateways.konggateway.com/public/device/health

Response

application/json
statusstringrequired

Status of service

get/public/device/health
 
application/json

Issue a single/list of new device(s)

This API allows the invoker to issue a single/list of new device(s). 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 issued device(s).

post
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.

Body

application/json
array
One Of
manufacturerCodestringrequired
EIDobjectrequired
Show Child Parameters
issueDatestringrequired
managementEarTagIdstring
isNLISDevicebooleanrequired

False in this case as device object is a non NLIS device.

Default:false

tagDescriptionstring

Response

application/json

OK

receiptIdstringrequired
issuedDevicesOne Of
arrayrequired
Variant 1object
Show Child Parameters
post/public/device/v1/register/device

Body

[ { "manufacturerCode": "123 876548", "deviceType": { "code": "A", "colorCode": "O" }, "EID": { "rfid": "982 123489467678", "nlisId": "3MGJE153XBJ00611" }, "productCode": "97", "pic": "3MGJE153", "issueDate": "05-06-2025", "managementEarTagId": "34821746", "isNLISDevice": true }, { "manufacturerCode": "123 876548", "EID": { "rfid": "982 123489467679" }, "issueDate": "05-06-2025", "managementEarTagId": "34821746", "isNLISDevice": false }, { "manufacturerCode": "123 876548", "deviceType": { "code": "A", "colorCode": "O" }, "EID": { "rfid": "982 123489467680", "nlisId": "3MGJE153XBJ00613" }, "productCode": "97", "pic": "3MGJE153", "issueDate": "05-06-2025", "managementEarTagId": "34821746", "isNLISDevice": true } ]
 
application/json

Register livestock(s)

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

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

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
picstringrequired

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

applicationDatestringrequired
speciesstringrequired

Allowed values:cattlesheepgoatscamelidspigsbuffalosother

managementEarTagIdstring
dentitioninteger

Response

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

Body

[ { "EID": { "nlisId": "3MGJE153XBJ00612" }, "pic": "3MGJE153", "applicationDate": "01-01-2025", "species": "cattle", "managementEarTagId": "Orange", "dentition": 3 } ]
 
application/json

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