# Boars
# Endpoint
https://api.gestal.cloud/integration/boars
Not an event
The boar resource is not an event, and does not share the common event attributes.
Fields exit_at ,exit_type and exit_cause will be deleted in 2023 and replaced by Removals event.
# The boar object
In addition to the common request attributes, the following attributes define the object.
| Attribute | Type | Description | Pending |
|---|---|---|---|
gestal_id | 64 bit integer | The Gestal system unique ID for a boar. | No |
pin_tag | string | The visual ID of the boar. | No |
rfid1 | integer | The first RFID tag. | No |
rfid2 | integer | The second RFID tag. | No |
genetic | string | Genetic of the boar. | No |
birth_at | date | Date of birth of the boar. | No |
entry_at | date | Date when the boar entered the site. | No |
tattoo | string | The boar's tattoo. | No |
dam | string | The boar's mother. | No |
sire | string | The boar's father. | No |
exit_at | datetime | Date when the boar exited the site. | Yes |
exit_type | string | Type of exit. | Yes |
exit_cause | string | Cause of exit. | Yes |
gestal_modif | 64 bit integer | Last time the boar was updated in the Gestal system. | No |
# Example Response
{
"data": [
{
"cloud_id": "boar_cNPQVtW2yJoA1gFyIxe1sQdeujIswC11",
"gestal_id": 452310,
"pin_tag": "234567",
"rfid1": 0,
"rfid2": null,
"birth_at": null,
"entry_at": null,
"genetic": null,
"sire": null,
"dam": null,
"tattoo": null,
"exit_at": null,
"exit_type": null,
"exit_cause": null,
"gestal_modif": 1620055329123,
"created_at": "2020-01-10T17:30:53.641Z",
"updated_at": "2020-01-10T17:30:53.641Z"
}
],
"meta": {
"total": 1,
"page_total": 1,
"pages": 1,
"per_page": 100,
"current_page": 1,
"next_page": false,
"previous_page": false,
"first_page": true,
"last_page": true,
"out_of_range": false
}
}