POST api/ms/customers/addresses
Create Address
Request Information
URI Parameters
None.
Body Parameters
m_addressName | Description | Type | Additional information |
---|---|---|---|
AddressLine1 | string |
Required String length: inclusive between 0 and 100 |
|
AddressLine2 | string |
String length: inclusive between 0 and 100 |
|
Province | string |
Required String length: inclusive between 0 and 100 |
|
District | string |
Required String length: inclusive between 0 and 100 |
|
SubDistrict | string |
Required String length: inclusive between 0 and 50 |
|
PostalCode | string |
Required String length: inclusive between 0 and 10 |
Request Formats
application/json, text/json
Sample:
{ "AddressLine1": "sample string 1", "AddressLine2": "sample string 2", "Province": "sample string 3", "District": "sample string 4", "SubDistrict": "sample string 5", "PostalCode": "sample string 6" }
application/xml, text/xml
Sample:
<m_address xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KFA.Modules.Models.Mainsystem"> <AddressLine1>sample string 1</AddressLine1> <AddressLine2>sample string 2</AddressLine2> <District>sample string 4</District> <PostalCode>sample string 6</PostalCode> <Province>sample string 3</Province> <SubDistrict>sample string 5</SubDistrict> </m_address>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.