POST api/Accounts/GetShipToAddress
Request Information
URI Parameters
None.
Body Parameters
GetShipToAddressCommandName | Description | Type | Additional information |
---|---|---|---|
AccountId | string |
None. |
|
AddressId | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "AccountId": "sample string 1", "AddressId": "sample string 2" }
application/xml, text/xml
Sample:
<GetShipToAddressCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pronto.Core.Services.ServiceCommands"> <AccountId>sample string 1</AccountId> <AddressId>sample string 2</AddressId> </GetShipToAddressCommand>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AccountShipToAddressName | Description | Type | Additional information |
---|---|---|---|
Id | string |
None. |
|
AccountId | string |
None. |
|
Name | string |
None. |
|
AddressLine1 | string |
None. |
|
AddressLine2 | string |
None. |
|
AddressLine3 | string |
None. |
|
City | string |
None. |
|
State_CD | string |
None. |
|
ZipCode | string |
None. |
|
ZipCode_Plus4 | string |
None. |
|
OptimalInventoryBranchId | integer |
None. |
|
ItemMTRDeliveryMethodIdDefault | integer |
None. |
|
ItemMTRDeliveryMethodDefault | ItemMTRDeliveryMethod |
None. |
|
DayOfWeekDeliveries | Dictionary of integer [key] and boolean [value] |
None. |
|
DayOfWeekDeliveriesOverlappingWithOptimalBranch | Dictionary of integer [key] and boolean [value] |
None. |
|
WillCall | boolean |
None. |
|
Inactive | boolean |
None. |
|
WillDeliver | boolean |
None. |
|
WillReceive | boolean |
None. |
|
ApprovedByCredit | boolean |
None. |
|
InPronto | boolean |
None. |
|
ParentName | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": "sample string 1", "AccountId": "sample string 2", "Name": "sample string 3", "AddressLine1": "sample string 4", "AddressLine2": "sample string 5", "AddressLine3": "sample string 6", "City": "sample string 7", "State_CD": "sample string 8", "ZipCode": "sample string 9", "ZipCode_Plus4": "sample string 10", "OptimalInventoryBranchId": 11, "ItemMTRDeliveryMethodIdDefault": 1, "ItemMTRDeliveryMethodDefault": { "Id": 1, "Name": "sample string 2", "IsAvailableForECommerce": true }, "DayOfWeekDeliveries": { "1": true, "3": true }, "DayOfWeekDeliveriesOverlappingWithOptimalBranch": { "1": true, "3": true }, "WillCall": true, "Inactive": true, "WillDeliver": true, "WillReceive": true, "ApprovedByCredit": true, "InPronto": true, "ParentName": "sample string 18" }
application/xml, text/xml
Sample:
<AccountShipToAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pronto.Core.Entities"> <AccountId>sample string 2</AccountId> <AddressLine1>sample string 4</AddressLine1> <AddressLine2>sample string 5</AddressLine2> <AddressLine3>sample string 6</AddressLine3> <ApprovedByCredit>true</ApprovedByCredit> <City>sample string 7</City> <DayOfWeekDeliveries xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:KeyValueOfintboolean> <d2p1:Key>1</d2p1:Key> <d2p1:Value>true</d2p1:Value> </d2p1:KeyValueOfintboolean> <d2p1:KeyValueOfintboolean> <d2p1:Key>3</d2p1:Key> <d2p1:Value>true</d2p1:Value> </d2p1:KeyValueOfintboolean> </DayOfWeekDeliveries> <DayOfWeekDeliveriesOverlappingWithOptimalBranch xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:KeyValueOfintboolean> <d2p1:Key>1</d2p1:Key> <d2p1:Value>true</d2p1:Value> </d2p1:KeyValueOfintboolean> <d2p1:KeyValueOfintboolean> <d2p1:Key>3</d2p1:Key> <d2p1:Value>true</d2p1:Value> </d2p1:KeyValueOfintboolean> </DayOfWeekDeliveriesOverlappingWithOptimalBranch> <Id>sample string 1</Id> <InPronto>true</InPronto> <Inactive>true</Inactive> <ItemMTRDeliveryMethodDefault> <Id>1</Id> <IsAvailableForECommerce>true</IsAvailableForECommerce> <Name>sample string 2</Name> </ItemMTRDeliveryMethodDefault> <ItemMTRDeliveryMethodIdDefault>1</ItemMTRDeliveryMethodIdDefault> <Name>sample string 3</Name> <OptimalInventoryBranchId>11</OptimalInventoryBranchId> <ParentName>sample string 18</ParentName> <State_CD>sample string 8</State_CD> <WillCall>true</WillCall> <WillDeliver>true</WillDeliver> <WillReceive>true</WillReceive> <ZipCode>sample string 9</ZipCode> <ZipCode_Plus4>sample string 10</ZipCode_Plus4> </AccountShipToAddress>