Location APIs retrieve active MyOSPRI locations to help populate electronic Animal Status Declaration (ASD) forms. You can’t use location APIs to manage locations — this needs to be done within the MyOSPRI system.
Locations in MyOSPRI are described as cattle, deer or sheep farming locations that have a singular NAIT number reference. Locations are also defined by type — for example, farm, lifestyle block or plant.
To send farm-to-meat processor ASDs, MyOSPRI users need to select from a list of plants associated with meat processors already using MyOSPRI. If your meat processor hasn't started using MyOSPRI, email MyOSPRI@ospri.co.nz
In future, you’ll be able to use location APIs to view and manage:
ASD APIs allow you to:
In future, you’ll be able to use ASD APIs to prepopulate more form fields, including herd and location information.
Animal APIs allow you to get the list of:
In future, you’ll be able to use animal APIs to access more information about:
Organisation APIs provide information about meat processing organisations. Used alongside location APIs, they allow you to select plants associated with a meat processor organisation.
In future, you’ll be able to use organisation APIs to manage:
Address APIs use Toitū Te Whenua/Land Information New Zealand information to get valid physical addresses, which can be associated with your farm or lifestyle property. They get valid postal addresses from NZ Post data.
If you need more information about specifications, email firstname.lastname@example.org