Use this endpoint to create a new Story.

Accepts a standard Story object, simple types and no read-only values specified.

If successful, the endpoint responds with HTTP Status Code 201 Created. The response body will contain a Story object populated with the new Story’s integer StoryId.

post/stories

Request

  • Base URL
    https://api.securevan.com/v4
  • URL
    https://api.securevan.com/v4/stories
  • Auth
    HTTP basic

Request body

titlestring
storyTextstring
vanIdstring
campaignIdinteger

Response

201

storyIdinteger
titlestring
storyTextstring
vanIdinteger
campaignIdinteger

Example response

{
  "storyId": 124,
  "title": "A Tale of Two Cities",
  "storyText": "It was the best of times, it was the worst of times ...",
  "storyStatus": {
    "storyStatusId": 1
  },
  "vanId": 1000000000,
  "tags": [
    {
      "codeId": 123
    }
  ],
  "campaignId": 123456
}

Changes