Get a profile category
Name | Type | Required | Optional | Searchable | Note |
---|---|---|---|---|---|
siteid | numeric | REQUIRED, Passed via URI | |||
categoryid | numeric | REQUIRED, Passed via URI |
http://devsandbox.targetsolutions.com/v1/sites/{siteid}/categories/profile/{categoryid}
GET /sites/{siteid}/categories/profile/{categoryid} HTTP/1.1
Host: http://devsandbox.targetsolutions.com/v1
AccessToken: eZxouizj+iE34Lq0AiOCQw==
Cache-Control: no-cache
{ "links":[ { "resourcelink":"http://devsandbox.targetsolutions.com/v1/sites/12/categories/profile/5468", "groups":"http://devsandbox.targetsolutions.com/v1/sites/12/categories/profile/5468/groups" } ], "siteid":12, "categoryid":5468, "categoryname":"Category Test 3", "groupcount":25 }
{ "httpcode":200, "moreinfo":"http://developers.targetsolutions.com/v1/responsecodes/901", "developermessage":"The request returned zero results.", "statuscode":901, "status":"ok" }
{ "httpcode":401, "moreinfo":"http://developers.targetsolutions.com/v1/responsecodes/800", "developermessage":"A request was made to a resource that you do not have ownership of.", "statuscode":800, "status":"access denied" }