POST api/Report/GenerateCallRatingPdf
Request Information
URI Parameters
None.
Body Parameters
PdfGenModel| Name | Description | Type | Additional information |
|---|---|---|---|
| InvoiceId | globally unique identifier |
None. |
|
| ConnectionString | string |
None. |
|
| RatingFilterModel | RatingFilterModel |
None. |
|
| SettingId | integer |
None. |
|
| CurrentUserTimeZone | string |
None. |
|
| CurrentUser | string |
None. |
|
| UserId | globally unique identifier |
None. |
|
| CallList | string |
None. |
|
| FileName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"InvoiceId": "ae6a5994-4df5-4cf3-8298-35a6d6427c3c",
"ConnectionString": "sample string 2",
"RatingFilterModel": {
"PeriodType": "sample string 1",
"Period": "sample string 2",
"FromDate": "2026-09-12T11:58:21.0613216+00:00",
"ToDate": "2026-09-12T11:58:21.0613216+00:00",
"TicketType": "sample string 3",
"CardId": "7eab5bd8-c290-4b8c-b40a-7d61aaa1c02d",
"LocationId": "61462af6-cc67-40d0-b064-f4b39528af5a",
"ListOfRates": [
{
"Rating": 1,
"RatingName": "sample string 2",
"NoOfTicket": 3,
"TotalTicket": 4,
"RatingPercentage": 5.0,
"IsChecked": true
},
{
"Rating": 1,
"RatingName": "sample string 2",
"NoOfTicket": 3,
"TotalTicket": 4,
"RatingPercentage": 5.0,
"IsChecked": true
}
],
"Start": 4,
"Length": 5
},
"SettingId": 3,
"CurrentUserTimeZone": "sample string 4",
"CurrentUser": "sample string 5",
"UserId": "f5e15097-cafb-4df0-aade-4f33e450708e",
"CallList": "sample string 7",
"FileName": "sample string 8"
}
application/xml, text/xml
Sample:
<PdfGenModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ThisSolution.ServiceTree.Model.PDF">
<CallList>sample string 7</CallList>
<ConnectionString>sample string 2</ConnectionString>
<CurrentUser>sample string 5</CurrentUser>
<CurrentUserTimeZone>sample string 4</CurrentUserTimeZone>
<FileName>sample string 8</FileName>
<InvoiceId>ae6a5994-4df5-4cf3-8298-35a6d6427c3c</InvoiceId>
<RatingFilterModel xmlns:d2p1="http://schemas.datacontract.org/2004/07/ThisSolution.ServiceTree.Model">
<d2p1:CardId>7eab5bd8-c290-4b8c-b40a-7d61aaa1c02d</d2p1:CardId>
<d2p1:FromDate>2026-09-12T11:58:21.0613216+00:00</d2p1:FromDate>
<d2p1:Length>5</d2p1:Length>
<d2p1:ListOfRates>
<d2p1:RatingWiseTicketModel>
<d2p1:IsChecked>true</d2p1:IsChecked>
<d2p1:NoOfTicket>3</d2p1:NoOfTicket>
<d2p1:Rating>1</d2p1:Rating>
<d2p1:RatingName>sample string 2</d2p1:RatingName>
<d2p1:RatingPercentage>5</d2p1:RatingPercentage>
<d2p1:TotalTicket>4</d2p1:TotalTicket>
</d2p1:RatingWiseTicketModel>
<d2p1:RatingWiseTicketModel>
<d2p1:IsChecked>true</d2p1:IsChecked>
<d2p1:NoOfTicket>3</d2p1:NoOfTicket>
<d2p1:Rating>1</d2p1:Rating>
<d2p1:RatingName>sample string 2</d2p1:RatingName>
<d2p1:RatingPercentage>5</d2p1:RatingPercentage>
<d2p1:TotalTicket>4</d2p1:TotalTicket>
</d2p1:RatingWiseTicketModel>
</d2p1:ListOfRates>
<d2p1:LocationId>61462af6-cc67-40d0-b064-f4b39528af5a</d2p1:LocationId>
<d2p1:Period>sample string 2</d2p1:Period>
<d2p1:PeriodType>sample string 1</d2p1:PeriodType>
<d2p1:Start>4</d2p1:Start>
<d2p1:TicketType>sample string 3</d2p1:TicketType>
<d2p1:ToDate>2026-09-12T11:58:21.0613216+00:00</d2p1:ToDate>
</RatingFilterModel>
<SettingId>3</SettingId>
<UserId>f5e15097-cafb-4df0-aade-4f33e450708e</UserId>
</PdfGenModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Value2ModelList| Name | Description | Type | Additional information |
|---|---|---|---|
| Text2 | string |
None. |
|
| Id | integer |
None. |
|
| GId | globally unique identifier |
None. |
|
| Text | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Text2": "sample string 1",
"Id": 2,
"GId": "bf4de664-508c-48c7-8f79-f5c548758200",
"Text": "sample string 4"
}
application/xml, text/xml
Sample:
<Value2ModelList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ThisSolution.ServiceTree.CommonModel"> <GId>bf4de664-508c-48c7-8f79-f5c548758200</GId> <Id>2</Id> <Text>sample string 4</Text> <Text2>sample string 1</Text2> </Value2ModelList>