Customer Assets - not pulling Archived?
Posted: Thu Nov 19, 2020 11:05 am
Hi,
Using the following request: /api/v1.0/companies/{companyID}/customerAssets/
but i notice that this doesnt appear to be showing assets where Archived=true where I search for the archived asset via /api/v1.0/companies/{companyID}/customerAssets/{customerAssetID} it shows the details no problem.
I've created a loop to gather the asset id's then looping through these to get the detail but when i was comparing the exports results via postman and the results in simPRO BI i was noticing over 3k assets not exported and i've traced this to be the reason.
Is there any rational behind why the first request wouldnt include archived and is there any options to amend that? - Archived results are able to exported on other request ie Quotes/Jobs so find it a bit puzzling that Customer Assets would exclude those? - I've checked and double checked i'm not exlcuidng these on purpose but theres always a chance it's just me missing something.
Thanks
Using the following request: /api/v1.0/companies/{companyID}/customerAssets/
but i notice that this doesnt appear to be showing assets where Archived=true where I search for the archived asset via /api/v1.0/companies/{companyID}/customerAssets/{customerAssetID} it shows the details no problem.
I've created a loop to gather the asset id's then looping through these to get the detail but when i was comparing the exports results via postman and the results in simPRO BI i was noticing over 3k assets not exported and i've traced this to be the reason.
Is there any rational behind why the first request wouldnt include archived and is there any options to amend that? - Archived results are able to exported on other request ie Quotes/Jobs so find it a bit puzzling that Customer Assets would exclude those? - I've checked and double checked i'm not exlcuidng these on purpose but theres always a chance it's just me missing something.
Thanks