GET api/acceso/servicioNumDoc?NRODOC={NRODOC}&TIPDOC={TIPDOC}&CODCIA={CODCIA}&USUARIO={USUARIO}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
NRODOC

string

Required

TIPDOC

string

Required

CODCIA

string

Required

USUARIO

string

Required

Body Parameters

None.

Response Information

Resource Description

ResponseOfICollectionOfAccesoServiciosNUMDTO
NameDescriptionTypeAdditional information
status_code

HttpStatusCode

None.

message

string

None.

error

Exception

None.

result

Collection of AccesoServiciosNUMDTO

None.

data

Collection of AccesoServiciosNUMDTO

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": [
    {
      "IDPERSONAL": "sample string 1",
      "IDCLIENTE": "sample string 2",
      "TIPDOC": "sample string 3",
      "NUMDOC": "sample string 4",
      "NOM_COMPLETO": "sample string 5",
      "AREA": "sample string 6",
      "SEXO": "sample string 7",
      "SERVICIO": "sample string 8",
      "TIPO_ACCION": "sample string 9",
      "TIPO_COMENSAL": "sample string 10",
      "FECHA_AUTO": "sample string 11",
      "COMEDOR": "sample string 12",
      "TRATAMIENTO": "sample string 13",
      "NROSERVICIO": "sample string 14",
      "INITURNO": "sample string 15",
      "FINTURNO": "sample string 16",
      "COSTURNO": "sample string 17"
    },
    {
      "IDPERSONAL": "sample string 1",
      "IDCLIENTE": "sample string 2",
      "TIPDOC": "sample string 3",
      "NUMDOC": "sample string 4",
      "NOM_COMPLETO": "sample string 5",
      "AREA": "sample string 6",
      "SEXO": "sample string 7",
      "SERVICIO": "sample string 8",
      "TIPO_ACCION": "sample string 9",
      "TIPO_COMENSAL": "sample string 10",
      "FECHA_AUTO": "sample string 11",
      "COMEDOR": "sample string 12",
      "TRATAMIENTO": "sample string 13",
      "NROSERVICIO": "sample string 14",
      "INITURNO": "sample string 15",
      "FINTURNO": "sample string 16",
      "COSTURNO": "sample string 17"
    }
  ],
  "data": [
    {
      "IDPERSONAL": "sample string 1",
      "IDCLIENTE": "sample string 2",
      "TIPDOC": "sample string 3",
      "NUMDOC": "sample string 4",
      "NOM_COMPLETO": "sample string 5",
      "AREA": "sample string 6",
      "SEXO": "sample string 7",
      "SERVICIO": "sample string 8",
      "TIPO_ACCION": "sample string 9",
      "TIPO_COMENSAL": "sample string 10",
      "FECHA_AUTO": "sample string 11",
      "COMEDOR": "sample string 12",
      "TRATAMIENTO": "sample string 13",
      "NROSERVICIO": "sample string 14",
      "INITURNO": "sample string 15",
      "FINTURNO": "sample string 16",
      "COSTURNO": "sample string 17"
    },
    {
      "IDPERSONAL": "sample string 1",
      "IDCLIENTE": "sample string 2",
      "TIPDOC": "sample string 3",
      "NUMDOC": "sample string 4",
      "NOM_COMPLETO": "sample string 5",
      "AREA": "sample string 6",
      "SEXO": "sample string 7",
      "SERVICIO": "sample string 8",
      "TIPO_ACCION": "sample string 9",
      "TIPO_COMENSAL": "sample string 10",
      "FECHA_AUTO": "sample string 11",
      "COMEDOR": "sample string 12",
      "TRATAMIENTO": "sample string 13",
      "NROSERVICIO": "sample string 14",
      "INITURNO": "sample string 15",
      "FINTURNO": "sample string 16",
      "COSTURNO": "sample string 17"
    }
  ],
  "resultado": "sample string 2"
}

application/xml, text/xml

