POST api/XmlJsonTransformation?xmlToEdit={xmlToEdit}&DTE={DTE}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
xmlToEdit

string

Required

DTE

string

Required

Body Parameters

WalmartAdenda
NameDescriptionTypeAdditional information
Store

string

None.

GLN

string

None.

Tienda

string

None.

Formato

string

None.

Pais

string

None.

Direccion

string

None.

NumeroOrden

string

None.

FechaOrden

string

None.

NumeroVendedor

string

None.

IDGLN

string

None.

NumeroReceptor

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Store": "sample string 1",
  "GLN": "sample string 2",
  "Tienda": "sample string 3",
  "Formato": "sample string 4",
  "Pais": "sample string 5",
  "Direccion": "sample string 6",
  "NumeroOrden": "sample string 7",
  "FechaOrden": "sample string 8",
  "NumeroVendedor": "sample string 9",
  "IDGLN": "sample string 10",
  "NumeroReceptor": "sample string 11"
}

application/xml, text/xml

Sample:
<WalmartAdenda xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_APPConector.Models.Complementos">
  <Direccion>sample string 6</Direccion>
  <FechaOrden>sample string 8</FechaOrden>
  <Formato>sample string 4</Formato>
  <GLN>sample string 2</GLN>
  <IDGLN>sample string 10</IDGLN>
  <NumeroOrden>sample string 7</NumeroOrden>
  <NumeroReceptor>sample string 11</NumeroReceptor>
  <NumeroVendedor>sample string 9</NumeroVendedor>
  <Pais>sample string 5</Pais>
  <Store>sample string 1</Store>
  <Tienda>sample string 3</Tienda>
</WalmartAdenda>

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

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>