POST api/SPLCMControlesDePlanta?idPlanta={idPlanta}&token={token}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| idPlanta | integer |
Required |
|
| token | string |
Required |
Body Parameters
Collection of SPLCMControl| Name | Description | Type | Additional information |
|---|---|---|---|
| CPEnEjecucion | integer |
None. |
|
| Estado_C1 | string |
None. |
|
| Estado_C2 | string |
None. |
|
| Estado_C3 | string |
None. |
|
| TiempoVencido | integer |
None. |
|
| BaseTemporal | SPLCMBaseTemporal |
None. |
|
| Id | globally unique identifier |
None. |
|
| IdInstancia | globally unique identifier |
None. |
|
| NFC | string |
None. |
|
| Descripcion | string |
None. |
|
| Activo | boolean |
None. |
|
| Tipo | string |
None. |
|
| SAMAccountAgregado | string |
None. |
|
| SAMAccountHizo | string |
None. |
|
| SAMAccountResponsable | string |
None. |
|
| QR | string |
None. |
|
| Realizado | boolean |
None. |
|
| Sincronizado | boolean |
None. |
|
| Grupo | string |
None. |
|
| SoloLectura | boolean |
None. |
|
| FechaSincronizacion | date |
None. |
|
| FechaRealizado | date |
None. |
|
| Geoposicion | SPLCMGeoposicion |
None. |
|
| Plantilla | SPLCMPlantilla |
None. |
|
| FotoQR | SPLCMFoto |
None. |
|
| FotosUsuario | Collection of SPLCMFoto |
None. |
|
| Localizador | 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>