POST api/citasconsultarhoras

Request Information

URI Parameters

None.

Body Parameters

CitasConsultarHorasRQT
NameDescriptionTypeAdditional information
Token

string

None.

IDRol

integer

None.

Fecha

string

None.

Registro

string

None.

TipoCarga

string

None.

Almacen

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1",
  "IDRol": 2,
  "Fecha": "sample string 3",
  "Registro": "sample string 4",
  "TipoCarga": "sample string 5",
  "Almacen": "sample string 6"
}

text/xml

Sample:
<CitasConsultarHorasRQT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models">
  <Almacen>sample string 6</Almacen>
  <Fecha>sample string 3</Fecha>
  <IDRol>2</IDRol>
  <Registro>sample string 4</Registro>
  <TipoCarga>sample string 5</TipoCarga>
  <Token>sample string 1</Token>
</CitasConsultarHorasRQT>

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

Response Information

Resource Description

CitasConsultarHorasRPS
NameDescriptionTypeAdditional information
Data

Collection of CitasConsultarHorasListRPS

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "RetiCuotCodigo": 1,
      "RetiCuotHora": 2,
      "HoraProg": "sample string 3",
      "CantidadDisponible": 4
    },
    {
      "RetiCuotCodigo": 1,
      "RetiCuotHora": 2,
      "HoraProg": "sample string 3",
      "CantidadDisponible": 4
    }
  ]
}

text/xml

Sample:
<CitasConsultarHorasRPS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models">
  <Data>
    <CitasConsultarHorasListRPS>
      <CantidadDisponible>4</CantidadDisponible>
      <HoraProg>sample string 3</HoraProg>
      <RetiCuotCodigo>1</RetiCuotCodigo>
      <RetiCuotHora>2</RetiCuotHora>
    </CitasConsultarHorasListRPS>
    <CitasConsultarHorasListRPS>
      <CantidadDisponible>4</CantidadDisponible>
      <HoraProg>sample string 3</HoraProg>
      <RetiCuotCodigo>1</RetiCuotCodigo>
      <RetiCuotHora>2</RetiCuotHora>
    </CitasConsultarHorasListRPS>
  </Data>
</CitasConsultarHorasRPS>