POST api/citarpt

Request Information

URI Parameters

None.

Body Parameters

CitasRptRQT
NameDescriptionTypeAdditional information
Token

string

None.

Cita

string

None.

IDRol

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1",
  "Cita": "sample string 2",
  "IDRol": 3
}

text/xml

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

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

Response Information

Resource Description

CitasRptRPS
NameDescriptionTypeAdditional information
Data

Collection of CitasRptListRPS

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "Cita": "sample string 1",
      "Fecha": "sample string 2",
      "Nombre": "sample string 3",
      "Reprog": "sample string 4",
      "Estado": "sample string 5"
    },
    {
      "Cita": "sample string 1",
      "Fecha": "sample string 2",
      "Nombre": "sample string 3",
      "Reprog": "sample string 4",
      "Estado": "sample string 5"
    }
  ]
}

text/xml

Sample:
<CitasRptRPS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models">
  <Data>
    <CitasRptListRPS>
      <Cita>sample string 1</Cita>
      <Estado>sample string 5</Estado>
      <Fecha>sample string 2</Fecha>
      <Nombre>sample string 3</Nombre>
      <Reprog>sample string 4</Reprog>
    </CitasRptListRPS>
    <CitasRptListRPS>
      <Cita>sample string 1</Cita>
      <Estado>sample string 5</Estado>
      <Fecha>sample string 2</Fecha>
      <Nombre>sample string 3</Nombre>
      <Reprog>sample string 4</Reprog>
    </CitasRptListRPS>
  </Data>
</CitasRptRPS>