GET api/Customer/GetAllForApp

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

GetCustomerDetailInfoResponse
NameDescriptionTypeAdditional information
CustomerDetails

Collection of CustomerDetailModel

None.

ResponseCode

integer

None.

ResponseText

string

None.

Response Formats

application/json, text/json

Sample:
{
  "CustomerDetails": [
    {
      "CustomerID": 1,
      "CurrentBalance": 1.0,
      "BestOrder": 1.0,
      "LastOrderOn": "sample string 2",
      "OrderCount": 3,
      "ClientID": 4,
      "Image": "sample string 5",
      "Customer": "sample string 6",
      "FirstName": "sample string 7",
      "LastName": "sample string 8",
      "sCompanyName": "sample string 9",
      "EmailAddress": "sample string 10",
      "Address": "sample string 11",
      "StreetAddress": "sample string 12",
      "PhoneNo": "sample string 13",
      "Mobile": "sample string 14"
    },
    {
      "CustomerID": 1,
      "CurrentBalance": 1.0,
      "BestOrder": 1.0,
      "LastOrderOn": "sample string 2",
      "OrderCount": 3,
      "ClientID": 4,
      "Image": "sample string 5",
      "Customer": "sample string 6",
      "FirstName": "sample string 7",
      "LastName": "sample string 8",
      "sCompanyName": "sample string 9",
      "EmailAddress": "sample string 10",
      "Address": "sample string 11",
      "StreetAddress": "sample string 12",
      "PhoneNo": "sample string 13",
      "Mobile": "sample string 14"
    }
  ],
  "ResponseCode": 1,
  "ResponseText": "sample string 2"
}

application/xml, text/xml

Sample:
<GetCustomerDetailInfoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">
  <ResponseCode>1</ResponseCode>
  <ResponseText>sample string 2</ResponseText>
  <CustomerDetails>
    <CustomerDetailModel>
      <Address>sample string 11</Address>
      <BestOrder>1</BestOrder>
      <ClientID>4</ClientID>
      <CurrentBalance>1</CurrentBalance>
      <Customer>sample string 6</Customer>
      <CustomerID>1</CustomerID>
      <EmailAddress>sample string 10</EmailAddress>
      <FirstName>sample string 7</FirstName>
      <Image>sample string 5</Image>
      <LastName>sample string 8</LastName>
      <LastOrderOn>sample string 2</LastOrderOn>
      <Mobile>sample string 14</Mobile>
      <OrderCount>3</OrderCount>
      <PhoneNo>sample string 13</PhoneNo>
      <StreetAddress>sample string 12</StreetAddress>
      <sCompanyName>sample string 9</sCompanyName>
    </CustomerDetailModel>
    <CustomerDetailModel>
      <Address>sample string 11</Address>
      <BestOrder>1</BestOrder>
      <ClientID>4</ClientID>
      <CurrentBalance>1</CurrentBalance>
      <Customer>sample string 6</Customer>
      <CustomerID>1</CustomerID>
      <EmailAddress>sample string 10</EmailAddress>
      <FirstName>sample string 7</FirstName>
      <Image>sample string 5</Image>
      <LastName>sample string 8</LastName>
      <LastOrderOn>sample string 2</LastOrderOn>
      <Mobile>sample string 14</Mobile>
      <OrderCount>3</OrderCount>
      <PhoneNo>sample string 13</PhoneNo>
      <StreetAddress>sample string 12</StreetAddress>
      <sCompanyName>sample string 9</sCompanyName>
    </CustomerDetailModel>
  </CustomerDetails>
</GetCustomerDetailInfoResponse>