zones Endpoint

NOTE: This endpoint is only available in a deprecated version of the VAS Developer API. Please reach out to us at API Support to transition to the latest version of the VAS Developer API.

Use the zones endpoints to access information about dairy zones. Use the {location-id}/zones endpoint to list all of a location's zones, and use the {location-id}/zones/{zoneId} for information on a specific zone.

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

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

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.

{zoneId}*
integer

VAS-specificClosed A data value that originates from the VAS product line. location zone identifier

* Required


QUERY PARAMETERS (for {location-id}/zones endpoint only)

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.

calculateStatistics
boolean

If available, include zone statistics in the results.