POST api/sinc/SubirArchivo

Request Information

URI Parameters

None.

Body Parameters

AguasNuevas_SitioWeb_ServicioWeb.WSComercial.AdjuntoRequestOfAdjuntoDatos
NameDescriptionTypeAdditional information
AccessToken

string

None.

IsLegacy

boolean

None.

Datos

AguasNuevas_SitioWeb_ServicioWeb.WSComercial.AdjuntoDatos

None.

Request Formats

application/json, text/json

Sample:
{
  "accessTokenField": "sample string 1",
  "isLegacyField": true,
  "datosField": {
    "tadIdField": 1,
    "referenciaIdField": 2,
    "nombreField": "sample string 3",
    "archivo64Field": "sample string 4",
    "tipoIdField": 5,
    "awsIdField": "sample string 6",
    "chkIdField": 7,
    "camIdField": 8,
    "cktIdField": 9,
    "enaIdField": "sample string 10",
    "refTablaField": "sample string 11",
    "refColumnaField": "sample string 12",
    "PropertyChanged": null
  },
  "PropertyChanged": null
}

application/xml, text/xml

Sample:
<AdjuntoRequestOfAdjuntoDatos 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" />
    <archivo64Field>sample string 4</archivo64Field>
    <awsIdField>sample string 6</awsIdField>
    <camIdField>8</camIdField>
    <chkIdField>7</chkIdField>
    <cktIdField>9</cktIdField>
    <enaIdField>sample string 10</enaIdField>
    <nombreField>sample string 3</nombreField>
    <refColumnaField>sample string 12</refColumnaField>
    <refTablaField>sample string 11</refTablaField>
    <referenciaIdField>2</referenciaIdField>
    <tadIdField>1</tadIdField>
    <tipoIdField>5</tipoIdField>
  </datosField>
  <isLegacyField>true</isLegacyField>
</AdjuntoRequestOfAdjuntoDatos>

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.AdjuntoRequestOfAdjuntoDatos'.

Response Information

Resource Description

AguasNuevas_SitioWeb_ServicioWeb.WSComercial.AdjuntoResponse
NameDescriptionTypeAdditional information
Status

AguasNuevas_SitioWeb_ServicioWeb.WSComercial.Status

None.

Id

string

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<AdjuntoResponse 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>sample string 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>
</AdjuntoResponse>