GET api/Items/Getfewitems?db_name={db_name}&item_name={item_name}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| db_name | string |
Required |
|
| item_name | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of items| Name | Description | Type | Additional information |
|---|---|---|---|
| Item_code | integer |
None. |
|
| Item_name | string |
None. |
|
| Item_price_iqd | decimal number |
None. |
|
| Item_price_doll | decimal number |
None. |
|
| Item_price_iqd_mb | decimal number |
None. |
|
| Item_price_doll_mb | decimal number |
None. |
|
| Item_amount | decimal number |
None. |
|
| Item_less_required | integer |
None. |
|
| Item_nots | string |
None. |
|
| Item_price_iqd_mb_m | decimal number |
None. |
|
| Item_price_doll_mb_m | decimal number |
None. |
|
| cuntaint_id_1 | integer |
None. |
|
| cuntaint1_name | string |
None. |
|
| Item_nu | decimal number |
None. |
|
| cuntaint_id_2 | integer |
None. |
|
| cuntaint2_name | string |
None. |
|
| isnaf_id | integer |
None. |
|
| item_expir | string |
None. |
|
| item_befor | integer |
None. |
|
| Item_price_iqd_mb_s | decimal number |
None. |
|
| Item_price_doll_mb_s | decimal number |
None. |
|
| mo | string |
None. |
|
| type_1 | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Item_code": 1,
"Item_name": "sample string 2",
"Item_price_iqd": 3.1,
"Item_price_doll": 4.1,
"Item_price_iqd_mb": 5.1,
"Item_price_doll_mb": 6.1,
"Item_amount": 7.1,
"Item_less_required": 8,
"Item_nots": "sample string 9",
"Item_price_iqd_mb_m": 10.1,
"Item_price_doll_mb_m": 11.1,
"cuntaint_id_1": 12,
"cuntaint1_name": "sample string 13",
"Item_nu": 14.1,
"cuntaint_id_2": 15,
"cuntaint2_name": "sample string 16",
"isnaf_id": 17,
"item_expir": "sample string 18",
"item_befor": 19,
"Item_price_iqd_mb_s": 20.1,
"Item_price_doll_mb_s": 21.1,
"mo": "sample string 22",
"type_1": 23
},
{
"Item_code": 1,
"Item_name": "sample string 2",
"Item_price_iqd": 3.1,
"Item_price_doll": 4.1,
"Item_price_iqd_mb": 5.1,
"Item_price_doll_mb": 6.1,
"Item_amount": 7.1,
"Item_less_required": 8,
"Item_nots": "sample string 9",
"Item_price_iqd_mb_m": 10.1,
"Item_price_doll_mb_m": 11.1,
"cuntaint_id_1": 12,
"cuntaint1_name": "sample string 13",
"Item_nu": 14.1,
"cuntaint_id_2": 15,
"cuntaint2_name": "sample string 16",
"isnaf_id": 17,
"item_expir": "sample string 18",
"item_befor": 19,
"Item_price_iqd_mb_s": 20.1,
"Item_price_doll_mb_s": 21.1,
"mo": "sample string 22",
"type_1": 23
}
]
application/xml, text/xml
Sample:
<ArrayOfitems xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/meraApi.Models">
<items>
<Item_amount>7.1</Item_amount>
<Item_code>1</Item_code>
<Item_less_required>8</Item_less_required>
<Item_name>sample string 2</Item_name>
<Item_nots>sample string 9</Item_nots>
<Item_nu>14.1</Item_nu>
<Item_price_doll>4.1</Item_price_doll>
<Item_price_doll_mb>6.1</Item_price_doll_mb>
<Item_price_doll_mb_m>11.1</Item_price_doll_mb_m>
<Item_price_doll_mb_s>21.1</Item_price_doll_mb_s>
<Item_price_iqd>3.1</Item_price_iqd>
<Item_price_iqd_mb>5.1</Item_price_iqd_mb>
<Item_price_iqd_mb_m>10.1</Item_price_iqd_mb_m>
<Item_price_iqd_mb_s>20.1</Item_price_iqd_mb_s>
<cuntaint1_name>sample string 13</cuntaint1_name>
<cuntaint2_name>sample string 16</cuntaint2_name>
<cuntaint_id_1>12</cuntaint_id_1>
<cuntaint_id_2>15</cuntaint_id_2>
<isnaf_id>17</isnaf_id>
<item_befor>19</item_befor>
<item_expir>sample string 18</item_expir>
<mo>sample string 22</mo>
<type_1>23</type_1>
</items>
<items>
<Item_amount>7.1</Item_amount>
<Item_code>1</Item_code>
<Item_less_required>8</Item_less_required>
<Item_name>sample string 2</Item_name>
<Item_nots>sample string 9</Item_nots>
<Item_nu>14.1</Item_nu>
<Item_price_doll>4.1</Item_price_doll>
<Item_price_doll_mb>6.1</Item_price_doll_mb>
<Item_price_doll_mb_m>11.1</Item_price_doll_mb_m>
<Item_price_doll_mb_s>21.1</Item_price_doll_mb_s>
<Item_price_iqd>3.1</Item_price_iqd>
<Item_price_iqd_mb>5.1</Item_price_iqd_mb>
<Item_price_iqd_mb_m>10.1</Item_price_iqd_mb_m>
<Item_price_iqd_mb_s>20.1</Item_price_iqd_mb_s>
<cuntaint1_name>sample string 13</cuntaint1_name>
<cuntaint2_name>sample string 16</cuntaint2_name>
<cuntaint_id_1>12</cuntaint_id_1>
<cuntaint_id_2>15</cuntaint_id_2>
<isnaf_id>17</isnaf_id>
<item_befor>19</item_befor>
<item_expir>sample string 18</item_expir>
<mo>sample string 22</mo>
<type_1>23</type_1>
</items>
</ArrayOfitems>