POST api/V2/Member/AddOrUpdateMemberAddress
Request Information
URI Parameters
None.
Body Parameters
AddressViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| UserId | integer |
Required |
|
| AddressLine1 | string |
Required |
|
| AddressLine2 | string |
None. |
|
| City | integer |
None. |
|
| State | integer |
None. |
|
| PostCode | string |
Required |
|
| Country | integer |
None. |
|
| WorkPhoneNumber | string |
None. |
|
| HomePhoneNumber | string |
None. |
|
| IsPrimary | boolean |
None. |
|
| IsActive | boolean |
None. |
|
| AddressType | string |
None. |
|
| SpecialSafePlace | string |
None. |
|
| UserType | string |
Required |
|
| IsLetterBoxDelivery | boolean |
None. |
|
| StateName | string |
Required |
|
| CityName | string |
Required |
|
| AspNetUserId | string |
None. |
|
| MemberId | integer |
None. |
|
| tblCustomer | tblCustomer |
None. |
|
| tblCountry | tblCountry |
None. |
|
| tblCity | tblCity |
None. |
|
| tblState | tblState |
None. |
|
| odsCode | string |
None. |
|
| IsSafePlace | boolean |
None. |
|
| SafePlaceDeliveryAddress | string |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | ResStatus |
None. |
|
| ErrorMessage | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 0,
"ErrorMessage": "sample string 1",
"Data": {}
}
application/xml, text/xml
Sample:
<ResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CodaPharma.Api.Models"> <Data /> <ErrorMessage>sample string 1</ErrorMessage> <Status>Fail</Status> </ResponseModel>