Description

Create a profile group

Parameters

Name Type Required Optional Searchable Note
siteid numeric REQUIRED, Passed via URI
categoryid numeric REQUIRED, Passed via URI
groupname string REQUIRED, Passed via BODY

Examples

Example Request

http://devsandbox.targetsolutions.com/v1/sites/{siteid}/categories/profile/{categoryid}/groups

Example Header

POST /sites/{siteid}/categories/profile/{categoryid}/groups HTTP/1.1
Host: http://devsandbox.targetsolutions.com/v1
AccessToken: /Al+0hAuMaY2A20MAI+5NA==
Cache-Control: no-cache

Example Body JSON

{
  "groupname":"random groupname data"
}

Possible Results Sets

Results Set

{
  "httpcode":201,
  "moreinfo":"http://developers.targetsolutions.com/v1/responsecodes/701",
  "developermessage":"The request has been fulfilled and resulted in a new resource being created. ",
  "statuscode":701,
  "status":"created"
}

Access Denied Set

{
  "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"
}