POST api/BranchList
Request Information
URI Parameters
None.
Body Parameters
Jsonparams| Name | Description | Type | Additional information |
|---|---|---|---|
| jsonstring | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"jsonstring": "sample string 1"
}
application/xml, text/xml
Sample:
<Jsonparams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRMANTOTAYOWEBAPI.Models"> <jsonstring>sample string 1</jsonstring> </Jsonparams>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BranchList| Name | Description | Type | Additional information |
|---|---|---|---|
| Branch_List | Collection of _GetBranchList |
None. |
Response Formats
application/json, text/json
Sample:
{
"Branch_List": [
{
"Branchcode": "sample string 1",
"City": "sample string 2",
"Country": "sample string 3",
"Address": "sample string 4",
"tel": "sample string 5"
},
{
"Branchcode": "sample string 1",
"City": "sample string 2",
"Country": "sample string 3",
"Address": "sample string 4",
"tel": "sample string 5"
}
]
}
application/xml, text/xml
Sample:
<BranchList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRMANTOTAYOWEBAPI.Models">
<Branch_List>
<_GetBranchList>
<Address>sample string 4</Address>
<Branchcode>sample string 1</Branchcode>
<City>sample string 2</City>
<Country>sample string 3</Country>
<tel>sample string 5</tel>
</_GetBranchList>
<_GetBranchList>
<Address>sample string 4</Address>
<Branchcode>sample string 1</Branchcode>
<City>sample string 2</City>
<Country>sample string 3</Country>
<tel>sample string 5</tel>
</_GetBranchList>
</Branch_List>
</BranchList>