GET api/Hitrate/{id}/{value}?token={token}&pt={pt}&sd={sd}&ed={ed}&sn={sn}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| token | string |
Required |
|
| pt | string |
Required |
|
| sd | string |
Required |
|
| ed | string |
Required |
|
| sn | string |
Required |
|
| id | string |
None. |
|
| value | string |
None. |
Body Parameters
None.
Response Information
Resource Description
HitrateModel| Name | Description | Type | Additional information |
|---|---|---|---|
| periodStart | string |
None. |
|
| periodEnd | string |
None. |
|
| periodType | string |
None. |
|
| teamHitrate | decimal number |
None. |
|
| teamTotalDeals | decimal number |
None. |
|
| teamWonDeals | decimal number |
None. |
|
| hitList | Collection of HitrateSellerList |
None. |
|
| count | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"periodStart": "sample string 1",
"periodEnd": "sample string 2",
"periodType": "sample string 3",
"teamHitrate": 4.1,
"teamTotalDeals": 5.1,
"teamWonDeals": 6.1,
"hitList": [
{
"sellerName": "sample string 1",
"hitrate": 2.1,
"totalDeals": 3.1,
"wonDeals": 4.1
},
{
"sellerName": "sample string 1",
"hitrate": 2.1,
"totalDeals": 3.1,
"wonDeals": 4.1
}
],
"count": "sample string 7"
}
text/xml
Sample:
<HitrateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StenskivorAPP.Models">
<count>sample string 7</count>
<hitList>
<HitrateSellerList>
<hitrate>2.1</hitrate>
<sellerName>sample string 1</sellerName>
<totalDeals>3.1</totalDeals>
<wonDeals>4.1</wonDeals>
</HitrateSellerList>
<HitrateSellerList>
<hitrate>2.1</hitrate>
<sellerName>sample string 1</sellerName>
<totalDeals>3.1</totalDeals>
<wonDeals>4.1</wonDeals>
</HitrateSellerList>
</hitList>
<periodEnd>sample string 2</periodEnd>
<periodStart>sample string 1</periodStart>
<periodType>sample string 3</periodType>
<teamHitrate>4.1</teamHitrate>
<teamTotalDeals>5.1</teamTotalDeals>
<teamWonDeals>6.1</teamWonDeals>
</HitrateModel>