PUT api/sinc/SocioContratista
Permite modificar socio a un contratista en el sistema SINC
Request Information
URI Parameters
None.
Body Parameters
AguasNuevas_SitioWeb_ServicioWeb.WSComercial.ContratistaEditarDatosRequestOfContratistaDatosSocioEditarName | Description | Type | Additional information |
---|---|---|---|
AccessToken | string |
None. |
|
Datos | AguasNuevas_SitioWeb_ServicioWeb.WSComercial.ContratistaDatosSocioEditar |
None. |
Request Formats
application/json, text/json
Sample:
{ "accessTokenField": "sample string 1", "datosField": { "idField": 1, "poseeCredencialSissField": true, "profesionIdField": 3, "otraProfesionField": "sample string 4", "numCredencialField": "sample string 5", "fechaEmisionField": "sample string 6", "fechaVencimientoField": "sample string 7", "tipoInstaladorIdField": 8, "archivoCedulaField": { "configIdField": 1, "archivo64Field": "sample string 2", "nombreField": "sample string 3", "idField": "sample string 4", "PropertyChanged": null }, "archivoCertificadoTituloField": { "configIdField": 1, "archivo64Field": "sample string 2", "nombreField": "sample string 3", "idField": "sample string 4", "PropertyChanged": null }, "archivoCredencialSISSField": { "configIdField": 1, "archivo64Field": "sample string 2", "nombreField": "sample string 3", "idField": "sample string 4", "PropertyChanged": null }, "PropertyChanged": null }, "PropertyChanged": null }
application/xml, text/xml
Sample:
<ContratistaEditarDatosRequestOfContratistaDatosSocioEditar xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AguasNuevas_SitioWeb_ServicioWeb.WSComercial"> <PropertyChanged xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" /> <accessTokenField>sample string 1</accessTokenField> <datosField> <PropertyChanged xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" /> <archivoCedulaField> <PropertyChanged xmlns:d4p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" /> <idField>sample string 4</idField> <nombreField>sample string 3</nombreField> <archivo64Field>sample string 2</archivo64Field> <configIdField>1</configIdField> </archivoCedulaField> <archivoCertificadoTituloField> <PropertyChanged xmlns:d4p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" /> <idField>sample string 4</idField> <nombreField>sample string 3</nombreField> <archivo64Field>sample string 2</archivo64Field> <configIdField>1</configIdField> </archivoCertificadoTituloField> <archivoCredencialSISSField> <PropertyChanged xmlns:d4p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" /> <idField>sample string 4</idField> <nombreField>sample string 3</nombreField> <archivo64Field>sample string 2</archivo64Field> <configIdField>1</configIdField> </archivoCredencialSISSField> <fechaEmisionField>sample string 6</fechaEmisionField> <fechaVencimientoField>sample string 7</fechaVencimientoField> <idField>1</idField> <numCredencialField>sample string 5</numCredencialField> <otraProfesionField>sample string 4</otraProfesionField> <poseeCredencialSissField>true</poseeCredencialSissField> <profesionIdField>3</profesionIdField> <tipoInstaladorIdField>8</tipoInstaladorIdField> </datosField> </ContratistaEditarDatosRequestOfContratistaDatosSocioEditar>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
AguasNuevas_SitioWeb_ServicioWeb.WSComercial.ContratistaSocioResponseName | Description | Type | Additional information |
---|---|---|---|
Status | AguasNuevas_SitioWeb_ServicioWeb.WSComercial.Status |
None. |
|
Id | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "statusField": { "isOKField": true, "mensajeField": "sample string 2", "tokenSoporteField": "sample string 3", "PropertyChanged": null }, "idField": 1, "PropertyChanged": null }
application/xml, text/xml
Sample:
<ContratistaSocioResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AguasNuevas_SitioWeb_ServicioWeb.WSComercial"> <PropertyChanged xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" /> <idField>1</idField> <statusField> <PropertyChanged xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" /> <isOKField>true</isOKField> <mensajeField>sample string 2</mensajeField> <tokenSoporteField>sample string 3</tokenSoporteField> </statusField> </ContratistaSocioResponse>