Get Item By Name

From MyMobileWorkers API
Revision as of 14:02, 8 August 2013 by Darren.atherton (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Summary

Item by name
URL http://:base_url/:api_path/:version/asset?api_key=YOUR_KEY&serial_number=SERIAL_NUMBER
Type GET
Params: api_key required
item_name required
Response JSON

The Get Item By Name method returns the item corresponding to the item name provided.

Response Parameters

Example response

{
   "name":"darrenItem",
   "category":{
      "external_id":"",
      "name":"Test1"
   },
   "notes":"notes",
   "external_id":"ss303",
   "product_code":"productCodeTest",
   "price":2.5
}

Example curl request

curl "http://live.mymobileworkers.com:8080/api/1/items/item/name/?api_key=darrenwebapi&item_name=darrenItem"

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox