curl --location --request PUT 'https://api.test.payrun.io/Report/' \
--header 'Authorization;' \
--header 'Api-Version;' \
--header 'Content-Type: application/json' \
--data-raw '{
"ReportDefinition": {
"Active": true,
"Readonly": true,
"ReportQuery": {
"ExcludeNullOrEmptyElements": true,
"Groups": {
"Group": [
{
"@GroupName": "string",
"@ItemName": "string",
"@LoopExpression": "string",
"@Selector": "string",
"@UniqueKeyVariable": "string",
"Condition": [
{
"@ValueA": "string",
"@ValueB": "string"
}
],
"Filter": [
{
"@Property": "string",
"@Value": "string"
}
],
"Order": [
{
"@Property": "string"
}
],
"Output": [
{
"@MaxLength": "string",
"@Output": "Element"
}
]
}
]
},
"RootNodeName": "string",
"SuppressMetricAttributes": true,
"Variables": {
"Variable": [
{
"@Name": "string",
"@Value": "string"
}
]
}
},
"SupportedTransforms": "string",
"Title": "string",
"Version": "string"
}
}'{
"ReportDefinition": {
"Active": true,
"Readonly": true,
"ReportQuery": {
"ExcludeNullOrEmptyElements": true,
"Groups": {
"Group": [
{
"@GroupName": "string",
"@ItemName": "string",
"@LoopExpression": "string",
"@Selector": "string",
"@UniqueKeyVariable": "string",
"Condition": [
{
"@ValueA": "string",
"@ValueB": "string"
}
],
"Filter": [
{
"@Property": "string",
"@Value": "string"
}
],
"Order": [
{
"@Property": "string"
}
],
"Output": [
{
"@MaxLength": "string",
"@Output": "Element"
}
]
}
]
},
"RootNodeName": "string",
"SuppressMetricAttributes": true,
"Variables": {
"Variable": [
{
"@Name": "string",
"@Value": "string"
}
]
}
},
"SupportedTransforms": "string",
"Title": "string",
"Version": "string"
}
}