PUT api/sinc/ContratistaDatosCategoria
Permite modificar la categoria del contratista en el sistema SINC
Request Information
URI Parameters
None.
Body Parameters
AguasNuevas_SitioWeb_ServicioWeb.WSComercial.ContratistaEditarDatosRequestOfContratistaDatosCategoriaEditar| Name | Description | Type | Additional information |
|---|---|---|---|
| AccessToken | string |
None. |
|
| Datos | AguasNuevas_SitioWeb_ServicioWeb.WSComercial.ContratistaDatosCategoriaEditar |
None. |
Request Formats
application/json, text/json
Sample:
{
"accessTokenField": "sample string 1",
"datosField": {
"catIdField": 1,
"PropertyChanged": null
},
"PropertyChanged": null
}
application/xml, text/xml
Sample:
<ContratistaEditarDatosRequestOfContratistaDatosCategoriaEditar 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" />
<catIdField>1</catIdField>
</datosField>
</ContratistaEditarDatosRequestOfContratistaDatosCategoriaEditar>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
AguasNuevas_SitioWeb_ServicioWeb.WSComercial.ContratistaDatosEditarResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Status | AguasNuevas_SitioWeb_ServicioWeb.WSComercial.Status |
None. |
Response Formats
application/json, text/json
Sample:
{
"idField": 1,
"statusField": {
"isOKField": true,
"mensajeField": "sample string 2",
"tokenSoporteField": "sample string 3",
"PropertyChanged": null
},
"PropertyChanged": null
}
application/xml, text/xml
Sample:
<ContratistaDatosEditarResponse 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>
</ContratistaDatosEditarResponse>