POST api/InsertPedido
Request Information
URI Parameters
None.
Body Parameters
PedidoRequestName | Description | Type | Additional information |
---|---|---|---|
CodigoPostalRemitente | string |
None. |
|
CalleRemitente | string |
None. |
|
CalleNroRemitente | string |
None. |
|
NombreApellidoDestinatario | string |
None. |
|
CodigoPostalDestinatario | string |
None. |
|
CalleDestinatario | string |
None. |
|
CalleNroDestinatario | string |
None. |
|
TelefonoDestinatario | string |
None. |
|
TelefonoRemitente | 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. |
|
ModalidadEntregaID | integer |
None. |
|
servicio | ServicioRequest |
None. |
|
logueo | LogueoRequest |
None. |
|
CodigoAgrupacion | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "CodigoPostalRemitente": "sample string 1", "CalleRemitente": "sample string 2", "CalleNroRemitente": "sample string 3", "NombreApellidoDestinatario": "sample string 4", "CodigoPostalDestinatario": "sample string 5", "CalleDestinatario": "sample string 6", "CalleNroDestinatario": "sample string 7", "TelefonoDestinatario": "sample string 8", "TelefonoRemitente": "sample string 9", "MailDestinatario": "sample string 10", "NroRemito": "sample string 11", "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 12", "ModalidadEntregaID": 1, "servicio": { "EsFletePagoDestino": true, "EsRemitoconformado": true }, "logueo": { "Usuario": "sample string 1", "Clave": "sample string 2", "CodigoCliente": "sample string 3" }, "CodigoAgrupacion": 13 }
application/xml, text/xml
Sample:
<PedidoRequest 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 3</CalleNroRemitente> <CalleRemitente>sample string 2</CalleRemitente> <CodigoAgrupacion>13</CodigoAgrupacion> <CodigoPostalDestinatario>sample string 5</CodigoPostalDestinatario> <CodigoPostalRemitente>sample string 1</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 10</MailDestinatario> <ModalidadEntregaID>1</ModalidadEntregaID> <NombreApellidoDestinatario>sample string 4</NombreApellidoDestinatario> <NroRemito>sample string 11</NroRemito> <Observaciones>sample string 12</Observaciones> <Peso>1.1</Peso> <TelefonoDestinatario>sample string 8</TelefonoDestinatario> <TelefonoRemitente>sample string 9</TelefonoRemitente> <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> </PedidoRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.