GET api/Stok?db={db}&Kod={Kod}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| db | string |
Required |
|
| Kod | string |
Required |
Body Parameters
None.
Response Information
Resource Description
StokResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| data | Stok |
None. |
|
| Succeeded | boolean |
None. |
|
| Message | string |
None. |
|
| Id | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"data": {
"Kod": "sample string 1",
"UrunAd": "sample string 2",
"SatisFiyat1": 3.0,
"Durum": 4
},
"Succeeded": true,
"Message": "sample string 2",
"Id": 3
}
application/xml, text/xml
Sample:
<StokResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiV2.Models">
<Id>3</Id>
<Message>sample string 2</Message>
<Succeeded>true</Succeeded>
<data>
<Durum>4</Durum>
<Kod>sample string 1</Kod>
<SatisFiyat1>3</SatisFiyat1>
<UrunAd>sample string 2</UrunAd>
</data>
</StokResponse>