POST api/Report/GeneratePDFbytes?associateName={associateName}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| associateName | string |
Required |
Body Parameters
Collection of ReportDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| ContentBody | string |
None. |
|
| ReportDate | string |
None. |
|
| isWeekly | boolean |
None. |
|
| isMonthly | boolean |
None. |
|
| ReportTypeID | integer |
None. |
|
| AgentName | string |
None. |
|
| AgentCode | string |
None. |
|
| ReportName | string |
None. |
|
| associateID | integer |
None. |
|
| associateName | string |
None. |
|
| EmailAdress | string |
None. |
|
| userId | integer |
None. |
|
| weeklyList | Collection of ReportWeekly |
None. |
|
| MonthlyList | Collection of ReportMonthly |
None. |
|
| Locations | Collection of string |
None. |
|
| SelectedLocationCode | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"ContentBody": "sample string 1",
"ReportDate": "sample string 2",
"isWeekly": true,
"isMonthly": true,
"ReportTypeID": 5,
"AgentName": "sample string 6",
"AgentCode": "sample string 7",
"ReportName": "sample string 8",
"associateID": 9,
"associateName": "sample string 10",
"EmailAdress": "sample string 11",
"userId": 12,
"weeklyList": [
{
"date": "2026-02-03T18:24:08.9871942-08:00"
},
{
"date": "2026-02-03T18:24:08.9871942-08:00"
}
],
"MonthlyList": [
{
"Month": 1,
"Year": 2
},
{
"Month": 1,
"Year": 2
}
],
"Locations": [
"sample string 1",
"sample string 2"
],
"SelectedLocationCode": "sample string 13"
},
{
"ContentBody": "sample string 1",
"ReportDate": "sample string 2",
"isWeekly": true,
"isMonthly": true,
"ReportTypeID": 5,
"AgentName": "sample string 6",
"AgentCode": "sample string 7",
"ReportName": "sample string 8",
"associateID": 9,
"associateName": "sample string 10",
"EmailAdress": "sample string 11",
"userId": 12,
"weeklyList": [
{
"date": "2026-02-03T18:24:08.9871942-08:00"
},
{
"date": "2026-02-03T18:24:08.9871942-08:00"
}
],
"MonthlyList": [
{
"Month": 1,
"Year": 2
},
{
"Month": 1,
"Year": 2
}
],
"Locations": [
"sample string 1",
"sample string 2"
],
"SelectedLocationCode": "sample string 13"
}
]
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of byteResponse Formats
application/json, text/json
Sample:
"QEA="