POST api/Service/GetAddresses
Request Information
URI Parameters
None.
Body Parameters
AddressesRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Input | AddressesInputModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"Input": {
"UserNo": 1
}
}
application/xml, text/xml
Sample:
<AddressesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BizMate.BizLayer">
<Input>
<UserNo>1</UserNo>
</Input>
</AddressesRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AddressesResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| OutPut | AddressesOutPutModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"OutPut": {
"Success": true,
"Message": "sample string 2",
"Addresses": {
"AddressesInfo": [
{
"AddressID": "sample string 1",
"FirstName": "sample string 2",
"Address1": "sample string 3",
"City": "sample string 4",
"Country": "sample string 5",
"Phone1": "sample string 6",
"Email": "sample string 7"
},
{
"AddressID": "sample string 1",
"FirstName": "sample string 2",
"Address1": "sample string 3",
"City": "sample string 4",
"Country": "sample string 5",
"Phone1": "sample string 6",
"Email": "sample string 7"
}
]
}
}
}
application/xml, text/xml
Sample:
<AddressesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BizMate.BizLayer">
<OutPut>
<Addresses>
<AddressesInfo>
<AddressesModel>
<Address1>sample string 3</Address1>
<AddressID>sample string 1</AddressID>
<City>sample string 4</City>
<Country>sample string 5</Country>
<Email>sample string 7</Email>
<FirstName>sample string 2</FirstName>
<Phone1>sample string 6</Phone1>
</AddressesModel>
<AddressesModel>
<Address1>sample string 3</Address1>
<AddressID>sample string 1</AddressID>
<City>sample string 4</City>
<Country>sample string 5</Country>
<Email>sample string 7</Email>
<FirstName>sample string 2</FirstName>
<Phone1>sample string 6</Phone1>
</AddressesModel>
</AddressesInfo>
</Addresses>
<Message>sample string 2</Message>
<Success>true</Success>
</OutPut>
</AddressesResponse>