POST api/InsertEtiqueta

Request Information

URI Parameters

None.

Body Parameters

PedidoEtiquetas
NameDescriptionTypeAdditional information
CalleRemitente

string

None.

CalleNroRemitente

string

None.

CodigoPostalRemitente

string

None.

NombreApellidoDestinatario

string

None.

CodigoPostalDestinatario

string

None.

CalleDestinatario

string

None.

CalleNroDestinatario

string

None.

TelefonoDestinatario

string

None.

MailDestinatario

string

None.

NroRemito

string

None.

Bultos

integer

None.

Peso

decimal number

None.

ValorDeclarado

integer

None.

M3

decimal number

None.

Alto

Collection of decimal number

None.

Ancho

Collection of decimal number

None.

Largo

Collection of decimal number

None.

Observaciones

string

None.

ModalidadEntrega

string

None.

UnidadVenta

string

None.

servicio

ServicioRequest

None.

logueo

LogueoRequest

None.

Request Formats

application/json, text/json

Sample:
{
  "CalleRemitente": "sample string 1",
  "CalleNroRemitente": "sample string 2",
  "CodigoPostalRemitente": "sample string 3",
  "NombreApellidoDestinatario": "sample string 4",
  "CodigoPostalDestinatario": "sample string 5",
  "CalleDestinatario": "sample string 6",
  "CalleNroDestinatario": "sample string 7",
  "TelefonoDestinatario": "sample string 8",
  "MailDestinatario": "sample string 9",
  "NroRemito": "sample string 10",
  "Bultos": 1,
  "Peso": 1.1,
  "ValorDeclarado": 1,
  "M3": 1.1,
  "Alto": [
    1.1,
    2.1
  ],
  "Ancho": [
    1.1,
    2.1
  ],
  "Largo": [
    1.1,
    2.1
  ],
  "Observaciones": "sample string 11",
  "ModalidadEntrega": "sample string 12",
  "UnidadVenta": "sample string 13",
  "servicio": {
    "EsFletePagoDestino": true,
    "EsRemitoconformado": true
  },
  "logueo": {
    "Usuario": "sample string 1",
    "Clave": "sample string 2",
    "CodigoCliente": "sample string 3"
  }
}

application/xml, text/xml

Sample:
<PedidoEtiquetas xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiAndesmar.Request">
  <Alto xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:double>1.1</d2p1:double>
    <d2p1:double>2.1</d2p1:double>
  </Alto>
  <Ancho xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:double>1.1</d2p1:double>
    <d2p1:double>2.1</d2p1:double>
  </Ancho>
  <Bultos>1</Bultos>
  <CalleDestinatario>sample string 6</CalleDestinatario>
  <CalleNroDestinatario>sample string 7</CalleNroDestinatario>
  <CalleNroRemitente>sample string 2</CalleNroRemitente>
  <CalleRemitente>sample string 1</CalleRemitente>
  <CodigoPostalDestinatario>sample string 5</CodigoPostalDestinatario>
  <CodigoPostalRemitente>sample string 3</CodigoPostalRemitente>
  <Largo xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:double>1.1</d2p1:double>
    <d2p1:double>2.1</d2p1:double>
  </Largo>
  <M3>1.1</M3>
  <MailDestinatario>sample string 9</MailDestinatario>
  <ModalidadEntrega>sample string 12</ModalidadEntrega>
  <NombreApellidoDestinatario>sample string 4</NombreApellidoDestinatario>
  <NroRemito>sample string 10</NroRemito>
  <Observaciones>sample string 11</Observaciones>
  <Peso>1.1</Peso>
  <TelefonoDestinatario>sample string 8</TelefonoDestinatario>
  <UnidadVenta>sample string 13</UnidadVenta>
  <ValorDeclarado>1</ValorDeclarado>
  <logueo>
    <Clave>sample string 2</Clave>
    <CodigoCliente>sample string 3</CodigoCliente>
    <Usuario>sample string 1</Usuario>
  </logueo>
  <servicio>
    <EsFletePagoDestino>true</EsFletePagoDestino>
    <EsRemitoconformado>true</EsRemitoconformado>
  </servicio>
</PedidoEtiquetas>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PedidoEtiquetas'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.