POST attributes value(Parameters) from POSTMAN

Thank you very much Julia,
I have two attributes like the followings
“attributes”: [
{
“name”: “phonename”,
“dataType”: “string”
},
{
“name”: “phonestatus”,
“dataType”: “number”
}
]

I want to pass the attributes value(Parameters) from POSTMAN.

Example:POST https://5ca5f7f18b62290008d0e84d.onlosant.com/devices/deviceid/
Here I want to POST Data of two attributes(Phonename=“Iphone7” & Phonestatsus=1)
from POSTMAN.
please send me samples

Thanks
Sivasankari S

Hi @sivasankari_s,

To post the state of your two attributes, you would set up your postman like so:

Thanks,
Julia

Thank you so much Julia,

great support julia

Thanks
Sivasankari S

if possible shall i get the Losant workflow for the above screen shot?

Thanks
Sivasankari S

Hi @sivasankari_s,

This post request does not directly trigger a workflow, as it reports the device’s state directly to the device on Losant. However, you could have a workflow that is triggered when the device state is updated by using a Device: State Trigger.

Thanks!
Julia