GET api/TwreedSrf/TwreedSarfSubs?twreedSarf_id={twreedSarf_id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| twreedSarf_id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of TwreedSarfSubsView| Name | Description | Type | Additional information |
|---|---|---|---|
| itemName | string |
None. |
|
| unitName | string |
None. |
|
| barcode | string |
None. |
|
| cost_curr | decimal number |
None. |
|
| proc_id | integer |
None. |
|
| item | integer |
None. |
|
| unit | integer |
None. |
|
| quan | decimal number |
None. |
|
| totquan | decimal number |
None. |
|
| price | decimal number |
None. |
|
| sum | decimal number |
None. |
|
| sub_branch | integer |
None. |
|
| sub_center | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"itemName": "sample string 1",
"unitName": "sample string 2",
"barcode": "sample string 3",
"cost_curr": 4.1,
"proc_id": 1,
"item": 1,
"unit": 1,
"quan": 1.1,
"totquan": 1.1,
"price": 1.1,
"sum": 1.1,
"sub_branch": 1,
"sub_center": 1
},
{
"itemName": "sample string 1",
"unitName": "sample string 2",
"barcode": "sample string 3",
"cost_curr": 4.1,
"proc_id": 1,
"item": 1,
"unit": 1,
"quan": 1.1,
"totquan": 1.1,
"price": 1.1,
"sum": 1.1,
"sub_branch": 1,
"sub_center": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfTwreedSrfController.TwreedSarfSubsView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Controllers.Public.Twreeds">
<TwreedSrfController.TwreedSarfSubsView>
<item xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1</item>
<price xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1.1</price>
<proc_id xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1</proc_id>
<quan xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1.1</quan>
<sub_branch xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1</sub_branch>
<sub_center xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1</sub_center>
<sum xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1.1</sum>
<totquan xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1.1</totquan>
<unit xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1</unit>
<barcode>sample string 3</barcode>
<cost_curr>4.1</cost_curr>
<itemName>sample string 1</itemName>
<unitName>sample string 2</unitName>
</TwreedSrfController.TwreedSarfSubsView>
<TwreedSrfController.TwreedSarfSubsView>
<item xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1</item>
<price xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1.1</price>
<proc_id xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1</proc_id>
<quan xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1.1</quan>
<sub_branch xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1</sub_branch>
<sub_center xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1</sub_center>
<sum xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1.1</sum>
<totquan xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1.1</totquan>
<unit xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1</unit>
<barcode>sample string 3</barcode>
<cost_curr>4.1</cost_curr>
<itemName>sample string 1</itemName>
<unitName>sample string 2</unitName>
</TwreedSrfController.TwreedSarfSubsView>
</ArrayOfTwreedSrfController.TwreedSarfSubsView>