Skip to content
This repository was archived by the owner on Aug 5, 2021. It is now read-only.
This repository was archived by the owner on Aug 5, 2021. It is now read-only.

Using Operators with Report Parameters? #8

@hitormiss

Description

@hitormiss

I'm trying to use operators with the parameters to fetch a Report, but it doesn't seem to be working.

For example, if I have a report parameter named "Move In" (renamed column header for Booking.CheckInDate), I can use the following to select rows with a specific date:

'requestBody': {"Move In":"2018-08-20"}

But if I want to select rows that < date I have to use an operator. From reading the StarRez API Guide, it looks like I should be able to use the following (but it's not working):

'requestBody': {"Move In[_operator=lt]":"2018-08-20"}

Have also tried the following (which doesn't work either):

'requestBody': {"Move%20In[_operator%3Dlt]":"2018-08-20"}

Nothing is showing up in the Error logs, so I don't know why it is failing.

I know this type of thing should work because I can run the following in my browser and see the HTML output of the report

/getreport/3506?Move%20In[_operator%3Dlt]=2018-08-20

Any suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions