Damian Roberts Posted August 31, 2022 Posted August 31, 2022 The API does not seem to let us set the sub-state for an asset - is this possible? We would like to bring in assets with the status of Active and the sub-status of Allocated.
Victor Posted August 31, 2022 Posted August 31, 2022 @Damian Roberts https://community.hornbill.com/forum/132-integration-connectors-api-webhooks/ What API is that, what payload, etc... If the asset sub-state can be set from the UI then there is an underlying API that will set this value in the DB. We just need to find the right API and payload.
Damian Roberts Posted September 1, 2022 Author Posted September 1, 2022 The officer that set up the API has said "Its the Intune PowerShell import script that is set-up. I think its would probably just need the API to allow the sub-status to be updated and then a value to set. As its a dropdown it might be and ID or the actual text, but I believe it was either one of 2 issues. Not implemented in the API, or should work but doesn't." Does this help?
Victor Posted September 1, 2022 Posted September 1, 2022 @Damian Roberts so, this? https://www.powershellgallery.com/packages/HornbillAzureIntuneAssetImport/1.0.0/Content/HornbillAzureIntuneAssetImport.ps1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now