POST api/Customer/CreateAddres?CardCode={CardCode}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
CardCode | string |
Required |
Body Parameters
AddressName | Description | Type | Additional information |
---|---|---|---|
id | string |
None. |
|
ShipToDef | string |
None. |
|
AddressName | string |
None. |
|
U_IsAddressSync | string |
None. |
|
U_MAddressID | string |
None. |
|
U_AddressSource | string |
None. |
|
AddressName2 | string |
None. |
|
AddressName3 | string |
None. |
|
RowNum | integer |
None. |
|
Street | string |
None. |
|
Block | string |
None. |
|
City | string |
None. |
|
State | string |
None. |
|
ZipCode | string |
None. |
|
Country | string |
None. |
|
AddressType | string |
None. |
|
Address_Type | AddressType |
None. |
|
U_Active | integer |
None. |
|
IsCreatedInUS | integer |
None. |
|
IsCreatedInCA | integer |
None. |
|
IsUpdatedInUS | integer |
None. |
|
IsUpdatedInCA | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "<MagentoAddressId>k__BackingField": "sample string 1", "<ShipToDef>k__BackingField": "sample string 2", "<AddressName>k__BackingField": "sample string 3", "<IsAddressSync>k__BackingField": "sample string 4", "<U_MAddressID>k__BackingField": "sample string 5", "<U_AddressSource>k__BackingField": "sample string 6", "<AddresseeFirstName>k__BackingField": "sample", "<AddresseeLastName>k__BackingField": " string 10", "<RowNum>k__BackingField": 9, "<AddressLine1>k__BackingField": "sample string 11", "<AddressLine2>k__BackingField": "sample string 12", "<City>k__BackingField": "sample string 13", "<State>k__BackingField": "sample string 14", "<PostalCode>k__BackingField": "sample string 15", "<Country>k__BackingField": "sample string 16", "<AddressType>k__BackingField": 0, "<Active>k__BackingField": false, "<IsCreatedInUS>k__BackingField": 20, "<IsCreatedInCA>k__BackingField": 21, "<IsUpdatedInUS>k__BackingField": 22, "<IsUpdatedInCA>k__BackingField": 23 }
application/xml, text/xml
Sample:
<Address xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Univera.Data"> <_x003C_Active_x003E_k__BackingField>false</_x003C_Active_x003E_k__BackingField> <_x003C_AddressLine1_x003E_k__BackingField>sample string 11</_x003C_AddressLine1_x003E_k__BackingField> <_x003C_AddressLine2_x003E_k__BackingField>sample string 12</_x003C_AddressLine2_x003E_k__BackingField> <_x003C_AddressName_x003E_k__BackingField>sample string 3</_x003C_AddressName_x003E_k__BackingField> <_x003C_AddressType_x003E_k__BackingField>Shipping</_x003C_AddressType_x003E_k__BackingField> <_x003C_AddresseeFirstName_x003E_k__BackingField>sample</_x003C_AddresseeFirstName_x003E_k__BackingField> <_x003C_AddresseeLastName_x003E_k__BackingField> string 10</_x003C_AddresseeLastName_x003E_k__BackingField> <_x003C_City_x003E_k__BackingField>sample string 13</_x003C_City_x003E_k__BackingField> <_x003C_Country_x003E_k__BackingField>sample string 16</_x003C_Country_x003E_k__BackingField> <_x003C_IsAddressSync_x003E_k__BackingField>sample string 4</_x003C_IsAddressSync_x003E_k__BackingField> <_x003C_IsCreatedInCA_x003E_k__BackingField>21</_x003C_IsCreatedInCA_x003E_k__BackingField> <_x003C_IsCreatedInUS_x003E_k__BackingField>20</_x003C_IsCreatedInUS_x003E_k__BackingField> <_x003C_IsUpdatedInCA_x003E_k__BackingField>23</_x003C_IsUpdatedInCA_x003E_k__BackingField> <_x003C_IsUpdatedInUS_x003E_k__BackingField>22</_x003C_IsUpdatedInUS_x003E_k__BackingField> <_x003C_MagentoAddressId_x003E_k__BackingField>sample string 1</_x003C_MagentoAddressId_x003E_k__BackingField> <_x003C_PostalCode_x003E_k__BackingField>sample string 15</_x003C_PostalCode_x003E_k__BackingField> <_x003C_RowNum_x003E_k__BackingField>9</_x003C_RowNum_x003E_k__BackingField> <_x003C_ShipToDef_x003E_k__BackingField>sample string 2</_x003C_ShipToDef_x003E_k__BackingField> <_x003C_State_x003E_k__BackingField>sample string 14</_x003C_State_x003E_k__BackingField> <_x003C_U_AddressSource_x003E_k__BackingField>sample string 6</_x003C_U_AddressSource_x003E_k__BackingField> <_x003C_U_MAddressID_x003E_k__BackingField>sample string 5</_x003C_U_MAddressID_x003E_k__BackingField> </Address>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IPostXMLResultName | Description | Type | Additional information |
---|---|---|---|
PostResult | RequestResult |
None. |
|
Message | string |
None. |
|
Status | string |
None. |
|
Identifier | string |
None. |
|
Timestamp | date |
None. |
|
EntityObject | Object |
None. |
|
DocNum | integer |
None. |
|
CardCode | string |
None. |
|
IsCreatedInUS | integer |
None. |
|
IsCreatedInCA | integer |
None. |
|
IsUpdatedInUS | integer |
None. |
|
IsUpdatedInCA | integer |
None. |
|
AddressName | string |
None. |
|
USAccountToken | string |
None. |
|
CAAccountToken | string |
None. |
|
AcountPaymentToken | string |
None. |
|
CPTotal | decimal number |
None. |
|
ShippingCharge | decimal number |
None. |
|
ShippingTax | decimal number |
None. |
|
Tax | decimal number |
None. |
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.