REST API (CURL)- Relevance for collecting custom content property and Relevant Fixlet with Severity

I am trying to export results of a custom property along with Relevant Patch with Source Severity for windows computer group.

For Example:- We have created 3 custom property (Region,Data center, Environment). So we required custom property value and applicable patches with Severity in Windows environment.

Required info in report

Computer Name | Region | Datacenter |Environment |Relevant Patches |Source Severity |

When we trying to export report form the Bigfix web report so we are able to export Relevant patches with Severity in explore data>>computers tab and custom property value in content tab. But we required both results in single report.

Currently we are trying below mentioned relevance for exporting this report through CURL utility.
C:\Users\Administrator>curl -k --insecure --user username:password --data-urlencode
"relevance=(source id of it, names of it, source severity of it, applicable com
puter count of it) of elements of intersection of ((set of (elements of fixlet s
et of bes sites whose (name of it = “Patches for Windows”)) whose ((source sever
ity of it = “Critical” or source severity of it = “Important” or source severity
of it = “Moderate”) and applicable computer count of it > 0)) ; ((values of it,
name of computer of it) of results of it, names of it ) of properties of bes an
alysis whose (name of it is “XXX”)https://ServerName:52311/api/query -o c:
temp\report.xml