deaths Endpoint

The deaths endpoint provides bulk data related to DIED events for all animals in the herd. Only dead animals are included in the response for this endpoint.

NOTE: NOTE: This endpoint requires Bulk Data Access.

https://platform-vendor-api.vas.com/locations/com.vas.dairies.id/{location-id}/deaths

PATH PARAMETERS

{location-id}*
integer

Location identifier. For routes with “com.vas.dairies.id”, {location-id} is a VAS-specific dairy id, commonly referred to as {dairyId} when not part of an ICARClosed International Committee for Animal Recording (ICAR) is a global organization focused on the standardization of animal identification, recording, genetic evaluation, and data management. location scheme.

* Required


QUERY PARAMETERS

page
integer

Sets the page number to display in the results. If no parameter is defined, page 1 displays.

pageSize
integer

Sets the number of items to display on one page of results. If no parameter is defined, the response includes 10 items per page. The maximum pageSize is 1000.

start-date-time
string

Specifies a start date and time (optional) for which to include results. Format the date as YYYY-MM-DD. To include a start time as well, add Thh:mm:ss to the date. A "T" is required to separate the date and time.

If no parameter is defined, all results for the past year are included. To specify a date range, include both a start-date-time and an end-date-time. See the sample request below.

end-date-time
string

Specifies an end date and time (optional) for which to include results. Format the date as YYYY-MM-DD. To include an end time as well, add Thh:mm:ss to the date. A "T" is required to separate the date and time.

If no parameter is defined, all results for the past year are included. To specify a date range, include both a start-date-time and an end-date-time. See the sample request below.