Sample:
<ResponseOfArrayOfAccesoServiciosNUMDTOfJKJdik2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.PeruOnline.Models">
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Data.PeruOnline.Entidades">
    <d2p1:AccesoServiciosNUMDTO>
      <d2p1:AREA>sample string 6</d2p1:AREA>
      <d2p1:COMEDOR>sample string 12</d2p1:COMEDOR>
      <d2p1:COSTURNO>sample string 17</d2p1:COSTURNO>
      <d2p1:FECHA_AUTO>sample string 11</d2p1:FECHA_AUTO>
      <d2p1:FINTURNO>sample string 16</d2p1:FINTURNO>
      <d2p1:IDCLIENTE>sample string 2</d2p1:IDCLIENTE>
      <d2p1:IDPERSONAL>sample string 1</d2p1:IDPERSONAL>
      <d2p1:INITURNO>sample string 15</d2p1:INITURNO>
      <d2p1:NOM_COMPLETO>sample string 5</d2p1:NOM_COMPLETO>
      <d2p1:NROSERVICIO>sample string 14</d2p1:NROSERVICIO>
      <d2p1:NUMDOC>sample string 4</d2p1:NUMDOC>
      <d2p1:SERVICIO>sample string 8</d2p1:SERVICIO>
      <d2p1:SEXO>sample string 7</d2p1:SEXO>
      <d2p1:TIPDOC>sample string 3</d2p1:TIPDOC>
      <d2p1:TIPO_ACCION>sample string 9</d2p1:TIPO_ACCION>
      <d2p1:TIPO_COMENSAL>sample string 10</d2p1:TIPO_COMENSAL>
      <d2p1:TRATAMIENTO>sample string 13</d2p1:TRATAMIENTO>
    </d2p1:AccesoServiciosNUMDTO>
    <d2p1:AccesoServiciosNUMDTO>
      <d2p1:AREA>sample string 6</d2p1:AREA>
      <d2p1:COMEDOR>sample string 12</d2p1:COMEDOR>
      <d2p1:COSTURNO>sample string 17</d2p1:COSTURNO>
      <d2p1:FECHA_AUTO>sample string 11</d2p1:FECHA_AUTO>
      <d2p1:FINTURNO>sample string 16</d2p1:FINTURNO>
      <d2p1:IDCLIENTE>sample string 2</d2p1:IDCLIENTE>
      <d2p1:IDPERSONAL>sample string 1</d2p1:IDPERSONAL>
      <d2p1:INITURNO>sample string 15</d2p1:INITURNO>
      <d2p1:NOM_COMPLETO>sample string 5</d2p1:NOM_COMPLETO>
      <d2p1:NROSERVICIO>sample string 14</d2p1:NROSERVICIO>
      <d2p1:NUMDOC>sample string 4</d2p1:NUMDOC>
      <d2p1:SERVICIO>sample string 8</d2p1:SERVICIO>
      <d2p1:SEXO>sample string 7</d2p1:SEXO>
      <d2p1:TIPDOC>sample string 3</d2p1:TIPDOC>
      <d2p1:TIPO_ACCION>sample string 9</d2p1:TIPO_ACCION>
      <d2p1:TIPO_COMENSAL>sample string 10</d2p1:TIPO_COMENSAL>
      <d2p1:TRATAMIENTO>sample string 13</d2p1:TRATAMIENTO>
    </d2p1:AccesoServiciosNUMDTO>
  </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 xmlns:d2p1="http://schemas.datacontract.org/2004/07/Data.PeruOnline.Entidades">
    <d2p1:AccesoServiciosNUMDTO>
      <d2p1:AREA>sample string 6</d2p1:AREA>
      <d2p1:COMEDOR>sample string 12</d2p1:COMEDOR>
      <d2p1:COSTURNO>sample string 17</d2p1:COSTURNO>
      <d2p1:FECHA_AUTO>sample string 11</d2p1:FECHA_AUTO>
      <d2p1:FINTURNO>sample string 16</d2p1:FINTURNO>
      <d2p1:IDCLIENTE>sample string 2</d2p1:IDCLIENTE>
      <d2p1:IDPERSONAL>sample string 1</d2p1:IDPERSONAL>
      <d2p1:INITURNO>sample string 15</d2p1:INITURNO>
      <d2p1:NOM_COMPLETO>sample string 5</d2p1:NOM_COMPLETO>
      <d2p1:NROSERVICIO>sample string 14</d2p1:NROSERVICIO>
      <d2p1:NUMDOC>sample string 4</d2p1:NUMDOC>
      <d2p1:SERVICIO>sample string 8</d2p1:SERVICIO>
      <d2p1:SEXO>sample string 7</d2p1:SEXO>
      <d2p1:TIPDOC>sample string 3</d2p1:TIPDOC>
      <d2p1:TIPO_ACCION>sample string 9</d2p1:TIPO_ACCION>
      <d2p1:TIPO_COMENSAL>sample string 10</d2p1:TIPO_COMENSAL>
      <d2p1:TRATAMIENTO>sample string 13</d2p1:TRATAMIENTO>
    </d2p1:AccesoServiciosNUMDTO>
    <d2p1:AccesoServiciosNUMDTO>
      <d2p1:AREA>sample string 6</d2p1:AREA>
      <d2p1:COMEDOR>sample string 12</d2p1:COMEDOR>
      <d2p1:COSTURNO>sample string 17</d2p1:COSTURNO>
      <d2p1:FECHA_AUTO>sample string 11</d2p1:FECHA_AUTO>
      <d2p1:FINTURNO>sample string 16</d2p1:FINTURNO>
      <d2p1:IDCLIENTE>sample string 2</d2p1:IDCLIENTE>
      <d2p1:IDPERSONAL>sample string 1</d2p1:IDPERSONAL>
      <d2p1:INITURNO>sample string 15</d2p1:INITURNO>
      <d2p1:NOM_COMPLETO>sample string 5</d2p1:NOM_COMPLETO>
      <d2p1:NROSERVICIO>sample string 14</d2p1:NROSERVICIO>
      <d2p1:NUMDOC>sample string 4</d2p1:NUMDOC>
      <d2p1:SERVICIO>sample string 8</d2p1:SERVICIO>
      <d2p1:SEXO>sample string 7</d2p1:SEXO>
      <d2p1:TIPDOC>sample string 3</d2p1:TIPDOC>
      <d2p1:TIPO_ACCION>sample string 9</d2p1:TIPO_ACCION>
      <d2p1:TIPO_COMENSAL>sample string 10</d2p1:TIPO_COMENSAL>
      <d2p1:TRATAMIENTO>sample string 13</d2p1:TRATAMIENTO>
    </d2p1:AccesoServiciosNUMDTO>
  </result>
  <resultado>sample string 2</resultado>
  <status_code>Continue</status_code>
</ResponseOfArrayOfAccesoServiciosNUMDTOfJKJdik2>