POST LeonCitas/CrearSolicitud
Request Information
URI Parameters
None.
Body Parameters
CrearSolicitudViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| yIdPaciente | integer |
None. |
|
| CorreoSolicitante | string |
None. |
|
| NumeroContacto | string |
None. |
|
| Descripcion | string |
None. |
|
| Tipo | integer |
None. |
|
| UsuarioId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"yIdPaciente": 1,
"CorreoSolicitante": "sample string 2",
"NumeroContacto": "sample string 3",
"Descripcion": "sample string 4",
"Tipo": 5,
"UsuarioId": 6
}
multipart/form-data
Sample:
{"$id":"1","yIdPaciente":1,"CorreoSolicitante":"sample string 2","NumeroContacto":"sample string 3","Descripcion":"sample string 4","Tipo":5,"UsuarioId":6}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SolicitudCreadaViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SolicitudId | integer |
None. |
|
| Estado | integer |
None. |
|
| Tipo | integer |
None. |
|
| FechaSolicitud | date |
None. |
|
| FechaGestion | date |
None. |
|
| Descripcion | string |
None. |
|
| Telefono | string |
None. |
|
| CorreoSolicitante | string |
None. |
|
| NombreTipo | string |
None. |
|
| NombreEstado | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"SolicitudId": 1,
"Estado": 2,
"Tipo": 3,
"FechaSolicitud": "2025-12-15T07:22:54.9351958-05:00",
"FechaGestion": "2025-12-15T07:22:54.9351958-05:00",
"Descripcion": "sample string 5",
"Telefono": "sample string 6",
"CorreoSolicitante": "sample string 7",
"NombreTipo": "",
"NombreEstado": "En Gestión"
}
multipart/form-data
Sample:
{"$id":"1","SolicitudId":1,"Estado":2,"Tipo":3,"FechaSolicitud":"2025-12-15T07:22:54.9351958-05:00","FechaGestion":"2025-12-15T07:22:54.9351958-05:00","Descripcion":"sample string 5","Telefono":"sample string 6","CorreoSolicitante":"sample string 7","NombreTipo":"","NombreEstado":"En Gestión"}