GET api/main/Productsmoshabe?kcode={kcode}&page={page}&limit={limit}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| kcode | string |
Required |
|
| page | integer |
Required |
|
| limit | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Listproduct| Name | Description | Type | Additional information |
|---|---|---|---|
| KCode | string |
None. |
|
| GroupId | integer |
None. |
|
| KName | string |
None. |
|
| KNamelatin | string |
None. |
|
| Vazeat | string |
None. |
|
| KPrc1 | decimal number |
None. |
|
| KPrc2 | decimal number |
None. |
|
| Colors | Collection of Colors |
None. |
|
| Pic | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"KCode": "sample string 1",
"GroupId": 2,
"KName": "sample string 3",
"KNamelatin": "sample string 4",
"Vazeat": "sample string 5",
"KPrc1": 6.0,
"KPrc2": 7.0,
"Colors": [
{
"Id": 1,
"Colorcode": "sample string 2",
"Colorname": "sample string 3"
},
{
"Id": 1,
"Colorcode": "sample string 2",
"Colorname": "sample string 3"
}
],
"Pic": "sample string 8"
},
{
"KCode": "sample string 1",
"GroupId": 2,
"KName": "sample string 3",
"KNamelatin": "sample string 4",
"Vazeat": "sample string 5",
"KPrc1": 6.0,
"KPrc2": 7.0,
"Colors": [
{
"Id": 1,
"Colorcode": "sample string 2",
"Colorname": "sample string 3"
},
{
"Id": 1,
"Colorcode": "sample string 2",
"Colorname": "sample string 3"
}
],
"Pic": "sample string 8"
}
]
application/xml, text/xml
Sample:
<ArrayOfmaincls.Listproduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/mobinstore_api.Models">
<maincls.Listproduct>
<Colors>
<maincls.Colors>
<Colorcode>sample string 2</Colorcode>
<Colorname>sample string 3</Colorname>
<Id>1</Id>
</maincls.Colors>
<maincls.Colors>
<Colorcode>sample string 2</Colorcode>
<Colorname>sample string 3</Colorname>
<Id>1</Id>
</maincls.Colors>
</Colors>
<GroupId>2</GroupId>
<KCode>sample string 1</KCode>
<KName>sample string 3</KName>
<KNamelatin>sample string 4</KNamelatin>
<KPrc1>6</KPrc1>
<KPrc2>7</KPrc2>
<Pic>sample string 8</Pic>
<Vazeat>sample string 5</Vazeat>
</maincls.Listproduct>
<maincls.Listproduct>
<Colors>
<maincls.Colors>
<Colorcode>sample string 2</Colorcode>
<Colorname>sample string 3</Colorname>
<Id>1</Id>
</maincls.Colors>
<maincls.Colors>
<Colorcode>sample string 2</Colorcode>
<Colorname>sample string 3</Colorname>
<Id>1</Id>
</maincls.Colors>
</Colors>
<GroupId>2</GroupId>
<KCode>sample string 1</KCode>
<KName>sample string 3</KName>
<KNamelatin>sample string 4</KNamelatin>
<KPrc1>6</KPrc1>
<KPrc2>7</KPrc2>
<Pic>sample string 8</Pic>
<Vazeat>sample string 5</Vazeat>
</maincls.Listproduct>
</ArrayOfmaincls.Listproduct>