Posting my work to anyone who comes looking. :-)
This gets the resource load for a single user (with the ID yadi-yadi-yadi) in hours for a period of four weeks (controlled by the dates in the timeFilter)
POST to https://api2.clarizen.com/V2.0/services/data/resourceManagementQuery
JSON:
"resourceEntitiesIds":[
"/User/yadi-yadi-yadi"
],
"definition":{
"setting":{
"fields":[
{
"typeName":"User",
"fieldNames":[
"Email"
]
}
],
"sortingType":"Alfabet",
"workOrRemainingEffort":"Work",
"loadOrAvailability":"Load",
"hoursView":true,
"reportingPeriod":"Weekly"
},
"globalFilters":{
"timeFilter":{
"from":"2016-02-01T00:00:00",
"to":"2016-02-28T00:00:00"
},
"wantedStates":[
"Active",
"Draft"
]
}
}
}