POST api/sinc/RegistroSolicitudCorte

Registrar solicitud de Corte SINC

Request Information

URI Parameters

None.

Body Parameters

AguasNuevas_SitioWeb_ServicioWeb.WSComercial.SolicitudCorteRegistroRequest
NameDescriptionTypeAdditional information
AccessToken

string

None.

SolicitudId

integer

None.

ArchivoFactura

AguasNuevas_SitioWeb_ServicioWeb.WSComercial.Archivo

None.

ArchivoCroquis

AguasNuevas_SitioWeb_ServicioWeb.WSComercial.Archivo

None.

ArchivoCertificado

AguasNuevas_SitioWeb_ServicioWeb.WSComercial.Archivo

None.

ArchivoEsquema

AguasNuevas_SitioWeb_ServicioWeb.WSComercial.Archivo

None.

ArchivoCuadrilla

AguasNuevas_SitioWeb_ServicioWeb.WSComercial.Archivo

None.

ArchivoEquipos

AguasNuevas_SitioWeb_ServicioWeb.WSComercial.Archivo

None.

ArchivoPlanB

AguasNuevas_SitioWeb_ServicioWeb.WSComercial.Archivo

None.

Request Formats

application/json, text/json

Sample:
{
  "accessTokenField": "sample string 1",
  "solicitudIdField": 2,
  "archivoFacturaField": {
    "configIdField": 1,
    "archivo64Field": "sample string 2",
    "nombreField": "sample string 3",
    "idField": "sample string 4",
    "PropertyChanged": null
  },
  "archivoCroquisField": {
    "configIdField": 1,
    "archivo64Field": "sample string 2",
    "nombreField": "sample string 3",
    "idField": "sample string 4",
    "PropertyChanged": null
  },
  "archivoCertificadoField": {
    "configIdField": 1,
    "archivo64Field": "sample string 2",
    "nombreField": "sample string 3",
    "idField": "sample string 4",
    "PropertyChanged": null
  },
  "archivoEsquemaField": {
    "configIdField": 1,
    "archivo64Field": "sample string 2",
    "nombreField": "sample string 3",
    "idField": "sample string 4",
    "PropertyChanged": null
  },
  "archivoCuadrillaField": {
    "configIdField": 1,
    "archivo64Field": "sample string 2",
    "nombreField": "sample string 3",
    "idField": "sample string 4",
    "PropertyChanged": null
  },
  "archivoEquiposField": {
    "configIdField": 1,
    "archivo64Field": "sample string 2",
    "nombreField": "sample string 3",
    "idField": "sample string 4",
    "PropertyChanged": null
  },
  "archivoPlanBField": {
    "configIdField": 1,
    "archivo64Field": "sample string 2",
    "nombreField": "sample string 3",
    "idField": "sample string 4",
    "PropertyChanged": null
  },
  "PropertyChanged": null
}

application/xml, text/xml

Sample:
<SolicitudCorteRegistroRequest 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>
  <archivoCertificadoField>
    <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>
  </archivoCertificadoField>
  <archivoCroquisField>
    <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>
  </archivoCroquisField>
  <archivoCuadrillaField>
    <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>
  </archivoCuadrillaField>
  <archivoEquiposField>
    <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>
  </archivoEquiposField>
  <archivoEsquemaField>
    <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>
  </archivoEsquemaField>
  <archivoFacturaField>
    <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>
  </archivoFacturaField>
  <archivoPlanBField>
    <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>
  </archivoPlanBField>
  <solicitudIdField>2</solicitudIdField>
</SolicitudCorteRegistroRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'System.Web.Http.ModelBinding.JQueryMvcFormUrlEncodedFormatter' to write type 'AguasNuevas_SitioWeb_ServicioWeb.WSComercial.SolicitudCorteRegistroRequest'.

Response Information

Resource Description

AguasNuevas_SitioWeb_ServicioWeb.WSComercial.DatoResponseOfSolicitudCorteRegistroResponse
NameDescriptionTypeAdditional information
Status

AguasNuevas_SitioWeb_ServicioWeb.WSComercial.Status

None.

Dato

AguasNuevas_SitioWeb_ServicioWeb.WSComercial.SolicitudCorteRegistroResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "statusField": {
    "isOKField": true,
    "mensajeField": "sample string 2",
    "tokenSoporteField": "sample string 3",
    "PropertyChanged": null
  },
  "datoField": {
    "idField": 1,
    "PropertyChanged": null
  },
  "PropertyChanged": null
}

application/xml, text/xml

Sample:
<DatoResponseOfSolicitudCorteRegistroResponse 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" />
  <datoField>
    <PropertyChanged xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
    <idField>1</idField>
  </datoField>
  <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>
</DatoResponseOfSolicitudCorteRegistroResponse>