Request Information
Method calculates best partners by issued invoices sum.
Example URL:
v2.0/Agendas/GetTopPartners
None.
None.
Response Information
Collection of SummaryTopPartner
| Name | Description | Type | Additional information |
|---|---|---|---|
| ContactId | integer |
None. |
|
| Name | string |
None. |
|
| TotalWithVatHc | decimal number |
None. |
Sample:
[
{
"ContactId": 1,
"Name": "sample string 2",
"TotalWithVatHc": 3.0
}
]
Sample:
<ArrayOfSummaryTopPartner xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Doklad.DAL">
<SummaryTopPartner>
<ContactId>1</ContactId>
<Name>sample string 2</Name>
<TotalWithVatHc>3</TotalWithVatHc>
</SummaryTopPartner>
</ArrayOfSummaryTopPartner>