You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi !
So we are checking out our assets using the API to a user when this user enrolls the device with our MDM.
It is working great except the status_id is wrong.
I do an API call to hardware/:id/checkout?checkout_to_type=user&assigned_user=userid, and I cannot figure out how to checkout the asset and select a particular status label id (Deployed, 2, would be fine) at the same time.
I tried to do it afterwards but when I do a PUT or PATCH on /hardware/:id, with the proper status_id in the payload I am not able to change the status label (I can change other details though).
Any help would be greatly appreciated !
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi !
So we are checking out our assets using the API to a user when this user enrolls the device with our MDM.
It is working great except the
status_id
is wrong.I do an API call to
hardware/:id/checkout?checkout_to_type=user&assigned_user=userid
, and I cannot figure out how to checkout the asset and select a particular status label id (Deployed, 2, would be fine) at the same time.I tried to do it afterwards but when I do a PUT or PATCH on
/hardware/:id
, with the properstatus_id
in the payload I am not able to change the status label (I can change other details though).Any help would be greatly appreciated !
Beta Was this translation helpful? Give feedback.
All reactions