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?
Specify subresource columns
Forum rules
- Check the documentation first. Before posting questions, please check the documentation to ensure it doesn't already cover what you need.
- No spam. All automated messages, advertisements, and links to competitor websites will be deleted immediately.
- Post in relevant sub-forums only. Messages posted in the wrong topic area will be removed and placed in the correct sub-forum by moderators.
- Respect other users. No flaming or abusing fellow forum members. Users who continue to post inflammatory, abusive comments will be deleted from the forum after two warnings are issued by moderators.
- Harassment. No threats or harassment of other users will be tolerated. Any instance of threatening or harassing behavior is grounds for deletion from the forums.
- Adult content. No profanity or pornography is allowed. Posts containing adult material will be deleted.
- Bandwidth. All images and signatures must be 500 x 500 pixels or smaller. Posts containing over-sized images and signatures will be removed.
- Illegal content. No re-posting of copyrighted materials or other illegal content is allowed. Any posts containing illegal content or copyrighted materials will be deleted.
-
robbertcha
- Posts: 416
- Joined: Thu Apr 15, 2021 10:07 pm
Re: Specify subresource columns
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.
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.
Robbert
API Developer | simPRO Software Group
API Developer | simPRO Software Group
DEVELOPER CENTER