POST api/UbicacionesGrupos/NuevaUbicacionGrupo
Request Information
URI Parameters
None.
Body Parameters
ubicacionGruposName | Description | Type | Additional information |
---|---|---|---|
idEmpresa | globally unique identifier |
None. |
|
idMovimiento | integer |
None. |
|
idGrupo | integer |
None. |
|
idUbicacion | integer |
None. |
|
fechaEntrada | date |
None. |
|
fechaSalida | date |
None. |
|
cantidadAnimales | integer |
None. |
|
idUsuario | integer |
None. |
|
eliminado | boolean |
None. |
|
comentarios | string |
None. |
|
fechaRegistro | date |
None. |
|
remanente | decimal number |
None. |
|
forrajeDisponible | decimal number |
None. |
|
excepcion | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "idEmpresa": "fc79a851-3dbe-40e7-8412-96353daf6ad2", "idMovimiento": 2, "idGrupo": 3, "idUbicacion": 1, "fechaEntrada": "2025-01-22T11:04:04.9624592-08:00", "fechaSalida": "2025-01-22T11:04:04.9624592-08:00", "cantidadAnimales": 5, "idUsuario": 6, "eliminado": true, "comentarios": "sample string 8", "fechaRegistro": "2025-01-22T11:04:04.9624592-08:00", "remanente": 1.1, "forrajeDisponible": 1.1, "excepcion": true }
application/xml, text/xml
Sample:
<ubicacionGrupos xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GF.WS"> <cantidadAnimales>5</cantidadAnimales> <comentarios>sample string 8</comentarios> <eliminado>true</eliminado> <excepcion>true</excepcion> <fechaEntrada>2025-01-22T11:04:04.9624592-08:00</fechaEntrada> <fechaRegistro>2025-01-22T11:04:04.9624592-08:00</fechaRegistro> <fechaSalida>2025-01-22T11:04:04.9624592-08:00</fechaSalida> <forrajeDisponible>1.1</forrajeDisponible> <idEmpresa>fc79a851-3dbe-40e7-8412-96353daf6ad2</idEmpresa> <idGrupo>3</idGrupo> <idMovimiento>2</idMovimiento> <idUbicacion>1</idUbicacion> <idUsuario>6</idUsuario> <remanente>1.1</remanente> </ubicacionGrupos>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="idEmpresa" fc79a851-3dbe-40e7-8412-96353daf6ad2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="idMovimiento" 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="idGrupo" 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="idUbicacion" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="fechaEntrada" 2025-01-22T11:04:04.9624592-08:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="fechaSalida" 2025-01-22T11:04:04.9624592-08:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="cantidadAnimales" 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="idUsuario" 6 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="eliminado" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="comentarios" sample string 8 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="fechaRegistro" 2025-01-22T11:04:04.9624592-08:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="remanente" 1.1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="forrajeDisponible" 1.1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="excepcion" True --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
ObjectNone.
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--