Skip to main content
POST
/
reporting
Generate a report
curl --request POST \
  --url https://api.example.com/reporting \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "<string>",
  "params": [
    {
      "key": "<string>",
      "value": "<string>"
    }
  ],
  "uploadToConnectors": true,
  "productIds": [
    "<string>"
  ]
}
'
{
  "type": "<string>",
  "reportId": "<string>",
  "reportName": "<string>"
}

Body

application/json
type
string
required

The type of report

params
object[]
required

Report specific parameters

uploadToConnectors
boolean

uploadToConnectors

productIds
string[]

The productIds

Response

type
string
required

The type of report

reportId
string
required
reportName
string
required