API - Categories - Retrieve List

Note: to retrieve a list of rentals from a category, see the API - Rentals - Retrieve List

Request:

GET /api6/categories_list/?apiKey=XXXXXX {

wpid: 0 <--- id of WordPress sync (ID number at end of URL when viewing sync entry in IO)

offset: 0 <--- start at record #

limit: 25 <--- count of records to return (25 is default)

}


Response:

{

"offset": "",

"limit": 25,

"first": "http://www.inflatableoffice.com/api2/categories?of...

"next": "http://www.inflatableoffice.com/api2/categories?of...

"previous": "http://www.inflatableoffice.com/api2/categories?of...

"items": [

{

"id": "19912",

"href": "http://www.inflatableoffice.com/api2/categories/19...

"name": "Moonwalks & Bounce Houses",

"order": ""

},

{

"id": "34",

"href": "http://www.inflatableoffice.com/api2/categories/34...

"name": "Bounce Houses",

"order": "1"

},

{

"id": "928",

"href": "http://www.inflatableoffice.com/api2/categories/92...

"name": "Equipment",

"order": "13"

}

]

}

Is this article helpful?
0 0 0