POST api/addresses
Request Information
URI Parameters
None.
Body Parameters
AddGetDetailsName | Description | Type | Additional information |
---|---|---|---|
Permanent_Address | CurrentAddress |
None. |
|
Current_Address | CurrentAddress |
None. |
|
stId | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Permanent_Address": { "House_Number": "sample string 1", "City": "sample string 2", "State": "sample string 3", "Country": "sample string 4", "PhoneNumber": [ { "Std_Code": "sample string 1", "Home": "sample string 2", "Mobile": "sample string 3" }, { "Std_Code": "sample string 1", "Home": "sample string 2", "Mobile": "sample string 3" } ] }, "Current_Address": { "House_Number": "sample string 1", "City": "sample string 2", "State": "sample string 3", "Country": "sample string 4", "PhoneNumber": [ { "Std_Code": "sample string 1", "Home": "sample string 2", "Mobile": "sample string 3" }, { "Std_Code": "sample string 1", "Home": "sample string 2", "Mobile": "sample string 3" } ] }, "stId": "sample string 1" }
application/xml, text/xml
Sample:
<AddGetDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiOauth2.Models"> <Current_Address> <City>sample string 2</City> <Country>sample string 4</Country> <House_Number>sample string 1</House_Number> <PhoneNumber> <PhoneNumber> <Home>sample string 2</Home> <Mobile>sample string 3</Mobile> <Std_Code>sample string 1</Std_Code> </PhoneNumber> <PhoneNumber> <Home>sample string 2</Home> <Mobile>sample string 3</Mobile> <Std_Code>sample string 1</Std_Code> </PhoneNumber> </PhoneNumber> <State>sample string 3</State> </Current_Address> <Permanent_Address> <City>sample string 2</City> <Country>sample string 4</Country> <House_Number>sample string 1</House_Number> <PhoneNumber> <PhoneNumber> <Home>sample string 2</Home> <Mobile>sample string 3</Mobile> <Std_Code>sample string 1</Std_Code> </PhoneNumber> <PhoneNumber> <Home>sample string 2</Home> <Mobile>sample string 3</Mobile> <Std_Code>sample string 1</Std_Code> </PhoneNumber> </PhoneNumber> <State>sample string 3</State> </Permanent_Address> <stId>sample string 1</stId> </AddGetDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />