TagMatiks AT Lite - iOS Help

TagMatiks AT Lite MU REST APIs

 
Introduction
System Overview
  • TagMatiks AT Lite is a lightweight RFID based Asset Tracking Software
  • The asset tracking software provides the ability to connect to an RFID handheld and Fixed readers to assist with data collection.
API Process

Below diagram shows the api call sequence architecture for the login process.

  • For every apis apart from generatetoken we should pass the access token on the header field.
  • TagMatiks AT Lite MU client application will call the api and validate the user credentials then send back the access token.
  • Using that access token we have to call the other apis.
General Request & Response Details
Request
BASE URL [localhost where the api is hosting on the on premises]
Authorization AccessToken Need to pass it for all the required apis header field
Content-Type application/json
Accept application/json

 

Response
IsRequestSuccessful If it is true, the response will be successful and we can get the data from the Content key.
Content This object will return different data based on the API result.
General Codes
Code Description
200 Success
401 Unauthorized Error (Token has Expired)
417 Object Reference Error
500 Internal Server Error
404 Page Not Found
Token
General Codes
  • This api is used to validate the user credential and return back the access and refresh token
  • Using this access token we can able to call the other apis

A. URL

POST /api/external/token

B. User Input

Field Type  
LoginId string
Password string
   

C. Request

{
  "LoginId": "admin@rfid4u.com",
  "Password": "xxxxxxx",
 }

 

D. Response

