Difference between revisions of "Get Asset By Serial Number"

From MyMobileWorkers API
Jump to: navigation, search
(Created page with "== Summary == {| border="1" class="wikitable" ! Asset ! colspan="2" | |- ! URL | colspan="2" | http://:base_url/:api_path/:version/asset |- ! Type | colspan="2" | GET |- ! ...")
 
(→‎Example curl request)
Line 36: Line 36:
 
== Example curl request ==
 
== Example curl request ==
  
−
http://live.mymobileworkers.com:8080/api/1/asset?api_key=YOURAPIKEY
+
curl "http://live.mymobileworkers.com:8080/api/1/assets/asset/?api_key=darrenwebapi&serial_number=serialNo123"

Revision as of 10:43, 7 August 2013

Contents

Summary

Asset
URL http://:base_url/:api_path/:version/asset
Type GET
Params: api_key required
serial_number required
Response JSON


The Get Asset method returns the asset corresponding to the serial number specified.


Response Parameters

Example response

[
 
]

Example curl request

curl "http://live.mymobileworkers.com:8080/api/1/assets/asset/?api_key=darrenwebapi&serial_number=serialNo123"

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox