POST api/clientetransportistaconsultar

Request Information

URI Parameters

None.

Body Parameters

ClienteTransportistaRQT
NameDescriptionTypeAdditional information
IDUser

integer

None.

IDRol

integer

None.

EntiCodigoCliente

string

None.

IdTransportistaNavis

string

None.

Documento

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IDUser": 1,
  "IDRol": 2,
  "EntiCodigoCliente": "sample string 3",
  "IdTransportistaNavis": "sample string 4",
  "Documento": "sample string 5"
}

text/xml

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

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 'ClienteTransportistaRQT'.

Response Information

Resource Description

ClienteTransportistaRPS
NameDescriptionTypeAdditional information
CodMsj

integer

None.

Msj

string

None.

Data

Collection of ClienteTransportistaRPSData

None.

Response Formats

application/json, text/json

Sample:
{
  "CodMsj": 1,
  "Msj": "sample string 2",
  "Data": [
    {
      "IdClienteTransportista": 1,
      "Cliente": "sample string 2",
      "Transportista": "sample string 3",
      "EntiCodigoCliente": "sample string 4",
      "Documento": "sample string 5",
      "Estado": "sample string 6"
    },
    {
      "IdClienteTransportista": 1,
      "Cliente": "sample string 2",
      "Transportista": "sample string 3",
      "EntiCodigoCliente": "sample string 4",
      "Documento": "sample string 5",
      "Estado": "sample string 6"
    }
  ]
}

text/xml

Sample:
<ClienteTransportistaRPS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models">
  <CodMsj>1</CodMsj>
  <Data>
    <ClienteTransportistaRPS.ClienteTransportistaRPSData>
      <Cliente>sample string 2</Cliente>
      <Documento>sample string 5</Documento>
      <EntiCodigoCliente>sample string 4</EntiCodigoCliente>
      <Estado>sample string 6</Estado>
      <IdClienteTransportista>1</IdClienteTransportista>
      <Transportista>sample string 3</Transportista>
    </ClienteTransportistaRPS.ClienteTransportistaRPSData>
    <ClienteTransportistaRPS.ClienteTransportistaRPSData>
      <Cliente>sample string 2</Cliente>
      <Documento>sample string 5</Documento>
      <EntiCodigoCliente>sample string 4</EntiCodigoCliente>
      <Estado>sample string 6</Estado>
      <IdClienteTransportista>1</IdClienteTransportista>
      <Transportista>sample string 3</Transportista>
    </ClienteTransportistaRPS.ClienteTransportistaRPSData>
  </Data>
  <Msj>sample string 2</Msj>
</ClienteTransportistaRPS>