pregnancy-checks Endpoint

The pregnancy-checks endpoint provides bulk data for pregnancy evaluations for all animals in the herd. All animals (live, sold, and dead) are included in the response for this endpoint.

Pregnancy checks can result in three different events: 

  • OPEN: the animal is not pregnant
  • PREGClosed Pregnant: the animal is pregnant from the last breeding
  • PREV: the animal is pregnant, and the pregnancy was the result of a previous breeding (not the last breeding)
NOTE: This endpoint requires Bulk Data Access.

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

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.

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.