POST api/listaralmace

Request Information

URI Parameters

None.

Body Parameters

AlmacenRQT
NameDescriptionTypeAdditional information
EmpaCodigo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EmpaCodigo": "sample string 1"
}

text/xml

Sample:
<AlmacenRQT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models">
  <EmpaCodigo>sample string 1</EmpaCodigo>
</AlmacenRQT>

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

Response Information

Resource Description

AlmacenRPS
NameDescriptionTypeAdditional information
Data

Collection of AlmacenListRPS

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "AlmaCodigo": "sample string 1",
      "AlmaDescripcion": "sample string 2"
    },
    {
      "AlmaCodigo": "sample string 1",
      "AlmaDescripcion": "sample string 2"
    }
  ]
}

text/xml

Sample:
<AlmacenRPS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models">
  <Data>
    <AlmacenListRPS>
      <AlmaCodigo>sample string 1</AlmaCodigo>
      <AlmaDescripcion>sample string 2</AlmaDescripcion>
    </AlmacenListRPS>
    <AlmacenListRPS>
      <AlmaCodigo>sample string 1</AlmaCodigo>
      <AlmaDescripcion>sample string 2</AlmaDescripcion>
    </AlmacenListRPS>
  </Data>
</AlmacenRPS>