api calls
This commit is contained in:
@@ -6,8 +6,8 @@ curl --location 'https://datacollection.micropcr.com/api/deviceService/device/lo
|
||||
"location": "",
|
||||
"longitude": "",
|
||||
"mode": "",
|
||||
"password": "8525333faa47",
|
||||
"serialNumber": "HPP1-0111-0001",
|
||||
"username": "HPP1-0111-0001",
|
||||
"password": "891beceb7434",
|
||||
"serialNumber": "HCV-000-5999",
|
||||
"username": "HCV-000-5999",
|
||||
"version": "2.1.76"
|
||||
}'
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
curl --location 'https://datacollection.micropcr.com/api/deviceManagement/device/provision' \
|
||||
--header 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"serialNumber": "HPP1-0111-0001",
|
||||
"serialNumber": "HCV-000-5003",
|
||||
"deviceTypeName": "HPOS",
|
||||
"uid": "HPP1-0111-0001",
|
||||
"uid": "HCV-000-5003",
|
||||
"email": "HPOS_provisioner@bigtec.co.in",
|
||||
"password": "f2ab0e7f9d69"
|
||||
}'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
curl --location --request PUT 'https://datacollection.micropcr.com/api/deviceService/results/HPOS' \
|
||||
--header 'Content-Type: application/json' \
|
||||
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOjksImRldmljZUlkIjoxMCwidXNlcm5hbWUiOiJIQ1YtMDAwLTMwMDEiLCJpYXQiOjE3MDQ3MTg4MDgsImV4cCI6MTcwNDgwNTIwOH0.APWW4heEfqInezLg4U5aCeBh44qN0LYg0EeqV76_W5Y' \
|
||||
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOjIwLCJkZXZpY2VJZCI6MjEsInVzZXJuYW1lIjoiSFBQMS0wMTExLTAwMDEiLCJpYXQiOjE3MDYwMTIzMDksImV4cCI6MTcwNjA5ODcwOX0.ZOU75cx4gx1RiyXqOkd7S_t4OvH7UqzyeJb-xjQebyI' \
|
||||
--data '{
|
||||
"results": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user