POST api/consultarStockCSRegDetalle

Request Information

URI Parameters

None.

Body Parameters

StockCSRegistroDetalleRQT
NameDescriptionTypeAdditional information
IDUser

integer

None.

IDRol

integer

None.

Almacen

string

None.

Registro

string

None.

Request Formats

application/json, text/json

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

text/xml

Sample:
<StockCSRegistroDetalleRQT 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>
  <Registro>sample string 4</Registro>
</StockCSRegistroDetalleRQT>

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

Response Information

Resource Description

StockCSRegistroDetalleRPS
NameDescriptionTypeAdditional information
Registro

string

None.

Almacen

string

None.

Total

integer

None.

Data

Collection of StockCSRegistroDetalleListRPS

None.

Response Formats

application/json, text/json

Sample:
{
  "Registro": "sample string 1",
  "Almacen": "sample string 2",
  "Total": 3,
  "Data": [
    {
      "Decripcion": "sample string 1",
      "Cantidad": 2,
      "FechaIngreso": "sample string 3",
      "DiasAlma": 4
    },
    {
      "Decripcion": "sample string 1",
      "Cantidad": 2,
      "FechaIngreso": "sample string 3",
      "DiasAlma": 4
    }
  ]
}

text/xml

Sample:
<StockCSRegistroDetalleRPS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models">
  <Almacen>sample string 2</Almacen>
  <Data>
    <StockCSRegistroDetalleListRPS>
      <Cantidad>2</Cantidad>
      <Decripcion>sample string 1</Decripcion>
      <DiasAlma>4</DiasAlma>
      <FechaIngreso>sample string 3</FechaIngreso>
    </StockCSRegistroDetalleListRPS>
    <StockCSRegistroDetalleListRPS>
      <Cantidad>2</Cantidad>
      <Decripcion>sample string 1</Decripcion>
      <DiasAlma>4</DiasAlma>
      <FechaIngreso>sample string 3</FechaIngreso>
    </StockCSRegistroDetalleListRPS>
  </Data>
  <Registro>sample string 1</Registro>
  <Total>3</Total>
</StockCSRegistroDetalleRPS>