POST api/Animales/NuevoAnimal?idCelo={idCelo}&peso={peso}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
idCelo

integer

Default value is 0

peso

decimal number

Default value is 0

Body Parameters

animales
NameDescriptionTypeAdditional information
idEmpresa

globally unique identifier

None.

id

integer

None.

idTipo

integer

None.

nombre

string

None.

areteSiniiga

string

None.

identificadorInterno

string

None.

idRaza

integer

None.

idColor

integer

None.

fechaNacimiento

date

None.

sexo

string

None.

activo

boolean

None.

idRazonInactivo

integer

None.

idPropietario

integer

None.

idUpp

integer

None.

idProposito

integer

None.

idPadre

integer

None.

idMadre

integer

None.

eliminado

boolean

None.

foto

string

None.

fechaRegistro

date

None.

idUsuario

integer

None.

fechaDestete

date

None.

idPadreSemental

integer

None.

circunferenciaEscrotal

decimal number

None.

idTipoParto

integer

None.

idCustom1

integer

None.

idCustom2

integer

None.

numeroRegistro

string

None.

idCustom3

integer

None.

idCustom4

integer

None.

idCustom5

integer

None.

idDonadora

integer

None.

idPadreRegistro

integer

None.

idGrupoEmpresa

byte

None.

idMadreRegistro

integer

None.

precioVenta

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "idEmpresa": "992c0d7b-159e-41b3-9832-99661d47072c",
  "id": 1,
  "idTipo": 2,
  "nombre": "sample string 3",
  "areteSiniiga": "sample string 4",
  "identificadorInterno": "sample string 5",
  "idRaza": 6,
  "idColor": 7,
  "fechaNacimiento": "2025-01-22T07:54:26.1448108-08:00",
  "sexo": "sample string 9",
  "activo": true,
  "idRazonInactivo": 11,
  "idPropietario": 12,
  "idUpp": 13,
  "idProposito": 14,
  "idPadre": 1,
  "idMadre": 1,
  "eliminado": true,
  "foto": "sample string 15",
  "fechaRegistro": "2025-01-22T07:54:26.1448108-08:00",
  "idUsuario": 1,
  "fechaDestete": "2025-01-22T07:54:26.1448108-08:00",
  "idPadreSemental": 1,
  "circunferenciaEscrotal": 1.1,
  "idTipoParto": 16,
  "idCustom1": 1,
  "idCustom2": 1,
  "numeroRegistro": "sample string 17",
  "idCustom3": 1,
  "idCustom4": 1,
  "idCustom5": 1,
  "idDonadora": 18,
  "idPadreRegistro": 19,
  "idGrupoEmpresa": 64,
  "idMadreRegistro": 1,
  "precioVenta": 1.0
}

application/xml, text/xml

Sample:
<animales xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GF.WS">
  <activo>true</activo>
  <areteSiniiga>sample string 4</areteSiniiga>
  <circunferenciaEscrotal>1.1</circunferenciaEscrotal>
  <eliminado>true</eliminado>
  <fechaDestete>2025-01-22T07:54:26.1448108-08:00</fechaDestete>
  <fechaNacimiento>2025-01-22T07:54:26.1448108-08:00</fechaNacimiento>
  <fechaRegistro>2025-01-22T07:54:26.1448108-08:00</fechaRegistro>
  <foto>sample string 15</foto>
  <id>1</id>
  <idColor>7</idColor>
  <idCustom1>1</idCustom1>
  <idCustom2>1</idCustom2>
  <idCustom3>1</idCustom3>
  <idCustom4>1</idCustom4>
  <idCustom5>1</idCustom5>
  <idDonadora>18</idDonadora>
  <idEmpresa>992c0d7b-159e-41b3-9832-99661d47072c</idEmpresa>
  <idGrupoEmpresa>64</idGrupoEmpresa>
  <idMadre>1</idMadre>
  <idMadreRegistro>1</idMadreRegistro>
  <idPadre>1</idPadre>
  <idPadreRegistro>19</idPadreRegistro>
  <idPadreSemental>1</idPadreSemental>
  <idPropietario>12</idPropietario>
  <idProposito>14</idProposito>
  <idRaza>6</idRaza>
  <idRazonInactivo>11</idRazonInactivo>
  <idTipo>2</idTipo>
  <idTipoParto>16</idTipoParto>
  <idUpp>13</idUpp>
  <idUsuario>1</idUsuario>
  <identificadorInterno>sample string 5</identificadorInterno>
  <nombre>sample string 3</nombre>
  <numeroRegistro>sample string 17</numeroRegistro>
  <precioVenta>1</precioVenta>
  <sexo>sample string 9</sexo>
</animales>

application/x-www-form-urlencoded

Sample:

Sample not available.

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idEmpresa"

992c0d7b-159e-41b3-9832-99661d47072c
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="id"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idTipo"

2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="nombre"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="areteSiniiga"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="identificadorInterno"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idRaza"

6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idColor"

7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="fechaNacimiento"

2025-01-22T07:54:26.1448108-08:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="sexo"

sample string 9
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="activo"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idRazonInactivo"

11
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idPropietario"

12
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idUpp"

13
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idProposito"

14
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idPadre"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idMadre"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="eliminado"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="foto"

sample string 15
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="fechaRegistro"

2025-01-22T07:54:26.1448108-08:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idUsuario"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="fechaDestete"

2025-01-22T07:54:26.1448108-08:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idPadreSemental"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="circunferenciaEscrotal"

1.1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idTipoParto"

16
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idCustom1"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idCustom2"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="numeroRegistro"

sample string 17
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idCustom3"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idCustom4"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idCustom5"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idDonadora"

18
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idPadreRegistro"

19
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idGrupoEmpresa"

64
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idMadreRegistro"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="precioVenta"

1
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name=""

System.Object
--MultipartDataMediaFormatterBoundary1q2w3e--