POST api/Report/GeneratePDFbytes?associateName={associateName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
associateName

string

Required

Body Parameters

Collection of ReportDTO
NameDescriptionTypeAdditional 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.

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": "2025-10-14T02:55:27.0177471-07:00"
      },
      {
        "date": "2025-10-14T02:55:27.0177471-07:00"
      }
    ],
    "MonthlyList": [
      {
        "Month": 1,
        "Year": 2
      },
      {
        "Month": 1,
        "Year": 2
      }
    ]
  },
  {
    "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": "2025-10-14T02:55:27.0177471-07:00"
      },
      {
        "date": "2025-10-14T02:55:27.0177471-07:00"
      }
    ],
    "MonthlyList": [
      {
        "Month": 1,
        "Year": 2
      },
      {
        "Month": 1,
        "Year": 2
      }
    ]
  }
]

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of byte

Response Formats

application/json, text/json

Sample:
"QEA="