GET api/Amc?ordsno={ordsno}&div={div}&branchname={branchname}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ordsno | integer |
Required |
|
| div | integer |
Required |
|
| branchname | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of AmcProduct| Name | Description | Type | Additional information |
|---|---|---|---|
| productid | integer |
None. |
|
| productcode | string |
None. |
|
| productname | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"productid": 1,
"productcode": "sample string 2",
"productname": "sample string 3"
},
{
"productid": 1,
"productcode": "sample string 2",
"productname": "sample string 3"
}
]
application/xml, text/xml
Sample:
<ArrayOfAmcProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiAndroid.Controllers">
<AmcProduct>
<productcode>sample string 2</productcode>
<productid>1</productid>
<productname>sample string 3</productname>
</AmcProduct>
<AmcProduct>
<productcode>sample string 2</productcode>
<productid>1</productid>
<productname>sample string 3</productname>
</AmcProduct>
</ArrayOfAmcProduct>