2 Replies Latest reply on Jul 11, 2016 3:09 AM by jmedd

    Error creating a Category with the REST API

    jmedd Enthusiast
    vExpert

      vRO 7.0.1

       

      I am trying to create a Category in the Workflow Root folder using the REST API.

       

      URL = https://vroserver.fqdn:8281/vco/api/categories

      Method = POST

       

      The API docs suggest the body should be like this:

       

      {

        "categoryType": "WorkflowCategory",

        "name": "Test5",

        "description": "Testing"

      }

       

      However, I only ever get a 400 Response: The request sent by the client was syntactically incorrect.

       

      which the docs translate to: Category name must be specified

       

      Can anyone help?