POST api/VendorQuote/GetCustomerAddresses?customerId={customerId}&salesPersonId={salesPersonId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerId

integer

Required

salesPersonId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of VendorQuoteCustomerAddress
NameDescriptionTypeAdditional information
CustomerAddressId

integer

None.

Code

string

None.

Address1

string

None.

City

string

None.

ZipCode

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CustomerAddressId": 1,
    "Code": "sample string 2",
    "Address1": "sample string 3",
    "City": "sample string 4",
    "ZipCode": "sample string 5"
  },
  {
    "CustomerAddressId": 1,
    "Code": "sample string 2",
    "Address1": "sample string 3",
    "City": "sample string 4",
    "ZipCode": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfVendorQuoteCustomerAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoHarrellsAPI.Models">
  <VendorQuoteCustomerAddress>
    <Address1>sample string 3</Address1>
    <City>sample string 4</City>
    <Code>sample string 2</Code>
    <CustomerAddressId>1</CustomerAddressId>
    <ZipCode>sample string 5</ZipCode>
  </VendorQuoteCustomerAddress>
  <VendorQuoteCustomerAddress>
    <Address1>sample string 3</Address1>
    <City>sample string 4</City>
    <Code>sample string 2</Code>
    <CustomerAddressId>1</CustomerAddressId>
    <ZipCode>sample string 5</ZipCode>
  </VendorQuoteCustomerAddress>
</ArrayOfVendorQuoteCustomerAddress>