POST api/sinc/RegistroContratista
Permite registrar contratista en el sistema SINC
Request Information
URI Parameters
None.
Body Parameters
AguasNuevas_SitioWeb_ServicioWeb.WSComercial.RegistroContratistaRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| EmpresaId | integer |
None. |
|
| CatId | integer |
None. |
|
| TpcId | integer |
None. |
|
| Rut | integer |
None. |
|
| Dv | string |
None. |
|
| Nombre | string |
None. |
|
| ApellidoPat | string |
None. |
|
| ApellidoMat | string |
None. |
|
| Nacionalidad | string |
None. |
|
| string |
None. |
||
| Calle | string |
None. |
|
| NroMunicipal | string |
None. |
|
| Comuna | integer |
None. |
|
| Ciudad | integer |
None. |
|
| Telefono | string |
None. |
|
| Celular | string |
None. |
|
| EsProfesional | boolean |
None. |
|
| Universidad | string |
None. |
|
| ProfesionId | integer |
None. |
|
| NumCredencial | string |
None. |
|
| FechaEmision | string |
None. |
|
| FechaVencimiento | string |
None. |
|
| InstaladorId | integer |
None. |
|
| GiroId | integer |
None. |
|
| GiroOtro | string |
None. |
|
| RepreLegalRut | integer |
None. |
|
| RepreLegalDv | string |
None. |
|
| RepreLegalNombre | string |
None. |
|
| RepreLegalApellidoPat | string |
None. |
|
| RepreLegalApellidoMat | string |
None. |
|
| RepreLegalTelefono | string |
None. |
|
| RepreLegalCelular | string |
None. |
|
| ContactoRut | integer |
None. |
|
| ContactoDv | string |
None. |
|
| ContactoNombre | string |
None. |
|
| ContactoApellidoPat | string |
None. |
|
| ContactoApellidoMat | string |
None. |
|
| ContactoTelefono | string |
None. |
|
| ContactoCelular | string |
None. |
|
| ContactoEmail | string |
None. |
|
| LocalidadesIds | string |
None. |
|
| ArchivoCedula | AguasNuevas_SitioWeb_ServicioWeb.WSComercial.Archivo |
None. |
|
| ArchivoCertificadoTitulo | AguasNuevas_SitioWeb_ServicioWeb.WSComercial.Archivo |
None. |
|
| ArchivoCredencialSISS | AguasNuevas_SitioWeb_ServicioWeb.WSComercial.Archivo |
None. |
Request Formats
application/json, text/json
Sample:
{
"idField": 1,
"empresaIdField": 2,
"catIdField": 3,
"tpcIdField": 4,
"rutField": 5,
"dvField": "sample string 6",
"nombreField": "sample string 7",
"apellidoPatField": "sample string 8",
"apellidoMatField": "sample string 9",
"nacionalidadField": "sample string 10",
"emailField": "sample string 11",
"calleField": "sample string 12",
"nroMunicipalField": "sample string 13",
"comunaField": 14,
"ciudadField": 15,
"telefonoField": "sample string 16",
"celularField": "sample string 17",
"esProfesionalField": true,
"universidadField": "sample string 19",
"profesionIdField": 20,
"numCredencialField": "sample string 21",
"fechaEmisionField": "sample string 22",
"fechaVencimientoField": "sample string 23",
"instaladorIdField": 24,
"giroIdField": 25,
"giroOtroField": "sample string 26",
"repreLegalRutField": 27,
"repreLegalDvField": "sample string 28",
"repreLegalNombreField": "sample string 29",
"repreLegalApellidoPatField": "sample string 30",
"repreLegalApellidoMatField": "sample string 31",
"repreLegalTelefonoField": "sample string 32",
"repreLegalCelularField": "sample string 33",
"contactoRutField": 34,
"contactoDvField": "sample string 35",
"contactoNombreField": "sample string 36",
"contactoApellidoPatField": "sample string 37",
"contactoApellidoMatField": "sample string 38",
"contactoTelefonoField": "sample string 39",
"contactoCelularField": "sample string 40",
"contactoEmailField": "sample string 41",
"localidadesIdsField": "sample string 42",
"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
}
application/xml, text/xml
Sample:
<RegistroContratistaRequest 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" />
<apellidoMatField>sample string 9</apellidoMatField>
<apellidoPatField>sample string 8</apellidoPatField>
<archivoCedulaField>
<PropertyChanged xmlns:d3p1="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:d3p1="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:d3p1="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>
<calleField>sample string 12</calleField>
<catIdField>3</catIdField>
<celularField>sample string 17</celularField>
<ciudadField>15</ciudadField>
<comunaField>14</comunaField>
<contactoApellidoMatField>sample string 38</contactoApellidoMatField>
<contactoApellidoPatField>sample string 37</contactoApellidoPatField>
<contactoCelularField>sample string 40</contactoCelularField>
<contactoDvField>sample string 35</contactoDvField>
<contactoEmailField>sample string 41</contactoEmailField>
<contactoNombreField>sample string 36</contactoNombreField>
<contactoRutField>34</contactoRutField>
<contactoTelefonoField>sample string 39</contactoTelefonoField>
<dvField>sample string 6</dvField>
<emailField>sample string 11</emailField>
<empresaIdField>2</empresaIdField>
<esProfesionalField>true</esProfesionalField>
<fechaEmisionField>sample string 22</fechaEmisionField>
<fechaVencimientoField>sample string 23</fechaVencimientoField>
<giroIdField>25</giroIdField>
<giroOtroField>sample string 26</giroOtroField>
<idField>1</idField>
<instaladorIdField>24</instaladorIdField>
<localidadesIdsField>sample string 42</localidadesIdsField>
<nacionalidadField>sample string 10</nacionalidadField>
<nombreField>sample string 7</nombreField>
<nroMunicipalField>sample string 13</nroMunicipalField>
<numCredencialField>sample string 21</numCredencialField>
<profesionIdField>20</profesionIdField>
<repreLegalApellidoMatField>sample string 31</repreLegalApellidoMatField>
<repreLegalApellidoPatField>sample string 30</repreLegalApellidoPatField>
<repreLegalCelularField>sample string 33</repreLegalCelularField>
<repreLegalDvField>sample string 28</repreLegalDvField>
<repreLegalNombreField>sample string 29</repreLegalNombreField>
<repreLegalRutField>27</repreLegalRutField>
<repreLegalTelefonoField>sample string 32</repreLegalTelefonoField>
<rutField>5</rutField>
<telefonoField>sample string 16</telefonoField>
<tpcIdField>4</tpcIdField>
<universidadField>sample string 19</universidadField>
</RegistroContratistaRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
AguasNuevas_SitioWeb_ServicioWeb.WSComercial.RegistroContratistaResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | AguasNuevas_SitioWeb_ServicioWeb.WSComercial.Status |
None. |
|
| AccessToken | string |
None. |
|
| Id | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"statusField": {
"isOKField": true,
"mensajeField": "sample string 2",
"tokenSoporteField": "sample string 3",
"PropertyChanged": null
},
"accessTokenField": "sample string 1",
"idField": 2,
"PropertyChanged": null
}
application/xml, text/xml
Sample:
<RegistroContratistaResponse 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>
<idField>2</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>
</RegistroContratistaResponse>