Page 1 of 1

[Released] BUG: Some subresources are not displayed when searching resources

Posted: Tue Feb 18, 2020 12:06 am
by rob_marklands
Good day,

When searching for resources with "in" operator some subresources are not returned.

Consider the example below:
When requesting data for a job, the Sections column is returned with that job's sections, as expected.

https://{{client}}.simprosuite.com/api/v1.0/companies/0/jobs/12345?display=all&columns=ID,Sections

Code: Select all

{
    "ID": 12345,
    "Sections": [
    	/*sections info*/
    ]
}
However when searching for jobs by job ID, the column Sections returns empty, even when "display=all" parameter is used

https://{{client}}.simprosuite.com/api/v1.0/companies/0/jobs/?display=all&ID=in(12345)&columns=ID,Sections

Code: Select all

[
    {
        "ID": 12345,
        "Sections": []
    }
]
Thanks

Re: BUG: Some subresources are not displayed when searching resources

Posted: Tue Feb 18, 2020 1:57 am
by Muqeet
Hi Rob,

We were able to reproduce the issue and are now working on a fix. I ll update this thread when we release the fix.