POST api/SPLCMPlanta?token={token}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| token | string |
Required |
Body Parameters
SPLCMPlanta| Name | Description | Type | Additional information |
|---|---|---|---|
| IdPlanta | integer |
None. |
|
| Nombre | string |
None. |
|
| PuedeSacarFoto | boolean |
None. |
|
| FechaSincronizacion | date |
None. |
|
| CambioTurnos | Collection of SPLCMCambioTurno |
None. |
|
| EstadoPlantaAnormal | Collection of SPLCMEstadoPlantaAnormal |
None. |
|
| ControlesPlanta | Collection of SPLCMControl |
None. |
|
| HorasVentanaAntes | integer |
None. |
|
| HorasVentanaDespues | integer |
None. |
|
| HorasCalendarioAntes | integer |
None. |
|
| HorasCalendarioDespues | integer |
None. |
|
| IMEIPrincipal | string |
None. |
|
| Usuarios | Collection of SPLCMUsuario |
None. |
|
| DiasFS | string |
None. |
|
| TipoLicencia | string |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SPLCMPostResult| Name | Description | Type | Additional information |
|---|---|---|---|
| CodigoError | integer |
None. |
|
| MensajeError | string |
None. |
|
| CantidadDeFilasRecibidas | integer |
None. |
|
| CantidadDeFilasProcesadas | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"CodigoError": 1,
"MensajeError": "sample string 2",
"CantidadDeFilasRecibidas": 3,
"CantidadDeFilasProcesadas": 4
}
application/xml, text/xml
Sample:
<SPLCMPostResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SPLCM_WebApi.Models"> <CantidadDeFilasProcesadas>4</CantidadDeFilasProcesadas> <CantidadDeFilasRecibidas>3</CantidadDeFilasRecibidas> <CodigoError>1</CodigoError> <MensajeError>sample string 2</MensajeError> </SPLCMPostResult>