Pens Resource

The pens resource includes information about the pen, including the following endpoints. Click the endpoint for more detailed information on performing a request and understanding the response.

HTTP Method Endpoint Definition

dairies/{dairyId}/pens

Retrieves general pen information

dairies/{dairyId}/pens/detailed

Retrieves detailed pen information

dairies/{dairyId}/pens/{penId}/animals

Retrieves animals in a specific pen

{location-id}/pens/{pen-id}/animals

Retrieves a listing of animals in the pen and select details for each animal

{location-id}/pens/{pen-id}/animals/identity

Retrieves a listing of animals in the pen and identification details for each animal