GET api/DeliveryAddress/GetByCustomerCode?customerCode={customerCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerCode

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of DeliveryAddressDbModel
NameDescriptionTypeAdditional information
CustomerCode

string

None.

CustomerDesc

string

None.

CustDelivCode

string

None.

SalesmanCode

string

None.

SalesmanDesc

string

None.

Contact

string

None.

Telephone

string

None.

Cell

string

None.

Fax

string

None.

DelAddress01

string

None.

DelAddress02

string

None.

DelAddress03

string

None.

DelAddress04

string

None.

DelAddress05

string

None.

Email

string

None.

ContactDocs

string

None.

EmailDocs

string

None.

ContactStatement

string

None.

EmailStatement

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CustomerCode": "sample string 1",
    "CustomerDesc": "sample string 2",
    "CustDelivCode": "sample string 3",
    "SalesmanCode": "sample string 4",
    "SalesmanDesc": "sample string 5",
    "Contact": "sample string 6",
    "Telephone": "sample string 7",
    "Cell": "sample string 8",
    "Fax": "sample string 9",
    "DelAddress01": "sample string 10",
    "DelAddress02": "sample string 11",
    "DelAddress03": "sample string 12",
    "DelAddress04": "sample string 13",
    "DelAddress05": "sample string 14",
    "Email": "sample string 15",
    "ContactDocs": "sample string 16",
    "EmailDocs": "sample string 17",
    "ContactStatement": "sample string 18",
    "EmailStatement": "sample string 19"
  },
  {
    "CustomerCode": "sample string 1",
    "CustomerDesc": "sample string 2",
    "CustDelivCode": "sample string 3",
    "SalesmanCode": "sample string 4",
    "SalesmanDesc": "sample string 5",
    "Contact": "sample string 6",
    "Telephone": "sample string 7",
    "Cell": "sample string 8",
    "Fax": "sample string 9",
    "DelAddress01": "sample string 10",
    "DelAddress02": "sample string 11",
    "DelAddress03": "sample string 12",
    "DelAddress04": "sample string 13",
    "DelAddress05": "sample string 14",
    "Email": "sample string 15",
    "ContactDocs": "sample string 16",
    "EmailDocs": "sample string 17",
    "ContactStatement": "sample string 18",
    "EmailStatement": "sample string 19"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDeliveryAddressDbModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PASTEL.Api.Library.Models.PSql">
  <DeliveryAddressDbModel>
    <Cell>sample string 8</Cell>
    <Contact>sample string 6</Contact>
    <ContactDocs>sample string 16</ContactDocs>
    <ContactStatement>sample string 18</ContactStatement>
    <CustDelivCode>sample string 3</CustDelivCode>
    <CustomerCode>sample string 1</CustomerCode>
    <CustomerDesc>sample string 2</CustomerDesc>
    <DelAddress01>sample string 10</DelAddress01>
    <DelAddress02>sample string 11</DelAddress02>
    <DelAddress03>sample string 12</DelAddress03>
    <DelAddress04>sample string 13</DelAddress04>
    <DelAddress05>sample string 14</DelAddress05>
    <Email>sample string 15</Email>
    <EmailDocs>sample string 17</EmailDocs>
    <EmailStatement>sample string 19</EmailStatement>
    <Fax>sample string 9</Fax>
    <SalesmanCode>sample string 4</SalesmanCode>
    <SalesmanDesc>sample string 5</SalesmanDesc>
    <Telephone>sample string 7</Telephone>
  </DeliveryAddressDbModel>
  <DeliveryAddressDbModel>
    <Cell>sample string 8</Cell>
    <Contact>sample string 6</Contact>
    <ContactDocs>sample string 16</ContactDocs>
    <ContactStatement>sample string 18</ContactStatement>
    <CustDelivCode>sample string 3</CustDelivCode>
    <CustomerCode>sample string 1</CustomerCode>
    <CustomerDesc>sample string 2</CustomerDesc>
    <DelAddress01>sample string 10</DelAddress01>
    <DelAddress02>sample string 11</DelAddress02>
    <DelAddress03>sample string 12</DelAddress03>
    <DelAddress04>sample string 13</DelAddress04>
    <DelAddress05>sample string 14</DelAddress05>
    <Email>sample string 15</Email>
    <EmailDocs>sample string 17</EmailDocs>
    <EmailStatement>sample string 19</EmailStatement>
    <Fax>sample string 9</Fax>
    <SalesmanCode>sample string 4</SalesmanCode>
    <SalesmanDesc>sample string 5</SalesmanDesc>
    <Telephone>sample string 7</Telephone>
  </DeliveryAddressDbModel>
</ArrayOfDeliveryAddressDbModel>