Create one or more tags (Called "lists" within the GUI application).


JSON Request Example:    

{
  "username": "JohnDoe",
  "usertoken": "abc123abc123abc123abc123",
  "requesttype": "Tags",
  "requestmethod": "CreateTags",
  "details": {
    "tag": 
    [
      {
        "name": "{*name*}", /* required */
        "description": "{*description*}"
      },
      {
        "name": "{*name*}",
        "description": "{*description*}"
      }
    ]
  }
}


 "json_request" element


Field NameDescription
usernameUsername used to login to Pinpointe
usertokenUnique token assigned to Pinpointe account
requesttypeName of API set to be used
requestmethodFunction being called


Please note: ALL OPTIONAL elements that are not used should be deleted from submitted call. For example, If no description is to be added, remove the "description": "{*description*}" elements. In addition, if only one tag being created, remove all unused "name" & "description" elements.


"details" element

"tag"


Field NameDescription
name
(Required)
Name of tag to be created.  
description
(Optional)
Description of tag being created.


Successful Response:


"response" element


Field NameDescription
statusWill return SUCCESS if tag was successfully created
dataTag count created, tag Id, username of creator, description and create / update date.


Unsuccessful Response:


"response" element


Field NameDescription
statusWill return FAILED if unsuccessful
errormessageText explaining why request failed