POST api/comensales/listar
Request Information
URI Parameters
None.
Body Parameters
ComensalFiltro| Name | Description | Type | Additional information |
|---|---|---|---|
| IdCliente | integer |
None. |
|
| Tipo_Personal | string |
None. |
|
| Tipo_Servicio | string |
None. |
|
| Fecha_Inicio | string |
None. |
|
| Fecha_Fin | string |
None. |
|
| Ind_Aprobado | string |
None. |
|
| Estado | string |
None. |
|
| Ind_Foto | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"IdCliente": 1,
"Tipo_Personal": "sample string 2",
"Tipo_Servicio": "sample string 3",
"Fecha_Inicio": "sample string 4",
"Fecha_Fin": "sample string 5",
"Ind_Aprobado": "sample string 6",
"Estado": "sample string 7",
"Ind_Foto": "sample string 8"
}
application/xml, text/xml
Sample:
<ComensalFiltro xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.PeruOnline.Models"> <Estado>sample string 7</Estado> <Fecha_Fin>sample string 5</Fecha_Fin> <Fecha_Inicio>sample string 4</Fecha_Inicio> <IdCliente>1</IdCliente> <Ind_Aprobado>sample string 6</Ind_Aprobado> <Ind_Foto>sample string 8</Ind_Foto> <Tipo_Personal>sample string 2</Tipo_Personal> <Tipo_Servicio>sample string 3</Tipo_Servicio> </ComensalFiltro>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseOfICollectionOfComensal| Name | Description | Type | Additional information |
|---|---|---|---|
| status_code | HttpStatusCode |
None. |
|
| message | string |
None. |
|
| error | Exception |
None. |
|
| result | Collection of Comensal |
None. |
|
| data | Collection of Comensal |
None. |
|
| resultado | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"status_code": 100,
"message": "sample string 1",
"error": {
"ClassName": "System.Exception",
"Message": null,
"Data": null,
"InnerException": null,
"HelpURL": "sample string 1",
"StackTraceString": null,
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": 3,
"Source": "sample string 2",
"WatsonBuckets": null
},
"result": [
{
"IDACCESOCOM": 1,
"COD_CECO": "sample string 2",
"IDCARGA": 3,
"IDSERVICIO": 4,
"IDPERSONAL": 5,
"TIPO_DOC": "sample string 6",
"NUM_DOC": "sample string 7",
"FOTOCHECK": "sample string 8",
"NOMBRES": "sample string 9",
"APELLIDOS": "sample string 10",
"TIPO_PERSONAL": "sample string 11",
"SEXO": "sample string 12",
"CELULAR": "sample string 13",
"EMAIL": "sample string 14",
"AREA_SUBCONTRATA": "sample string 15",
"SERVICIO": "sample string 16",
"IND_DIETA": "sample string 17",
"FECHA_INICIO_AUTORIZA": "2026-01-31T11:13:11.7778692-06:00",
"FECHA_FIN_AUTORIZA": "2026-01-31T11:13:11.7778692-06:00",
"COMEDOR": "sample string 18",
"TIPO_ACCION": "sample string 19",
"DIAS_HABILES": 20,
"COD_SAP": "sample string 21",
"FECHA_INICIO_INHABILITA": "2026-01-31T11:13:11.7778692-06:00",
"FECHA_FIN_INHABILITA": "2026-01-31T11:13:11.7778692-06:00",
"LOG": "sample string 22",
"FECHA_REGISTRO": "2026-01-31T11:13:11.7778692-06:00",
"SEDE": "sample string 24",
"COMEDOR_NOMBRE": "sample string 25",
"FECHA_INICIO_ALTA": "sample string 26",
"FECHA_FIN_ALTA": "sample string 27",
"CLIENTE": "sample string 28",
"NUM_FOTOS": 29,
"MODO_REGISTRO": "sample string 30",
"FECHA_BAJA": "sample string 31",
"FECHA_INICIO_INHABILITA_BAJA": "sample string 32",
"FECHA_FIN_INHABILITA_BAJA": "sample string 33",
"IDCLIENTE": 34,
"IDSEDE": 35,
"IDCOMEDOR": 36,
"COD_COMEDOR": "sample string 37",
"HASH_ACCESO": "sample string 38"
},
{
"IDACCESOCOM": 1,
"COD_CECO": "sample string 2",
"IDCARGA": 3,
"IDSERVICIO": 4,
"IDPERSONAL": 5,
"TIPO_DOC": "sample string 6",
"NUM_DOC": "sample string 7",
"FOTOCHECK": "sample string 8",
"NOMBRES": "sample string 9",
"APELLIDOS": "sample string 10",
"TIPO_PERSONAL": "sample string 11",
"SEXO": "sample string 12",
"CELULAR": "sample string 13",
"EMAIL": "sample string 14",
"AREA_SUBCONTRATA": "sample string 15",
"SERVICIO": "sample string 16",
"IND_DIETA": "sample string 17",
"FECHA_INICIO_AUTORIZA": "2026-01-31T11:13:11.7778692-06:00",
"FECHA_FIN_AUTORIZA": "2026-01-31T11:13:11.7778692-06:00",
"COMEDOR": "sample string 18",
"TIPO_ACCION": "sample string 19",
"DIAS_HABILES": 20,
"COD_SAP": "sample string 21",
"FECHA_INICIO_INHABILITA": "2026-01-31T11:13:11.7778692-06:00",
"FECHA_FIN_INHABILITA": "2026-01-31T11:13:11.7778692-06:00",
"LOG": "sample string 22",
"FECHA_REGISTRO": "2026-01-31T11:13:11.7778692-06:00",
"SEDE": "sample string 24",
"COMEDOR_NOMBRE": "sample string 25",
"FECHA_INICIO_ALTA": "sample string 26",
"FECHA_FIN_ALTA": "sample string 27",
"CLIENTE": "sample string 28",
"NUM_FOTOS": 29,
"MODO_REGISTRO": "sample string 30",
"FECHA_BAJA": "sample string 31",
"FECHA_INICIO_INHABILITA_BAJA": "sample string 32",
"FECHA_FIN_INHABILITA_BAJA": "sample string 33",
"IDCLIENTE": 34,
"IDSEDE": 35,
"IDCOMEDOR": 36,
"COD_COMEDOR": "sample string 37",
"HASH_ACCESO": "sample string 38"
}
],
"data": [
{
"IDACCESOCOM": 1,
"COD_CECO": "sample string 2",
"IDCARGA": 3,
"IDSERVICIO": 4,
"IDPERSONAL": 5,
"TIPO_DOC": "sample string 6",
"NUM_DOC": "sample string 7",
"FOTOCHECK": "sample string 8",
"NOMBRES": "sample string 9",
"APELLIDOS": "sample string 10",
"TIPO_PERSONAL": "sample string 11",
"SEXO": "sample string 12",
"CELULAR": "sample string 13",
"EMAIL": "sample string 14",
"AREA_SUBCONTRATA": "sample string 15",
"SERVICIO": "sample string 16",
"IND_DIETA": "sample string 17",
"FECHA_INICIO_AUTORIZA": "2026-01-31T11:13:11.7778692-06:00",
"FECHA_FIN_AUTORIZA": "2026-01-31T11:13:11.7778692-06:00",
"COMEDOR": "sample string 18",
"TIPO_ACCION": "sample string 19",
"DIAS_HABILES": 20,
"COD_SAP": "sample string 21",
"FECHA_INICIO_INHABILITA": "2026-01-31T11:13:11.7778692-06:00",
"FECHA_FIN_INHABILITA": "2026-01-31T11:13:11.7778692-06:00",
"LOG": "sample string 22",
"FECHA_REGISTRO": "2026-01-31T11:13:11.7778692-06:00",
"SEDE": "sample string 24",
"COMEDOR_NOMBRE": "sample string 25",
"FECHA_INICIO_ALTA": "sample string 26",
"FECHA_FIN_ALTA": "sample string 27",
"CLIENTE": "sample string 28",
"NUM_FOTOS": 29,
"MODO_REGISTRO": "sample string 30",
"FECHA_BAJA": "sample string 31",
"FECHA_INICIO_INHABILITA_BAJA": "sample string 32",
"FECHA_FIN_INHABILITA_BAJA": "sample string 33",
"IDCLIENTE": 34,
"IDSEDE": 35,
"IDCOMEDOR": 36,
"COD_COMEDOR": "sample string 37",
"HASH_ACCESO": "sample string 38"
},
{
"IDACCESOCOM": 1,
"COD_CECO": "sample string 2",
"IDCARGA": 3,
"IDSERVICIO": 4,
"IDPERSONAL": 5,
"TIPO_DOC": "sample string 6",
"NUM_DOC": "sample string 7",
"FOTOCHECK": "sample string 8",
"NOMBRES": "sample string 9",
"APELLIDOS": "sample string 10",
"TIPO_PERSONAL": "sample string 11",
"SEXO": "sample string 12",
"CELULAR": "sample string 13",
"EMAIL": "sample string 14",
"AREA_SUBCONTRATA": "sample string 15",
"SERVICIO": "sample string 16",
"IND_DIETA": "sample string 17",
"FECHA_INICIO_AUTORIZA": "2026-01-31T11:13:11.7778692-06:00",
"FECHA_FIN_AUTORIZA": "2026-01-31T11:13:11.7778692-06:00",
"COMEDOR": "sample string 18",
"TIPO_ACCION": "sample string 19",
"DIAS_HABILES": 20,
"COD_SAP": "sample string 21",
"FECHA_INICIO_INHABILITA": "2026-01-31T11:13:11.7778692-06:00",
"FECHA_FIN_INHABILITA": "2026-01-31T11:13:11.7778692-06:00",
"LOG": "sample string 22",
"FECHA_REGISTRO": "2026-01-31T11:13:11.7778692-06:00",
"SEDE": "sample string 24",
"COMEDOR_NOMBRE": "sample string 25",
"FECHA_INICIO_ALTA": "sample string 26",
"FECHA_FIN_ALTA": "sample string 27",
"CLIENTE": "sample string 28",
"NUM_FOTOS": 29,
"MODO_REGISTRO": "sample string 30",
"FECHA_BAJA": "sample string 31",
"FECHA_INICIO_INHABILITA_BAJA": "sample string 32",
"FECHA_FIN_INHABILITA_BAJA": "sample string 33",
"IDCLIENTE": 34,
"IDSEDE": 35,
"IDCOMEDOR": 36,
"COD_COMEDOR": "sample string 37",
"HASH_ACCESO": "sample string 38"
}
],
"resultado": "sample string 2"
}
application/xml, text/xml
Sample:
<ResponseOfArrayOfComensalqN4Avyrv xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.PeruOnline.Models">
<data>
<Comensal>
<HASH_ACCESO>sample string 38</HASH_ACCESO>
</Comensal>
<Comensal>
<HASH_ACCESO>sample string 38</HASH_ACCESO>
</Comensal>
</data>
<error xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<ClassName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">System.Exception</ClassName>
<Message i:nil="true" xmlns="" />
<Data i:nil="true" xmlns="" />
<InnerException i:nil="true" xmlns="" />
<HelpURL xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</HelpURL>
<StackTraceString i:nil="true" xmlns="" />
<RemoteStackTraceString i:nil="true" xmlns="" />
<RemoteStackIndex xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">0</RemoteStackIndex>
<ExceptionMethod i:nil="true" xmlns="" />
<HResult xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">3</HResult>
<Source xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</Source>
<WatsonBuckets i:nil="true" xmlns="" />
</error>
<message>sample string 1</message>
<result>
<Comensal>
<HASH_ACCESO>sample string 38</HASH_ACCESO>
</Comensal>
<Comensal>
<HASH_ACCESO>sample string 38</HASH_ACCESO>
</Comensal>
</result>
<resultado>sample string 2</resultado>
<status_code>Continue</status_code>
</ResponseOfArrayOfComensalqN4Avyrv>