POST api/Usuario/ConsultaServicioClientesPromotores?idMarca={idMarca}&rfc={rfc}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
idMarca

integer

Required

rfc

string

Required

Body Parameters

CredencialServicio
NameDescriptionTypeAdditional information
Usuario

string

None.

Password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Usuario": "sample string 1",
  "Password": "sample string 2"
}

application/xml, text/xml

Sample:
<CredencialServicio xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://tempuri.org/">
  <Usuario>sample string 1</Usuario>
  <Password>sample string 2</Password>
</CredencialServicio>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MontoComprasClientePromotor
NameDescriptionTypeAdditional information
RFC

string

None.

MontoCompras

decimal number

None.

ListaMontoVentaPromotor

Collection of MontoVentaPromotor

None.

Response Formats

application/json, text/json

Sample:
{
  "RFC": "sample string 1",
  "MontoCompras": 2.0,
  "ListaMontoVentaPromotor": [
    {
      "ClavePromotor": "sample string 1",
      "NombrePromotor": "sample string 2",
      "MontoVentas": 3.0
    },
    {
      "ClavePromotor": "sample string 1",
      "NombrePromotor": "sample string 2",
      "MontoVentas": 3.0
    }
  ]
}

application/xml, text/xml

Sample:
<MontoComprasClientePromotor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://tempuri.org/">
  <RFC>sample string 1</RFC>
  <MontoCompras>2</MontoCompras>
  <ListaMontoVentaPromotor>
    <MontoVentaPromotor>
      <ClavePromotor>sample string 1</ClavePromotor>
      <NombrePromotor>sample string 2</NombrePromotor>
      <MontoVentas>3</MontoVentas>
    </MontoVentaPromotor>
    <MontoVentaPromotor>
      <ClavePromotor>sample string 1</ClavePromotor>
      <NombrePromotor>sample string 2</NombrePromotor>
      <MontoVentas>3</MontoVentas>
    </MontoVentaPromotor>
  </ListaMontoVentaPromotor>
</MontoComprasClientePromotor>