[Released] BUG: Some subresources are not displayed when searching resources
Posted: Tue Feb 18, 2020 12:06 am
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
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
Thanks
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*/
]
}
https://{{client}}.simprosuite.com/api/v1.0/companies/0/jobs/?display=all&ID=in(12345)&columns=ID,Sections
Code: Select all
[
{
"ID": 12345,
"Sections": []
}
]