GET api/Customer/Get

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CustomerDbModel
NameDescriptionTypeAdditional information
CustomerCatCode

integer

None.

CustomerCatDesc

string

None.

CustomerCode

string

None.

CustomerDesc

string

None.

PriceListId

integer

None.

PriceListDesc

string

None.

Freight01

string

None.

Ship

string

None.

PostAddress01

string

None.

PostAddress02

string

None.

PostAddress03

string

None.

PostAddress04

string

None.

PostAddress05

string

None.

Blocked

boolean

None.

GUID

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CustomerCatCode": 1,
    "CustomerCatDesc": "sample string 2",
    "CustomerCode": "sample string 3",
    "CustomerDesc": "sample string 4",
    "PriceListId": 5,
    "PriceListDesc": "sample string 6",
    "Freight01": "sample string 7",
    "Ship": "sample string 8",
    "PostAddress01": "sample string 9",
    "PostAddress02": "sample string 10",
    "PostAddress03": "sample string 11",
    "PostAddress04": "sample string 12",
    "PostAddress05": "sample string 13",
    "Blocked": true,
    "GUID": "sample string 15"
  },
  {
    "CustomerCatCode": 1,
    "CustomerCatDesc": "sample string 2",
    "CustomerCode": "sample string 3",
    "CustomerDesc": "sample string 4",
    "PriceListId": 5,
    "PriceListDesc": "sample string 6",
    "Freight01": "sample string 7",
    "Ship": "sample string 8",
    "PostAddress01": "sample string 9",
    "PostAddress02": "sample string 10",
    "PostAddress03": "sample string 11",
    "PostAddress04": "sample string 12",
    "PostAddress05": "sample string 13",
    "Blocked": true,
    "GUID": "sample string 15"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustomerDbModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PASTEL.Api.Library.Models.PSql">
  <CustomerDbModel>
    <Blocked>true</Blocked>
    <CustomerCatCode>1</CustomerCatCode>
    <CustomerCatDesc>sample string 2</CustomerCatDesc>
    <CustomerCode>sample string 3</CustomerCode>
    <CustomerDesc>sample string 4</CustomerDesc>
    <Freight01>sample string 7</Freight01>
    <GUID>sample string 15</GUID>
    <PostAddress01>sample string 9</PostAddress01>
    <PostAddress02>sample string 10</PostAddress02>
    <PostAddress03>sample string 11</PostAddress03>
    <PostAddress04>sample string 12</PostAddress04>
    <PostAddress05>sample string 13</PostAddress05>
    <PriceListDesc>sample string 6</PriceListDesc>
    <PriceListId>5</PriceListId>
    <Ship>sample string 8</Ship>
  </CustomerDbModel>
  <CustomerDbModel>
    <Blocked>true</Blocked>
    <CustomerCatCode>1</CustomerCatCode>
    <CustomerCatDesc>sample string 2</CustomerCatDesc>
    <CustomerCode>sample string 3</CustomerCode>
    <CustomerDesc>sample string 4</CustomerDesc>
    <Freight01>sample string 7</Freight01>
    <GUID>sample string 15</GUID>
    <PostAddress01>sample string 9</PostAddress01>
    <PostAddress02>sample string 10</PostAddress02>
    <PostAddress03>sample string 11</PostAddress03>
    <PostAddress04>sample string 12</PostAddress04>
    <PostAddress05>sample string 13</PostAddress05>
    <PriceListDesc>sample string 6</PriceListDesc>
    <PriceListId>5</PriceListId>
    <Ship>sample string 8</Ship>
  </CustomerDbModel>
</ArrayOfCustomerDbModel>