POST api/Address
Request Information
URI Parameters
None.
Body Parameters
Address2Name | Description | Type | Additional information |
---|---|---|---|
address_id | integer |
None. |
|
first_name | string |
None. |
|
last_name | string |
None. |
|
mobile | string |
None. |
|
string |
None. |
||
address_line1 | string |
None. |
|
address_line2 | string |
None. |
|
town | string |
None. |
|
country | string |
None. |
|
post_code | string |
None. |
|
county | string |
None. |
|
invaddress | integer |
None. |
|
deladdress | integer |
None. |
|
dinvaddress | integer |
None. |
|
ddeladdress | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "address_id": 1, "first_name": "sample string 2", "last_name": "sample string 3", "mobile": "sample string 4", "email": "sample string 5", "address_line1": "sample string 6", "address_line2": "sample string 7", "town": "sample string 8", "country": "sample string 9", "post_code": "sample string 10", "county": "sample string 11", "invaddress": 12, "deladdress": 13, "dinvaddress": 14, "ddeladdress": 15 }
text/xml
Sample:
<Address2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WoApp.Models"> <address_id>1</address_id> <address_line1>sample string 6</address_line1> <address_line2>sample string 7</address_line2> <country>sample string 9</country> <county>sample string 11</county> <ddeladdress>15</ddeladdress> <deladdress>13</deladdress> <dinvaddress>14</dinvaddress> <email>sample string 5</email> <first_name>sample string 2</first_name> <invaddress>12</invaddress> <last_name>sample string 3</last_name> <mobile>sample string 4</mobile> <post_code>sample string 10</post_code> <town>sample string 8</town> </Address2>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |