POST api/Customer/AddDeliveryAddress

Request Information

URI Parameters

None.

Body Parameters

Address
NameDescriptionTypeAdditional information
AddressId

integer

None.

CrossStreetInstructions

string

None.

IsVirtualCafe

boolean

None.

AddressHash

string

None.

BuildingHash

string

None.

TypeName

string

None.

TypeValue

integer

None.

CellId

string

None.

IsEcafe

boolean

None.

ParkingFlag

integer

None.

ContactFirstName

string

None.

FriendlyAddress

string

None.

FriendlyAddressHtml

string

None.

FriendlyContactDisplay

string

None.

ContactLastName

string

None.

ContactPhone

string

None.

ContactPhoneExt

string

None.

ContactEmail

string

None.

ContactCompany

string

None.

StreetAddress

string

None.

City

string

None.

State

string

None.

Zip

string

None.

ZipExtendedFour

string

None.

Suite

string

None.

Floor

string

None.

Telephone

string

None.

TelephoneExt

string

None.

LinkedCC

boolean

None.

LinkedTermAccount

boolean

None.

Favorite

boolean

None.

BuildingActive

boolean

None.

AddressActive

boolean

None.

PriorityPickupStatus

integer

None.

ValidationResponse

boolean

None.

ValidationResponseMessage

string

None.

IsLunchStop

boolean

None.

LunchStopId

integer

None.

LunchStopName

string

None.

LunchStopStatus

integer

None.

IsLocked

boolean

None.

IsPickupLocation

boolean

None.

IsCustomerDefaultLocation

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "AddressId": 1,
  "CrossStreetInstructions": "sample string 2",
  "IsVirtualCafe": true,
  "AddressHash": "sample string 4",
  "BuildingHash": "sample string 5",
  "TypeName": "sample string 6",
  "TypeValue": 1,
  "CellId": "sample string 7",
  "IsEcafe": true,
  "ParkingFlag": 9,
  "ContactFirstName": "sample string 10",
  "FriendlyAddress": "sample string 11",
  "FriendlyAddressHtml": "sample string 12",
  "FriendlyContactDisplay": "sample string 13",
  "ContactLastName": "sample string 14",
  "ContactPhone": "sample string 15",
  "ContactPhoneExt": "sample string 16",
  "ContactEmail": "sample string 17",
  "ContactCompany": "sample string 18",
  "StreetAddress": "sample string 19",
  "City": "sample string 20",
  "State": "sample string 21",
  "Zip": "sample string 22",
  "ZipExtendedFour": "sample string 23",
  "Suite": "sample string 24",
  "Floor": "sample string 25",
  "Telephone": "sample string 26",
  "TelephoneExt": "sample string 27",
  "LinkedCC": true,
  "LinkedTermAccount": true,
  "Favorite": true,
  "BuildingActive": true,
  "AddressActive": true,
  "PriorityPickupStatus": 33,
  "ValidationResponse": true,
  "ValidationResponseMessage": "sample string 35",
  "IsLunchStop": true,
  "LunchStopId": 37,
  "LunchStopName": "sample string 38",
  "LunchStopStatus": 39,
  "IsLocked": true,
  "IsPickupLocation": true,
  "IsCustomerDefaultLocation": true
}

text/html

Sample:
{"AddressId":1,"CrossStreetInstructions":"sample string 2","IsVirtualCafe":true,"AddressHash":"sample string 4","BuildingHash":"sample string 5","TypeName":"sample string 6","TypeValue":1,"CellId":"sample string 7","IsEcafe":true,"ParkingFlag":9,"ContactFirstName":"sample string 10","FriendlyAddress":"sample string 11","FriendlyAddressHtml":"sample string 12","FriendlyContactDisplay":"sample string 13","ContactLastName":"sample string 14","ContactPhone":"sample string 15","ContactPhoneExt":"sample string 16","ContactEmail":"sample string 17","ContactCompany":"sample string 18","StreetAddress":"sample string 19","City":"sample string 20","State":"sample string 21","Zip":"sample string 22","ZipExtendedFour":"sample string 23","Suite":"sample string 24","Floor":"sample string 25","Telephone":"sample string 26","TelephoneExt":"sample string 27","LinkedCC":true,"LinkedTermAccount":true,"Favorite":true,"BuildingActive":true,"AddressActive":true,"PriorityPickupStatus":33,"ValidationResponse":true,"ValidationResponseMessage":"sample string 35","IsLunchStop":true,"LunchStopId":37,"LunchStopName":"sample string 38","LunchStopStatus":39,"IsLocked":true,"IsPickupLocation":true,"IsCustomerDefaultLocation":true}

application/xml, text/xml

Sample:
<Address xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Specialtys.DTO">
  <AddressActive>true</AddressActive>
  <AddressHash>sample string 4</AddressHash>
  <AddressId>1</AddressId>
  <BuildingActive>true</BuildingActive>
  <BuildingHash>sample string 5</BuildingHash>
  <CellId>sample string 7</CellId>
  <City>sample string 20</City>
  <ContactCompany>sample string 18</ContactCompany>
  <ContactEmail>sample string 17</ContactEmail>
  <ContactFirstName>sample string 10</ContactFirstName>
  <ContactLastName>sample string 14</ContactLastName>
  <ContactPhone>sample string 15</ContactPhone>
  <ContactPhoneExt>sample string 16</ContactPhoneExt>
  <CrossStreetInstructions>sample string 2</CrossStreetInstructions>
  <Favorite>true</Favorite>
  <Floor>sample string 25</Floor>
  <FriendlyAddress>sample string 11</FriendlyAddress>
  <FriendlyAddressHtml>sample string 12</FriendlyAddressHtml>
  <FriendlyContactDisplay>sample string 13</FriendlyContactDisplay>
  <IsCustomerDefaultLocation>true</IsCustomerDefaultLocation>
  <IsEcafe>true</IsEcafe>
  <IsLocked>true</IsLocked>
  <IsLunchStop>true</IsLunchStop>
  <IsPickupLocation>true</IsPickupLocation>
  <IsVirtualCafe>true</IsVirtualCafe>
  <LinkedCC>true</LinkedCC>
  <LinkedTermAccount>true</LinkedTermAccount>
  <LunchStopId>37</LunchStopId>
  <LunchStopName>sample string 38</LunchStopName>
  <LunchStopStatus>39</LunchStopStatus>
  <ParkingFlag>9</ParkingFlag>
  <PriorityPickupStatus>33</PriorityPickupStatus>
  <State>sample string 21</State>
  <StreetAddress>sample string 19</StreetAddress>
  <Suite>sample string 24</Suite>
  <Telephone>sample string 26</Telephone>
  <TelephoneExt>sample string 27</TelephoneExt>
  <TypeName>sample string 6</TypeName>
  <TypeValue>1</TypeValue>
  <ValidationResponse>true</ValidationResponse>
  <ValidationResponseMessage>sample string 35</ValidationResponseMessage>
  <Zip>sample string 22</Zip>
  <ZipExtendedFour>sample string 23</ZipExtendedFour>
</Address>

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.