POST api/consultaservicio

Request Information

URI Parameters

None.

Body Parameters

PagosOnlineConsultaServiciosRQT
NameDescriptionTypeAdditional information
IDUser

integer

None.

IDRol

integer

None.

Nope

string

None.

Kent

string

None.

Estado

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IDUser": 1,
  "IDRol": 2,
  "Nope": "sample string 3",
  "Kent": "sample string 4",
  "Estado": "sample string 5"
}

text/xml

Sample:
<PagosOnlineConsultaServiciosRQT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models">
  <Estado>sample string 5</Estado>
  <IDRol>2</IDRol>
  <IDUser>1</IDUser>
  <Kent>sample string 4</Kent>
  <Nope>sample string 3</Nope>
</PagosOnlineConsultaServiciosRQT>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PagosOnlineConsultaServiciosRQT'.

Response Information

Resource Description

PagosOnlineConsultaServiciosRPS
NameDescriptionTypeAdditional information
CodMsj

integer

None.

Msj

string

None.

Data

Collection of PagosOnlineConsultaServiciosRPSData

None.

Response Formats

application/json, text/json

Sample:
{
  "CodMsj": 1,
  "Msj": "sample string 2",
  "Data": [
    {
      "NServicio": "sample string 1",
      "Servicio": "sample string 2",
      "TMoneda": "sample string 3",
      "Importe": 4.0,
      "CanalPago": "sample string 5",
      "FormaPago": "sample string 6",
      "Banco": "sample string 7",
      "FRegistro": "sample string 8",
      "Estado": "sample string 9",
      "CodEstado": "sample string 10",
      "ClientePagador": "sample string 11",
      "Id": 12,
      "facturar": "sample string 13"
    },
    {
      "NServicio": "sample string 1",
      "Servicio": "sample string 2",
      "TMoneda": "sample string 3",
      "Importe": 4.0,
      "CanalPago": "sample string 5",
      "FormaPago": "sample string 6",
      "Banco": "sample string 7",
      "FRegistro": "sample string 8",
      "Estado": "sample string 9",
      "CodEstado": "sample string 10",
      "ClientePagador": "sample string 11",
      "Id": 12,
      "facturar": "sample string 13"
    }
  ]
}

text/xml

Sample:
<PagosOnlineConsultaServiciosRPS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models">
  <CodMsj>1</CodMsj>
  <Data>
    <PagosOnlineConsultaServiciosRPS.PagosOnlineConsultaServiciosRPSData>
      <Banco>sample string 7</Banco>
      <CanalPago>sample string 5</CanalPago>
      <ClientePagador>sample string 11</ClientePagador>
      <CodEstado>sample string 10</CodEstado>
      <Estado>sample string 9</Estado>
      <FRegistro>sample string 8</FRegistro>
      <FormaPago>sample string 6</FormaPago>
      <Id>12</Id>
      <Importe>4</Importe>
      <NServicio>sample string 1</NServicio>
      <Servicio>sample string 2</Servicio>
      <TMoneda>sample string 3</TMoneda>
      <facturar>sample string 13</facturar>
    </PagosOnlineConsultaServiciosRPS.PagosOnlineConsultaServiciosRPSData>
    <PagosOnlineConsultaServiciosRPS.PagosOnlineConsultaServiciosRPSData>
      <Banco>sample string 7</Banco>
      <CanalPago>sample string 5</CanalPago>
      <ClientePagador>sample string 11</ClientePagador>
      <CodEstado>sample string 10</CodEstado>
      <Estado>sample string 9</Estado>
      <FRegistro>sample string 8</FRegistro>
      <FormaPago>sample string 6</FormaPago>
      <Id>12</Id>
      <Importe>4</Importe>
      <NServicio>sample string 1</NServicio>
      <Servicio>sample string 2</Servicio>
      <TMoneda>sample string 3</TMoneda>
      <facturar>sample string 13</facturar>
    </PagosOnlineConsultaServiciosRPS.PagosOnlineConsultaServiciosRPSData>
  </Data>
  <Msj>sample string 2</Msj>
</PagosOnlineConsultaServiciosRPS>