# Breedings
# Endpoint
https://api.gestal.cloud/integration/events/breedings
# The breeding object
In addition to the common request and event attributes, the following attributes define the object.
| Attribute | Type | Description | Pending |
|---|---|---|---|
location | string | The location where the breeding took place. | No |
section | string | The section where the breeding took place, can be: breeding, gestation, lactation, or growing. | No |
planned_date | date | The date when the breeding is expected to take place. | Yes |
quality | string | The quality level of the breeding's operation. | No |
boar | string | The boar from which the doses originate. | No |
genetic | string | The boar's genetic. | Yes |
event_method | string | The breeding's method. | Yes |
dose | integer | Number of doses administered. | Yes |
service | string | The breeding's service number. | No |
protocol | string | The breeding's protocol. | Yes |
completed | boolean | If the breeding is complete or not. | Yes |
# Example Response
{
"data": [
{
"cloud_id": "eb_CvUjQocmU6nufBMQDk9rVIrVOYsVHGIB",
"gestal_id": 5292,
"event_id": "54523452",
"event_at": "2019-11-15T05:35:52.000Z",
"event_type": "breeding",
"user": "Roger",
"parity": 2,
"batch": "",
"location": "Pen 101",
"section": "gestation",
"planned_date": "2019-11-25",
"quality": "hawt",
"boar": "Verrat",
"genetic": "Landrace",
"event_method": "AM/PM",
"dose": 3,
"protocol": "Standard",
"completed": true,
"gestal_modif": 1620055329123,
"created_at": "2019-12-19T15:52:25.264Z",
"updated_at": "2019-12-19T15:52:25.270Z"
}
],
"meta": {
"total": 18,
"page_total": 1,
"pages": 18,
"per_page": 1,
"current_page": 1,
"next_page": 2,
"previous_page": false,
"first_page": true,
"last_page": false,
"out_of_range": false
}
}