GET api/bar_kala/{id}?type_b={type_b}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| type_b | integer |
Required |
|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of bar_kala| Name | Description | Type | Additional information |
|---|---|---|---|
| id | decimal number |
None. |
|
| num_b | decimal number |
None. |
|
| num_s | decimal number |
None. |
|
| code_k | decimal number |
None. |
|
| name_k | string |
None. |
|
| tedad | integer |
None. |
|
| vahed | string |
None. |
|
| price_h | decimal number |
None. |
|
| type_b | byte |
None. |
|
| p_anaam | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": 1.0,
"num_b": 1.0,
"num_s": 1.0,
"code_k": 1.0,
"name_k": "sample string 2",
"tedad": 1,
"vahed": "sample string 3",
"price_h": 1.0,
"type_b": 64,
"p_anaam": 1.0
},
{
"id": 1.0,
"num_b": 1.0,
"num_s": 1.0,
"code_k": 1.0,
"name_k": "sample string 2",
"tedad": 1,
"vahed": "sample string 3",
"price_h": 1.0,
"type_b": 64,
"p_anaam": 1.0
}
]
text/html
Sample:
[{"id":1.0,"num_b":1.0,"num_s":1.0,"code_k":1.0,"name_k":"sample string 2","tedad":1,"vahed":"sample string 3","price_h":1.0,"type_b":64,"p_anaam":1.0},{"id":1.0,"num_b":1.0,"num_s":1.0,"code_k":1.0,"name_k":"sample string 2","tedad":1,"vahed":"sample string 3","price_h":1.0,"type_b":64,"p_anaam":1.0}]
application/xml, text/xml
Sample:
<ArrayOfbar_kala xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TWD_WEB.Models">
<bar_kala>
<code_k>1</code_k>
<id>1</id>
<name_k>sample string 2</name_k>
<num_b>1</num_b>
<num_s>1</num_s>
<p_anaam>1</p_anaam>
<price_h>1</price_h>
<tedad>1</tedad>
<type_b>64</type_b>
<vahed>sample string 3</vahed>
</bar_kala>
<bar_kala>
<code_k>1</code_k>
<id>1</id>
<name_k>sample string 2</name_k>
<num_b>1</num_b>
<num_s>1</num_s>
<p_anaam>1</p_anaam>
<price_h>1</price_h>
<tedad>1</tedad>
<type_b>64</type_b>
<vahed>sample string 3</vahed>
</bar_kala>
</ArrayOfbar_kala>