POST api/Service/GetTopCustomers

Request Information

URI Parameters

None.

Body Parameters

TopCustomersRequest
NameDescriptionTypeAdditional information
Input

TopCustomersInputModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Input": {
    "UserNo": 1
  }
}

application/xml, text/xml

Sample:
<TopCustomersRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BizMate.BizLayer">
  <Input>
    <UserNo>1</UserNo>
  </Input>
</TopCustomersRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

TopCustomersResponse
NameDescriptionTypeAdditional information
OutPut

TopCustomersOutPutModel

None.

Response Formats

application/json, text/json

Sample:
{
  "OutPut": {
    "Success": true,
    "Message": "sample string 2",
    "TopCustomers": {
      "TopCustomersInfo": [
        {
          "CustomerID": "sample string 1",
          "CompanyName": "sample string 2",
          "TotalQty": 3,
          "TotalAmount": 4.1
        },
        {
          "CustomerID": "sample string 1",
          "CompanyName": "sample string 2",
          "TotalQty": 3,
          "TotalAmount": 4.1
        }
      ]
    }
  }
}

application/xml, text/xml

Sample:
<TopCustomersResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BizMate.BizLayer">
  <OutPut>
    <Message>sample string 2</Message>
    <Success>true</Success>
    <TopCustomers>
      <TopCustomersInfo>
        <TopCustomersModel>
          <CompanyName>sample string 2</CompanyName>
          <CustomerID>sample string 1</CustomerID>
          <TotalAmount>4.1</TotalAmount>
          <TotalQty>3</TotalQty>
        </TopCustomersModel>
        <TopCustomersModel>
          <CompanyName>sample string 2</CompanyName>
          <CustomerID>sample string 1</CustomerID>
          <TotalAmount>4.1</TotalAmount>
          <TotalQty>3</TotalQty>
        </TopCustomersModel>
      </TopCustomersInfo>
    </TopCustomers>
  </OutPut>
</TopCustomersResponse>