POST api/Inspecciones/ModificaDefectos

Request Information

URI Parameters

None.

Body Parameters

DefectosMobile
NameDescriptionTypeAdditional information
id_defecto

integer

None.

id_parametro

integer

None.

id_valoracion

integer

None.

id_registro

integer

None.

id_defecto_plantilla

integer

None.

id_parametro_plantilla

integer

None.

codigo

string

None.

defecto

string

None.

cod_valoracion

string

None.

seleccion

integer

None.

observaciones

string

None.

ids_ubicaciones

string

None.

en_origen

integer

None.

reiterado

integer

None.

corregido

integer

None.

enunciado_correccion

string

None.

fecha_deteccion

date

None.

fecha_correcion

date

None.

fecha_limite_correccion

date

None.

fecha_comprobacion

date

None.

informe

string

None.

grupo_comprobacion

string

None.

codigo_parametro

string

None.

parametro

string

None.

positivo

integer

None.

negativo

integer

None.

no_aplica

integer

None.

valor

string

None.

valor2c

string

None.

valoracion

string

None.

observaciones_parametro

string

None.

id_inspeccion

integer

None.

sesion

session

None.

Request Formats

application/json, text/json, text/html, application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

estructuraRetorno
NameDescriptionTypeAdditional information
_ejecucionCorrecta

boolean

None.

_valoresDevueltos

Collection of Object

None.

_objeto

string

None.

_metodo

string

None.

_error

Exception

None.

Response Formats

application/json, text/json

Sample:
{
  "_ejecucionCorrecta": true,
  "_valoresDevueltos": [
    {},
    {}
  ],
  "_objeto": "sample string 2",
  "_metodo": "sample string 3",
  "_error": {
    "ClassName": "System.Exception",
    "Message": null,
    "Data": null,
    "InnerException": null,
    "HelpURL": "sample string 1",
    "StackTraceString": null,
    "RemoteStackTraceString": null,
    "RemoteStackIndex": 0,
    "ExceptionMethod": null,
    "HResult": 3,
    "Source": "sample string 2",
    "WatsonBuckets": null
  }
}

text/html

Sample:
{"_ejecucionCorrecta":true,"_valoresDevueltos":[{},{}],"_objeto":"sample string 2","_metodo":"sample string 3","_error":{"ClassName":"System.Exception","Message":null,"Data":null,"InnerException":null,"HelpURL":"sample string 1","StackTraceString":null,"RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":3,"Source":"sample string 2","WatsonBuckets":null}}

application/xml, text/xml

Sample:
<Variables.estructuraRetorno xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BD_WIN">
  <_ejecucionCorrecta>true</_ejecucionCorrecta>
  <_error xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <ClassName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">System.Exception</ClassName>
    <Message i:nil="true" xmlns="" />
    <Data i:nil="true" xmlns="" />
    <InnerException i:nil="true" xmlns="" />
    <HelpURL xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</HelpURL>
    <StackTraceString i:nil="true" xmlns="" />
    <RemoteStackTraceString i:nil="true" xmlns="" />
    <RemoteStackIndex xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">0</RemoteStackIndex>
    <ExceptionMethod i:nil="true" xmlns="" />
    <HResult xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">3</HResult>
    <Source xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</Source>
    <WatsonBuckets i:nil="true" xmlns="" />
  </_error>
  <_metodo>sample string 3</_metodo>
  <_objeto>sample string 2</_objeto>
  <_valoresDevueltos xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:anyType />
    <d2p1:anyType />
  </_valoresDevueltos>
</Variables.estructuraRetorno>