GET api/Customer/{GrantorTaxId}/Frequently?Top={Top}

Top Clientes

Request Information

URI Parameters

NameDescriptionTypeAdditional information
GrantorTaxId

RFC de la empresa

string

Required

Top

Número de registros a consultar

integer

Default value is 10

Body Parameters

None.

Response Information

Resource Description

ResponseModelApiOfListOfTopfrequentlyCustomer_Response
NameDescriptionTypeAdditional information
success

Indica si la solicitud se procesó de manera satisfactoria

boolean

None.

message

Mensaje de la solicitud

string

None.

messageDetail

Lista de mensajes

Collection of string

None.

failureCode

Código de error en caso de existir

string

None.

data

Layout de respuesta de la solicitud

Collection of TopfrequentlyCustomer_Response

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "message": "sample string 2",
  "messageDetail": [
    "sample string 1",
    "sample string 2"
  ],
  "failureCode": "sample string 3",
  "data": [
    {
      "CustomerId": "08dd2e4d-0b29-aa83-522b-6e3108c3f989",
      "CustomerTaxId": "sample string 2",
      "BusinessName": "sample string 3"
    },
    {
      "CustomerId": "08dd2e4d-0b29-aa83-522b-6e3108c3f989",
      "CustomerTaxId": "sample string 2",
      "BusinessName": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<ResponseModelApiOfListOfTopfrequentlyCustomer_Response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <success>true</success>
  <message>sample string 2</message>
  <messageDetail>
    <string>sample string 1</string>
    <string>sample string 2</string>
  </messageDetail>
  <failureCode>sample string 3</failureCode>
  <data>
    <TopfrequentlyCustomer_Response>
      <CustomerId>08dd2e4d-0b29-aa83-522b-6e3108c3f989</CustomerId>
      <CustomerTaxId>sample string 2</CustomerTaxId>
      <BusinessName>sample string 3</BusinessName>
    </TopfrequentlyCustomer_Response>
    <TopfrequentlyCustomer_Response>
      <CustomerId>08dd2e4d-0b29-aa83-522b-6e3108c3f989</CustomerId>
      <CustomerTaxId>sample string 2</CustomerTaxId>
      <BusinessName>sample string 3</BusinessName>
    </TopfrequentlyCustomer_Response>
  </data>
</ResponseModelApiOfListOfTopfrequentlyCustomer_Response>