Discussions
How do we retrieve nested endpoints
3 months ago by Brian Wolff
I am trying to retrieve Rates and Amounts from a few endpoints but found that they are returning "None". Here is an example Python code for the get request.
"quote_or_estimate_items": {
"url": "/api/v1/query/QuoteOrEstimateItem",
"doc": "get all Quotes or Estimate Items",
"should_rebuild": True,
"column_block_list": [],
"body": {
"QueryExpression": {
"Criteria": {"Conditions": []},
"Distinct": False,
"PropertySet": {
"Properties": [
"*",
"Rate.*",
"Amount.*",
]
},
}
},
},
Here are the fields from the Data Model doc.