- Overview
- Account Settings
- Assets
- Connectors Framework
- Customer Portal
- Customers
- Dashboards
- Devices
- Dispatching
- Forms
- Inventory
- Invoices & Billing
- Locations
- Payments
- Parts
- Projects
- Quotes
- Recurrent Routes
- Recurrent Services
- Reports
- Sales Orders
- Schedule
- Services
- Tasks
- Text Messaging
- Time Tracking
- Users
- Work Orders
Overview
Retrieve Asset Category List defined in asset settings of the client
Retrieve Asset Category List defined in asset settings of the client
URL Format
https://{domain}.mobiwork.com/api/rest/{clientId}/{versionNumber}/asset/category/list.html?token=XXXXXXXX&userId={userId}
https://{domain}.mobiwork.com/api/rest/{clientId}/{versionNumber}/asset/category/list.html?token=XXXXXXXX&userId={userId}
Arguments
clientId required |
MobiWork assigned unique ID of the company |
versionNumber required |
Version number of MobiWork API SDK release. Current version is: 10.0.78 |
token required |
Part of url as a request parameter and is required in every call to verify access to API calls |
userId optional |
If provided, this User ID will be taken as a logged in user |
Return
Returns a list of asset category defined in asset settings if valid arguments are provided. Returns an error if not a valid request
Returns a list of asset category defined in asset settings if valid arguments are provided. Returns an error if not a valid request
Request Body XSD
None
None
Response Body XSD
Curl Example
HTTP Method: | POST |
Request: | curl -k -X GET "https://www.mobiwork.com/api/rest/12014/10.0.78/asset/category/list.html?token=COJL8X2FKSLMMRTYCH2B" --header 'content-type: application/xml' |
Response: | <?xml encoding="UTF-8" ?> <response version="10.0.78" statusCode="1"> <categoryList type="Product"> <category> <categoryId>972</categoryId> <name>50mm SV Fittings</name> <externalId>null</externalId> </category> <category> <categoryId>968</categoryId> <name>Above ground fittings</name> <externalId>null</externalId> </category> <category> <categoryId>1529</categoryId> <name>Adhesive Labels</name> <externalId>null</externalId> </category> <category> <categoryId>978</categoryId> <name>Clamps</name> <externalId>null</externalId> </category> <category> <categoryId>710</categoryId> <name>Computer</name> <externalId></externalId> </category> <category> <categoryId>966</categoryId> <name>Conex fittings</name> <externalId>null</externalId> </category> <category> <categoryId>965</categoryId> <name>Copcal Fittings</name> <externalId>null</externalId> </category> </categoryList> </response> |