Page 1 of 1

Specify subresource columns

Posted: Sun May 23, 2021 5:55 pm
by David
Hi, is it possible to specify subresource columns in a get method, for example if I want to get a job with his customer I make this request:

GET /jobs?columns=Customer

That returns something like this:

[
"ID": 47671,
"Customer": {
"ID": 14692,
"CompanyName": "stu hartill ltd",
"GivenName": "",
"FamilyName": ""
}, ...
]

But If I need the customer with his phone phone, is it possible to get it in one request? or is it need to get the service job and then make another request to get the customer with his phone?

Re: Specify subresource columns

Posted: Sun May 23, 2021 10:22 pm
by robbertcha
Hi David,

Filtering result with sub-resource columns is not provided at the moment, so another customer endpoint call is required to get grab the customer details.