POST api/sinc/SocioContratista
Permite agregar socio a un contratista en el sistema SINC
Request Information
URI Parameters
None.
Body Parameters
AguasNuevas_SitioWeb_ServicioWeb.WSComercial.ContratistaEditarDatosRequestOfContratistaDatosSocioName | Description | Type | Additional information |
---|---|---|---|
AccessToken | string |
None. |
|
Datos | AguasNuevas_SitioWeb_ServicioWeb.WSComercial.ContratistaDatosSocio |
None. |
Request Formats
application/json, text/json
Sample:
{ "accessTokenField": "sample string 1", "datosField": { "idField": 1, "conIdField": 2, "poseeCredencialSissField": true, "rutField": 4, "dvField": "sample string 5", "nombreField": "sample string 6", "apellidoPatField": "sample string 7", "apellidoMatField": "sample string 8", "telefonoField": "sample string 9", "celularField": "sample string 10", "profesionIdField": 11, "profesionField": "sample string 12", "otraProfesionField": "sample string 13", "numCredencialField": "sample string 14", "fechaEmisionField": "sample string 15", "fechaVencimientoField": "sample string 16", "tipoInstaladorIdField": 17, "tipoInstaladorField": "sample string 18", "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:
<ContratistaEditarDatosRequestOfContratistaDatosSocio 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" /> <apellidoMatField>sample string 8</apellidoMatField> <apellidoPatField>sample string 7</apellidoPatField> <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> <celularField>sample string 10</celularField> <conIdField>2</conIdField> <dvField>sample string 5</dvField> <fechaEmisionField>sample string 15</fechaEmisionField> <fechaVencimientoField>sample string 16</fechaVencimientoField> <idField>1</idField> <nombreField>sample string 6</nombreField> <numCredencialField>sample string 14</numCredencialField> <otraProfesionField>sample string 13</otraProfesionField> <poseeCredencialSissField>true</poseeCredencialSissField> <profesionField>sample string 12</profesionField> <profesionIdField>11</profesionIdField> <rutField>4</rutField> <telefonoField>sample string 9</telefonoField> <tipoInstaladorField>sample string 18</tipoInstaladorField> <tipoInstaladorIdField>17</tipoInstaladorIdField> </datosField> </ContratistaEditarDatosRequestOfContratistaDatosSocio>
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>