POST api/consultarStockCSReg

Request Information

URI Parameters

None.

Body Parameters

StockCSRegistroRQT
NameDescriptionTypeAdditional information
IDUser

integer

None.

IDRol

integer

None.

Almacen

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IDUser": 1,
  "IDRol": 2,
  "Almacen": "sample string 3"
}

text/xml

Sample:
<StockCSRegistroRQT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models">
  <Almacen>sample string 3</Almacen>
  <IDRol>2</IDRol>
  <IDUser>1</IDUser>
</StockCSRegistroRQT>

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

Response Information

Resource Description

StockCSRegistroRPS
NameDescriptionTypeAdditional information
Cod

integer

None.

Msj

string

None.

Data

Collection of StockCSRegistroListRPS

None.

Response Formats

application/json, text/json

Sample:
{
  "Cod": 1,
  "Msj": "sample string 2",
  "Data": [
    {
      "Registro": "sample string 1",
      "EntiCodigoTarifa": "sample string 2"
    },
    {
      "Registro": "sample string 1",
      "EntiCodigoTarifa": "sample string 2"
    }
  ]
}

text/xml

Sample:
<StockCSRegistroRPS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models">
  <Cod>1</Cod>
  <Data>
    <StockCSRegistroListRPS>
      <EntiCodigoTarifa>sample string 2</EntiCodigoTarifa>
      <Registro>sample string 1</Registro>
    </StockCSRegistroListRPS>
    <StockCSRegistroListRPS>
      <EntiCodigoTarifa>sample string 2</EntiCodigoTarifa>
      <Registro>sample string 1</Registro>
    </StockCSRegistroListRPS>
  </Data>
  <Msj>sample string 2</Msj>
</StockCSRegistroRPS>