cancel
Showing results for 
Search instead for 
Did you mean: 
mparon
Active Contributor

Hardware/System inventory token null?

Hi, I'm working on a script to update some of my custom field values in central and have run into an issue. When I request the hardware or system inventory report token the response is a 200 OK but all I get back is null value for the token and expiration date. 

 

Here is a copy paste of the response content:

{"expires":null,"token":null}

 

Tested with postman and got the same result.

 

Any tips appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
mparon
Active Contributor

Re: Hardware/System inventory token null?

Actually figured this one out. Didn't catch from the documentation that I need to POST a hardware report first, get the token number, then add that to the URL.

View solution in original post

1 REPLY 1
mparon
Active Contributor

Re: Hardware/System inventory token null?

Actually figured this one out. Didn't catch from the documentation that I need to POST a hardware report first, get the token number, then add that to the URL.