GET api/Orden/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
OrderDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| OrdenId | decimal number |
None. |
|
| MesaId | decimal number |
None. |
|
| Fecha | date |
None. |
|
| MeseroId | decimal number |
None. |
|
| Estado | string |
None. |
|
| Mesas | MesasDTO |
None. |
|
| Detalles | Collection of DetalleOrdenDTO |
None. |
Response Formats
application/json, text/json
Sample:
{
"OrdenId": 1.0,
"MesaId": 2.0,
"Fecha": "2025-12-11T08:14:50.5323212-05:00",
"MeseroId": 4.0,
"Estado": "sample string 5",
"Mesas": {
"$id": "2",
"MesaId": 1.0,
"Nombre": "sample string 2",
"Capacidad": 1,
"Estado": "sample string 3",
"Ocupacion": true,
"Zona": "sample string 4"
},
"Detalles": [
{
"$id": "3",
"DetalleId": 1.0,
"OrdenId": 2.0,
"ProductoId": 3.0,
"Cantidad": 4,
"Observaciones": "sample string 5",
"Orden": {
"$ref": "1"
},
"Productos": {
"$id": "4",
"ProductoId": 1.0,
"CategoriaId": "sample string 2",
"Descripcion": "sample string 3",
"Nombre": "sample string 4",
"Imagen": "QEA=",
"Codigo": "sample string 5",
"Estado": "sample string 6"
}
},
{
"$ref": "3"
}
]
}