{
"Message": "SUCCESS",
"TotalRecords": 0,
"Content": {
"RefreshToken":
"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiIxIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy91c2VyZGF0YSI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiIxIiwiZXhwaXJ5IjoxNjk1ODI1OTU3LCJpc3N1ZWRBdCI6MTY5NTczOTU1Nywibm90QmVmb3JlIjoxNzExNDY0MzU3LCJpc1JlZnJlc2giOnRydWV9.bE_SYam0mapB4-QwjPzQk1RZngU4S2Cmj0IPA8fjrF8jPqwGQ0neFviIvyYwvHWmTr43K-vleubMH75heMCTlA",
"AccessToken":
"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiIxIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy91c2VyZGF0YSI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiIxIiwiZXhwaXJ5IjoxNjk1NzUzOTU3LCJpc3N1ZWRBdCI6MTY5NTczOTU1Nywibm90QmVmb3JlIjoxNzExNDY0MzU3LCJpc1JlZnJlc2giOmZhbHNlfQ.-yEwOFcSy6LArOsEyIEEahhPygfXRKL7bfhQbTPITL9GMtJizr4vMf40iMGywcA7EzfyZQIGvXco28Bh37pr4Q",
"UserInfo": {
"LoginId": "admin@rfid4u.com",
"UserId": 1,
"FirstName": "admin",
"LastName": "rfid4u",

Generate Access token from Refresh token
  • If the access token is expired then we can call this api to get a new refresh token.
  • If the refresh token also expired, then system will log out
  • By default access token expiry time is 1 hour and refresh token expiry time is 24 hours
  • If required we can change in the

A. URL

POST /api/external/token/access

B. User Input

Field Type Description
RefreshToken string

C. Request

{
"RefreshToken":
"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiI0MiIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvdXNlcmRhdGEiOiIxIiwiZXhwaXJ5IjoxNTA3ODgyMTUwLCJpc3N1ZWRBdCI6MTUwNzc5NTc1MCwibm90QmVmb3JlIjoxNTIzNTIwNTUwLCJpc1JlZnJlc2giOmZhbHNlfQ.ofGWpYV-goKktS-ZalzQa51jRcFBe1kQLlT9PBHOB1TIpeGRlXqQiv_hMKEQ"
}

D. Response

{
"application/json": {
"Message": null,
"TotalRecords": 0,
"Content": {
"RefreshToken":
"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiI0MiIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvdXNlcmRhdGEiOiIxIiwiZXhwaXJ5IjoxNTA3ODgyMTUwLCJpc3N1ZWRBdCI6MTUwNzc5NTc1MCwibm90QmVmb3JlIjoxNTIzNTIwNTUwLCJpc1JlZnJlc2giOmZhbHNlfQ.ofGWpYV-goKktS-ZalzQa51jRcFBe1kQLlT9PBHOB1TIpeGRlXqQiv_hMKEQ", "AccessToken":
"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiI0MiIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvdXNlcmRhdGEiOiIxIiwiZXhwaXJ5IjoxNTA3Nzk5MzUwLCJpc3N1ZWRBdCI6MTUwNzc5NTc1MCwibm90QmVmb3JlIjoxNTIzNTIwNTUwLCJpc1JlZnJlc2giOnRydWV9.3zQwcH63wCQRb1-BjrAesdfaEI92QW_l_PtJZIeEuR2Iu88kme1ARNp69z_XMmw", "UserInfo": null
},
"Content2": null,
"IsRequestSuccessful": true
}
}

User
Reset Password
  • This api is used to validate the user credential and return back the access and refresh token
  • Using this access token we can able to call the other apis

E. URL

POST /api/external/user/reset/password

F. User Input

Field Type Description
LoginId string

G. Request

{
  "LoginId": "string"
}

 

H. Response

{
  "application/json": {
    "Message": "EXT_RESET_PASSWORD_SUCCESS",
    "TotalRecords": 0,
    "Content": "",
    "Content2": null,
    "IsRequestSuccessful": true
  }
}
 
Update Password
  • This api is used to validate the user credential and return back the access and refresh token
  • Using this access token we can able to call the other apis

I. URL

POST /api/external/user/update/password

J. User Input

Field Type Description
LoginId string  
string string  
IsKeepmeLogin integer  
DisplayName string  
IsActiveDirLogin integer  

K. Request

{
  "LoginId": "mail@rfid4u.com",
  "Password": "mail@123",
  "IsKeepmeLogin": 0,
  "IsActiveDirLogin": 0
}
 

L. Response

{
  "Message": "string",
  "TotalRecords": 0,
  "Content": "string",
  "Content2": {},
  "IsRequestSuccessful": true
}
 
Change Password
  • This api is used to validate the user credential and return back the access and refresh token
  • Using this access token we can able to call the other apis

M. URL

POST /api/external/user/change/password

N. User Input

Field Type Description
LoginId string  
Password string  
OldPassword string  

O. Request

{
  "LoginId": "string",
  "Password": "string",
  "OldPassword": "string"
}
 

P. Response

{
  "Message": "string",
  "TotalRecords": 0,
  "Content": "string",
  "Content2": {},
  "IsRequestSuccessful": true
}
 
Check Access Code
  • This api is used to validate the user credential and return back the access and refresh token
  • Using this access token we can able to call the other apis

Q. URL

POST /api/external/user/check/accesscode

R. User Input

Field Type Description
LoginId string  
AccessCode string  

S. Request

{
  "LoginId": "string",
  "AccessCode": "string"
}
 

T. Response

{
  "Message": "string",
  "TotalRecords": 0,
  "Content": "string",
  "Content2": {},
  "IsRequestSuccessful": true
}
 
Location
Manage Location
  • This api will help to save, update and delete the location details
  • When inserting the

A. URL

POST /api/external/locations/save/update/delete

B. User Input

Field Type Description
LocationId integer  
ParentId integer  
LocationName string  
DisplayCode string  
Mode integer  
Level integer  

C. Request

{
  "LocationId": 0,
  "ParentId": 0,
  "Level": 0,
  "LocationName": "string",
  "DisplayCode": "string",
  "Mode": 0
}
 

D. Response

{
  "Message": "string",
  "TotalRecords": 0,
  "Content": "string",
  "Content2": {},
  "IsRequestSuccessful": true
}
 
Get all the Location details
  • TagMatiks Wedge captured the event logs and sent those logs to TMAdmin via API.

E. URL

GET /api/external/locations/get

F. User Input

Field Type Description
LocationId integer  
ParentId integer  
LocationName string  
DisplayCode string  

G. Request

{
  "LocationId": 0,
  "ParentId": 0,
  "Level": 0,
  "LocationName": "string",
  "DisplayCode": "string",
  "Mode": 0
}
 

H. Response

{
  "Message": "string",
  "TotalRecords": 0,
  "Content": [
    {
      "LocationId": 0,
      "ParentId": 0,
      "Level": 0,
      "DisplayCode": "string",
      "IsActive": 0,
      "IsDeleted": 0,
      "LocationName": "string",
      "LocationPath": "string",
      "childcount": 0,
      "CreatedDate": "2023-09-26T11:39:37.145Z"
    }
  ],
  "Content2": {},
  "IsRequestSuccessful": true
}
 
Save, Update and Delete the Location details
  • TagMatiks Wedge captured the event logs and sent those logs to TMAdmin via API.
  • Generally capture the below values for each log.
  • Below mentioned the common values which are used for this api

I. URL

GET /api/external/location/get/list

J. User Input

Field Type Description
LocationId integer  
ParentId integer  
LocationName string  
DisplayCode string  
Mode integer  
Level integer  

K. Request

{
  "LocationId": 0,
  "ParentId": 0,
 }
 

L. Response

{
  "Message": "string",
  "TotalRecords": 0,
  "Content": [
    {
      "LocationId": 0,
      "ParentId": 0,
      "Level": 0,
      "DisplayCode": "string",
      "IsActive": 0,
      "IsDeleted": 0,
      "LocationName": "string",
      "LocationPath": "string",
      "childcount": 0,
      "CreatedDate": "2023-09-26T11:39:37.147Z"
    }
  ],
  "Content2": {},
  "IsRequestSuccessful": true
}
 
PartMaster
Save, Update and Delete the PartMaster details
  • TagMatiks Wedge captured the event logs and sent those logs to TMAdmin via API.
  • Generally capture the below values for each log.
  • Below mentioned the common values which are used for this api

A. URL

POST /api/external/partmaster/save/update/delete

B. User Input

Field Type Description
PartId integer  
AssetTypeId integer  
AssetCategoryId integer  
PartNumber string  
Description string  
TraderId integer  
UoMId integer  
Quantity integer  
UnitPrice number  
HasSerial integer  
CanExpire integer  
Mode integer  

C. Request

{
  "PartId": 0,
  "AssetTypeId": 0,
  "AssetCategoryId": 0,
  "PartNumber": "string",
  "Description": "string",
  "TraderId": 0,
  "UoMId": 0,
  "Quantity": 0,
  "UnitPrice": 0,
  "HasSerial": 0,
  "CanExpire": 0,
  "Mode": 0
}
 

D. Response

{
  "Message": "string",
  "TotalRecords": 0,
  "Content": "string",
  "Content2": {},
  "IsRequestSuccessful": true
}
 
Get all the PartMaster details
  • TagMatiks Wedge captured the event logs and sent those logs to TMAdmin via API.
  • Generally capture the below values for each log.
  • Below mentioned the common values which are used for this api

A. URL

POST /api/external/partmaster/get/all

B. User Input

Field Type Description
AssetTypeId integer  
AssetCategoryId integer  
UoMId integer  
PartId integer  
PartNumber string  

C. Request

{
  "AssetTypeId": 0,
  "AssetCategoryId": 0,
  "TraderId": 0,
  "UoMId": 0,
  "PartId": 0,
  "PartNumber": "string"
}
 

D. Response

{
  "Message": "string",
  "TotalRecords": 0,
  "Content": [
    {
      "PartId": 0,
      "AssetTypeId": 0,
      "AssetTypeName": "string",
      "AssetCategoryId": 0,
      "AssetCategoryName": "string",
      "PartNumber": "string",
      "Description": "string",
      "TraderId": 0,
      "TraderName": "string",
      "Code": "string",
      "UoMId": 0,
      "Quantity": 0,
      "UnitPrice": 0,
      "HasSerial": 0,
      "CanExpire": 0,
      "strHasSerial": "string",
      "strCanExpire": "string",
      "CreatedDate": "2023-09-26T11:39:37.153Z"
    }
  ],
  "Content2": {},
  "IsRequestSuccessful": true
}
 
Employee
Save, Update and Delete the Employee details
  • TagMatiks Wedge captured the event logs and sent those logs to TMAdmin via API.
  • Generally capture the below values for each log.
  • Below mentioned the common values which are used for this api

A. URL

POST /api/external/employee/save/update/delete

B. User Input

Field Type Description
EmployeeId integer  
EmployeeNumber string  
FirstName string  
LastName string  
EmailId string  
MobileNumber string  
TagId string  
Photo string  
EmployeeImage string  
Mode integer  

C. Request

{
  "EmployeeId": 0,
  "EmployeeNumber": "string",
  "FirstName": "string",
  "LastName": "string",
  "EmailId": "string",
  "MobileNumber": "string",
  "TagId": "string",
  "Photo": "string",
  "EmployeeImage": "string",
  "Mode": 0
}
 

D. Response

{
  "Message": "string",
  "TotalRecords": 0,
  "Content": "string",
  "Content2": {},
  "IsRequestSuccessful": true
}
 
Get All Employees list
  • TagMatiks Wedge captured the event logs and sent those logs to TMAdmin via API.
  • Generally capture the below values for each log.
  • Below mentioned the common values which are used for this api

A. URL

GET /api/external/employee/list

B. User Input

Field Type Description

C. Request

D. Response

{
  "Message": "string",
  "TotalRecords": 0,
  "Content": [
    {
      "PartId": 0,
      "AssetTypeId": 0,
      "AssetTypeName": "string",
      "AssetCategoryId": 0,
      "AssetCategoryName": "string",
      "PartNumber": "string",
      "Description": "string",
      "TraderId": 0,
      "TraderName": "string",
      "Code": "string",
      "UoMId": 0,
      "Quantity": 0,
      "UnitPrice": 0,
      "HasSerial": 0,
      "CanExpire": 0,
      "strHasSerial": "string",
      "strCanExpire": "string",
      "CreatedDate": "2023-09-26T11:39:37.246Z"
    }
  ],
  "Content2": {},
  "IsRequestSuccessful": true
}
 
GetEmployee
  • TagMatiks Wedge captured the event logs and sent those logs to TMAdmin via API.
  • Generally capture the below values for each log.
  • Below mentioned the common values which are used for this api

A. URL

GET /api/external/employee/get

B. User Input

Field Type Description

C. Request

D. Response

{
  "Message": "string",
  "TotalRecords": 0,
  "Content": [
    {
      "PartId": 0,
      "AssetTypeId": 0,
      "AssetTypeName": "string",
      "AssetCategoryId": 0,
      "AssetCategoryName": "string",
      "PartNumber": "string",
      "Description": "string",
      "TraderId": 0,
      "TraderName": "string",
      "Code": "string",
      "UoMId": 0,
      "Quantity": 0,
      "UnitPrice": 0,
      "HasSerial": 0,
      "CanExpire": 0,
      "strHasSerial": "string",
      "strCanExpire": "string",
      "CreatedDate": "2023-09-26T11:39:37.248Z"
    }
  ],
  "Content2": {},
  "IsRequestSuccessful": true
}
 
Asset Type
Save, Update and Delete the Asset Types
  • TagMatiks Wedge captured the event logs and sent those logs to TMAdmin via API.
  • Generally capture the below values for each log.
  • Below mentioned the common values which are used for this api

A. URL

POST /api/external/assettype/save

B. User Input

Field Type Description
AssetTypeId integer  
AssetTypeName string  
Description string  
Mode integer  

C. Request

 {
  "AssetTypeId": 0,
  "AssetTypeName": "string",
  "Description": "string",
  "Mode": 0
}
 

D. Response

{
  "Message": "string",
  "TotalRecords": 0,
  "Content": "string",
  "Content2": {},
  "IsRequestSuccessful": true
}
 
Get Asset Types
  • TagMatiks Wedge captured the event logs and sent those logs to TMAdmin via API.
  • Generally capture the below values for each log.
  • Below mentioned the common values which are used for this api

A. URL

GET /api/external/assettype/get

B. User Input

Field Type Description
assetTypeId long  
assetType string  

C. Request

D. Response

{
  "Message": "string",
  "TotalRecords": 0,
  "Content": [
    {
      "AssetTypeId": 0,
      "AssetTypeName": "string",
      "Description": "string",
      "Mode": 0
    }
  ],
  "Content2": {},
  "IsRequestSuccessful": true
}
 
Asset Category
Get All Asset Category
  • TagMatiks Wedge captured the event logs and sent those logs to TMAdmin via API.
  • Generally capture the below values for each log.
  • Below mentioned the common values which are used for this api

A. URL

GET /api/external/asset/category/list

B. User Input

Field Type Description
assetCategoryId integer  
assetTypeId integer  

C. Request

D. Response

{
  "Message": "string",
  "TotalRecords": 0,
  "Content": [
    {
      "PartId": 0,
      "AssetTypeId": 0,
      "AssetTypeName": "string",
      "AssetCategoryId": 0,
      "AssetCategoryName": "string",
      "PartNumber": "string",
      "Description": "string",
      "TraderId": 0,
      "TraderName": "string",
      "Code": "string",
      "UoMId": 0,
      "Quantity": 0,
      "UnitPrice": 0,
      "HasSerial": 0,
      "CanExpire": 0,
      "strHasSerial": "string",
      "strCanExpire": "string",
      "CreatedDate": "2023-09-26T11:39:37.250Z"
    }
  ],
  "Content2": {},
  "IsRequestSuccessful": true
}
 
Save Asset Category
  • TagMatiks Wedge captured the event logs and sent those logs to TMAdmin via API.
  • Generally capture the below values for each log.
  • Below mentioned the common values which are used for this api

A. URL

POST /api/external/asset/category/save

B. User Input

Field Type Description
AssetCategoryId integer  
AssetCategoryName string  
Description string  
AssetTypeId integer  
Mode integer  

C. Request

  {
  "AssetCategoryId": 0,
  "AssetCategoryName": "string",
  "Description": "string",
  "AssetTypeId": 0,
  "Mode": 0
}
 

D. Response

{
  "Message": "string",
  "TotalRecords": 0,
  "Content": "string",
  "Content2": {},
  "IsRequestSuccessful": true
}
 
Asset
Save, Update and Delete the Asset details
  • TagMatiks Wedge captured the event logs and sent those logs to TMAdmin via API.
  • Generally capture the below values for each log.
  • Below mentioned the common values which are used for this api

A. URL

POST /api/external/asset/save/update/delete

B. User Input

Field Type Description
AssetId integer  
PartId string  
AssetTypeName string  
AssetCategoryName string  
TraderName string  
PartNumber string  
Description string  
AssetName string  
SerialNumber string  
ExpiryDate string  
strExpiryDate string  
Notes string  
AssetImage string  
BaseUrl string  
Code string  
CustomField1 string  
CustomField2 string  
CustomField3 string  
CustomField4 string  
CustomField5 string  
UserId integer  
TagData string  
LocationId string  
LocationCode string  
AssetTags AssetTagModel  

C. Request

 {
  "AssetId": 0,
  "PartId": 0,
  "AssetTypeName": "string",
  "AssetCategoryName": "string",
  "TraderName": "string",
  "PartNumber": "string",
  "Description": "string",
  "AssetName": "string",
  "SerialNumber": "string",
  "ExpiryDate": "2023-09-27T05:36:54.231Z",
  "strExpiryDate": "string",
  "Notes": "string",
  "AssetImage": "string",
  "BaseUrl": "string",
  "Code": "string",
  "CustomField1": "string",
  "CustomField2": "string",
  "CustomField3": "string",
  "CustomField4": "string",
  "CustomField5": "string",
  "UserId": 0,
  "TagData": "string",
  "LocationId": 0,
  "LocationCode": "string",
  "AssetTags": {
    "TagId": 0,
    "AssetId": 0,
    "TagData": "string",
    "LocationId": 0,
    "AssetStatusId": 0
  },
  "AssetTagId": 0,
  "LocationName": "string",
  "AssetStatus": "string",
  "AssetStatusId": 0,
  "SensorProfileId": 0,
  "SensorProfileDetails": {
    "SensorProfileId": 0,
    "ProfileName": "string",
    "SensorType": "string",
    "SensorTypeId": 0,
    "SensorUnit": "string",
    "StartDelay": 0,
    "ETA": 0,
    "RFSensitivity": "string",
    "IsHumidity": true,
    "Threshold": "string",
    "MinThreshold": 0,
    "MaxThreshold": 0,
    "EmailTo": "string",
    "NotificationSetting": {
      "AlarmSettingId": 0,
      "SensorProfileId": 0,
      "Threshold": 0,
      "DueDate": 0,
      "LowBattery": 0,
      "SensorStatusId": 0,
      "IsActive": 0,
      "IsDeleted": 0
    },
    "TemperatureSetting": [
      {
        "ConfigurationId": 0,
        "SensorProfileId": 0,
        "LowLimit": 0,
        "HighLimit": 0,
        "strLowLimit": "string",
        "strHighLimit": "string",
        "SampleInterval": 0,
        "ThresholdCounter": true,
        "Count": 0,
        "IsAlarmEnabled": true,
        "IsActive": 0,
        "IsDeleted": 0,
        "IsHumidity": true
      }
    ]
  },
  "Mode": 0,
  "HasSerial": 0,
  "CanExpire": 0,
  "strHasSerial": "string",
  "strCanExpire": "string",
  "Quantity": 0,
  "IsRemoveSensorData": true,
  "CreatedDate": "2023-09-27T05:36:54.231Z"
}
 

D. Response

{
  "Message": "string",
  "TotalRecords": 0,
  "Content": "string",
  "Content2": {},
  "IsRequestSuccessful": true
}
 
Get Asset details
  • TagMatiks Wedge captured the event logs and sent those logs to TMAdmin via API.
  • Generally capture the below values for each log.
    • ProductKey
    • ModuleId
  • Below mentioned the common values which are used for this api

A. URL

GET /api/external/asset/get

B. User Input

Field Type Description
AssetId long  
PartOrTagId string  

C. Request

D. Response

{
  "Message": "string",
  "TotalRecords": 0,
  "Content": [
    {
      "AssetId": 0,
      "PartId": 0,
      "AssetTypeName": "string",
      "AssetCategoryName": "string",
      "TraderName": "string",
      "PartNumber": "string",
      "Description": "string",
      "AssetName": "string",
      "SerialNumber": "string",
      "ExpiryDate": "2023-09-26T11:39:37.206Z",
      "strExpiryDate": "string",
      "Notes": "string",
      "AssetImage": "string",
      "BaseUrl": "string",
      "Code": "string",
      "CustomField1": "string",
      "CustomField2": "string",
      "CustomField3": "string",
      "CustomField4": "string",
      "CustomField5": "string",
      "UserId": 0,
      "TagData": "string",
      "LocationId": 0,
      "LocationCode": "string",
      "AssetTags": {
        "TagId": 0,
        "AssetId": 0,
        "TagData": "string",
        "LocationId": 0,
        "AssetStatusId": 0
      },
      "AssetTagId": 0,
      "LocationName": "string",
      "AssetStatus": "string",
      "AssetStatusId": 0,
      "SensorProfileId": 0,
      "SensorProfileDetails": {
        "SensorProfileId": 0,
        "ProfileName": "string",
        "SensorType": "string",
        "SensorTypeId": 0,
        "SensorUnit": "string",
        "StartDelay": 0,
        "ETA": 0,
        "RFSensitivity": "string",
        "IsHumidity": true,
        "Threshold": "string",
        "MinThreshold": 0,
        "MaxThreshold": 0,
        "EmailTo": "string",
        "NotificationSetting": {
          "AlarmSettingId": 0,
          "SensorProfileId": 0,
          "Threshold": 0,
          "DueDate": 0,
          "LowBattery": 0,
          "SensorStatusId": 0,
          "IsActive": 0,
          "IsDeleted": 0
        },
        "TemperatureSetting": [
          {
            "ConfigurationId": 0,
            "SensorProfileId": 0,
            "LowLimit": 0,
            "HighLimit": 0,
            "strLowLimit": "string",
            "strHighLimit": "string",
            "SampleInterval": 0,
            "ThresholdCounter": true,
            "Count": 0,
            "IsAlarmEnabled": true,
            "IsActive": 0,
            "IsDeleted": 0,
            "IsHumidity": true
          }
        ]
      },
      "Mode": 0,
      "HasSerial": 0,
      "CanExpire": 0,
      "strHasSerial": "string",
      "strCanExpire": "string",
      "Quantity": 0,
      "IsRemoveSensorData": true,
      "CreatedDate": "2023-09-26T11:39:37.206Z"
    }
  ],
  "Content2": {},
  "IsRequestSuccessful": true
}
 
Get all the Asset details
  • TagMatiks Wedge captured the event logs and sent those logs to TMAdmin via API.
  • Generally capture the below values for each log.
    • ProductKey
    • ModuleId
  • Below mentioned the common values which are used for this api

A. URL

POST /api/external/asset/getalldetails

B. User Input

Field Type Description
assetTypeId integer  
assetCategoryId integer  
partId integer  
assetId integer  
tagId string  
locationIds integer  
assetStatus integer  
empId string  
sensorProfileId integer  

C. Request

{
  "assetTypeId": 0,
  "assetCategoryId": 0,
  "partId": 0,
  "assetId": 0,
  "tagId": "string",
  "locationIds": [
    0
  ],
  "assetStatus": [
    0
  ],
  "empId": 0,
  "idleAssetDate": "string",
  "sensorProfileId": 0
}
 

D. Response

{
  "Message": "string",
  "TotalRecords": 0,
  "Content": [
    {
      "AssetId": 0,
      "PartId": 0,
      "PartNumber": "string",
      "Description": "string",
      "AssetName": "string",
      "SerialNumber": "string",
      "ExpiryDate": "2023-09-26T11:39:37.212Z",
      "strExpiryDate": "string",
      "DueDate": "string",
      "Notes": "string",
      "ProfileName": "string",
      "Threshold": "string",
      "MinThreshold": 0,
      "MaxThreshold": 0,
      "SensorType": "string",
      "ESealTagId": "string",
      "ESealStatus": "string",
      "AssetImage": "string",
      "CustomField1": "string",
      "CustomField2": "string",
      "CustomField3": "string",
      "CustomField4": "string",
      "CustomField5": "string",
      "UserId": 0,
      "TagID": "string",
      "LocationId": 0,
      "Location": "string",
      "LocationCode": "string",
      "LocationName": "string",
      "AssetTags": {
        "TagId": 0,
        "AssetId": 0,
        "TagData": "string",
        "LocationId": 0,
        "AssetStatusId": 0
      },
      "TagData": "string",
      "AssetTypeId": 0,
      "AssetType": "string",
      "AssetTypeName": "string",
      "AssetCategoryId": 0,
      "AssetCategory": "string",
      "AssetCategoryName": "string",
      "TraderId": 0,
      "Manufacturer": "string",
      "TraderName": "string",
      "UoMId": 0,
      "UoM": "string",
      "EmployeeName": "string",
      "EmployeeId": 0,
      "AssetStatus": "string",
      "AssetStatusId": 0,
      "UpdatedDate": "2023-09-26T11:39:37.212Z",
      "IdleAssetDate": "2023-09-26T11:39:37.212Z",
      "Quantity": 0,
      "AssetTagId": 0,
      "SensorProfileId": 0,
      "SensorProfileDetails": {
        "SensorProfileId": 0,
        "ProfileName": "string",
        "SensorType": "string",
        "SensorTypeId": 0,
        "SensorUnit": "string",
        "Threshold": "string",
        "MinThreshold": 0,
        "MaxThreshold": 0,
        "EmailTo": "string",
        "UserId": 0,
        "PartNumber": "string",
        "AssetName": "string",
        "TempLogTagId": "string",
        "AlarmSettings": "string",
        "IsProcessed": true,
        "StartDelay": 0,
        "ETA": 0,
        "RFSensitivity": "string",
        "NotificationSetting": {
          "AlarmSettingId": 0,
          "SensorProfileId": 0,
          "Threshold": 0,
          "DueDate": 0,
          "LowBattery": 0,
          "SensorStatusId": 0,
          "IsActive": 0,
          "IsDeleted": 0
        },
        "TemperatureSetting": [
          {
            "ConfigurationId": 0,
            "SensorProfileId": 0,
            "LowLimit": 0,
            "HighLimit": 0,
            "strLowLimit": "string",
            "strHighLimit": "string",
            "SampleInterval": 0,
            "ThresholdCounter": true,
            "Count": 0,
            "IsAlarmEnabled": true,
            "IsActive": 0,
            "IsDeleted": 0,
            "IsHumidity": true
          }
        ],
        "IsHumidity": true,
        "Mode": 0,
        "CreatedDate": "2023-09-26T11:39:37.212Z"
      },
      "BaseUrl": "string",
      "CreatedDate": "2023-09-26T11:39:37.212Z"
    }
  ],
  "Content2": {},
  "IsRequestSuccessful": true
}
 

Next Page