POST api/Animal?intId={intId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| intId | integer |
Required |
Body Parameters
Animal| Name | Description | Type | Additional information |
|---|---|---|---|
| intId | integer |
None. |
|
| datFechaRegistro | date |
None. |
|
| datFechaActualizacion | date |
None. |
|
| strNombre | string |
None. |
|
| intIdEspecie | integer |
None. |
|
| intIdRaza | integer |
None. |
|
| intIdEtapa | integer |
None. |
|
| strCrotal | string |
None. |
|
| strDib | string |
None. |
|
| strDibOrigen | string |
None. |
|
| intIdSexo | integer |
None. |
|
| datFechaNacimiento | date |
None. |
|
| datFechaOficial | date |
None. |
|
| intIdExplotacion | integer |
None. |
|
| intIdRebano | integer |
None. |
|
| intIdAnimalPadre | integer |
None. |
|
| intIdAnimalMadre | integer |
None. |
|
| strPais | string |
None. |
|
| strObservaciones | string |
None. |
|
| strActivo | string |
None. |
|
| strEspecieNombre | string |
None. |
|
| strRazaNombre | string |
None. |
|
| strEtapaNombre | string |
None. |
|
| strExplotacionNombre | string |
None. |
|
| strRebanoNombre | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"intId": 1,
"datFechaRegistro": "2025-12-11T16:14:08.2374813+01:00",
"datFechaActualizacion": "2025-12-11T16:14:08.2374813+01:00",
"strNombre": "sample string 4",
"intIdEspecie": 5,
"intIdRaza": 6,
"intIdEtapa": 7,
"strCrotal": "sample string 8",
"strDib": "sample string 9",
"strDibOrigen": "sample string 10",
"intIdSexo": 11,
"datFechaNacimiento": "2025-12-11T16:14:08.2374813+01:00",
"datFechaOficial": "2025-12-11T16:14:08.2374813+01:00",
"intIdExplotacion": 14,
"intIdRebano": 15,
"intIdAnimalPadre": 16,
"intIdAnimalMadre": 17,
"strPais": "sample string 18",
"strObservaciones": "sample string 19",
"strActivo": "sample string 20",
"strEspecieNombre": "sample string 21",
"strRazaNombre": "sample string 22",
"strEtapaNombre": "sample string 23",
"strExplotacionNombre": "sample string 24",
"strRebanoNombre": "sample string 25"
}
application/xml, text/xml
Sample:
<Animal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestExplotacionGanaderaWA.Models.ExplotacionGanadera"> <datFechaActualizacion>2025-12-11T16:14:08.2374813+01:00</datFechaActualizacion> <datFechaNacimiento>2025-12-11T16:14:08.2374813+01:00</datFechaNacimiento> <datFechaOficial>2025-12-11T16:14:08.2374813+01:00</datFechaOficial> <datFechaRegistro>2025-12-11T16:14:08.2374813+01:00</datFechaRegistro> <intId>1</intId> <intIdAnimalMadre>17</intIdAnimalMadre> <intIdAnimalPadre>16</intIdAnimalPadre> <intIdEspecie>5</intIdEspecie> <intIdEtapa>7</intIdEtapa> <intIdExplotacion>14</intIdExplotacion> <intIdRaza>6</intIdRaza> <intIdRebano>15</intIdRebano> <intIdSexo>11</intIdSexo> <strActivo>sample string 20</strActivo> <strCrotal>sample string 8</strCrotal> <strDib>sample string 9</strDib> <strDibOrigen>sample string 10</strDibOrigen> <strEspecieNombre>sample string 21</strEspecieNombre> <strEtapaNombre>sample string 23</strEtapaNombre> <strExplotacionNombre>sample string 24</strExplotacionNombre> <strNombre>sample string 4</strNombre> <strObservaciones>sample string 19</strObservaciones> <strPais>sample string 18</strPais> <strRazaNombre>sample string 22</strRazaNombre> <strRebanoNombre>sample string 25</strRebanoNombre> </Animal>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |