POST api/cita

Request Information

URI Parameters

None.

Body Parameters

CitaCreateDto
NameDescriptionTypeAdditional information
ID_ASN

integer

None.

Tipo_Agendamiento

integer

None.

MesonID

integer

None.

Fecha_Hora_Inicio

date

None.

Fecha_Hora_Fin

date

None.

Direccion_Retiro

string

None.

Hora_Ventana_Desde

time interval

None.

Hora_Ventana_Hasta

time interval

None.

ID_Recogedor

integer

None.

ID_Vehiculo_Retiro

integer

None.

Genera_Viaje_Directo

boolean

None.

Observaciones

string

None.

ID_ProveedorOCDireccion

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID_ASN": 1,
  "Tipo_Agendamiento": 2,
  "MesonID": 1,
  "Fecha_Hora_Inicio": "2026-08-20T15:19:00.6309185-04:00",
  "Fecha_Hora_Fin": "2026-08-20T15:19:00.6309185-04:00",
  "Direccion_Retiro": "sample string 5",
  "Hora_Ventana_Desde": "00:00:00.1234567",
  "Hora_Ventana_Hasta": "00:00:00.1234567",
  "ID_Recogedor": 1,
  "ID_Vehiculo_Retiro": 1,
  "Genera_Viaje_Directo": true,
  "Observaciones": "sample string 7",
  "ID_ProveedorOCDireccion": 1
}

text/html

Sample:
{"ID_ASN":1,"Tipo_Agendamiento":2,"MesonID":1,"Fecha_Hora_Inicio":"2026-08-20T15:19:00.6309185-04:00","Fecha_Hora_Fin":"2026-08-20T15:19:00.6309185-04:00","Direccion_Retiro":"sample string 5","Hora_Ventana_Desde":"00:00:00.1234567","Hora_Ventana_Hasta":"00:00:00.1234567","ID_Recogedor":1,"ID_Vehiculo_Retiro":1,"Genera_Viaje_Directo":true,"Observaciones":"sample string 7","ID_ProveedorOCDireccion":1}

application/xml, text/xml

Sample:
<CitaCreateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMS.API.Controllers">
  <Direccion_Retiro>sample string 5</Direccion_Retiro>
  <Fecha_Hora_Fin>2026-08-20T15:19:00.6309185-04:00</Fecha_Hora_Fin>
  <Fecha_Hora_Inicio>2026-08-20T15:19:00.6309185-04:00</Fecha_Hora_Inicio>
  <Genera_Viaje_Directo>true</Genera_Viaje_Directo>
  <Hora_Ventana_Desde>PT0.1234567S</Hora_Ventana_Desde>
  <Hora_Ventana_Hasta>PT0.1234567S</Hora_Ventana_Hasta>
  <ID_ASN>1</ID_ASN>
  <ID_ProveedorOCDireccion>1</ID_ProveedorOCDireccion>
  <ID_Recogedor>1</ID_Recogedor>
  <ID_Vehiculo_Retiro>1</ID_Vehiculo_Retiro>
  <MesonID>1</MesonID>
  <Observaciones>sample string 7</Observaciones>
  <Tipo_Agendamiento>2</Tipo_Agendamiento>
</CitaCreateDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.