Loading
Get Started with Communications, Media, and Energy & Utilities (CME)...
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Post Story Quick Actions

          Post Story Quick Actions

          Create a story object for a parent object ID.

          POST /v1/storyquickactions

          Package

          • Communication (vlocity_cmt)

          • Vlocity Health (vlocity_ins)

          • Insurance (vlocity_ins)

          • Government (vlocity_ps)

          Version

          v1

          Parameters

          Parameter

          Description

          Optional

          Example

          request body

          Fields and field values, object name

          Optional

          {

          "storyId":"00v41000000IzUW",

          "attMap":{"Title":"NoteTitle23","Body":"TestNote23","IsPrivate":false},

          "fieldNameTypeMap":{

          "Body":"TEXTAREA",

          "IsPrivate":"BOOLEAN",

          "Title":"STRING"

          },

          "objName":"Note"

          }

          Resource Information

          Response Format

          JSON

          Resource URL

          /services/apexrest/{namespace}/v1/storyquickactions

          Example Request

          POST
          /services/apexrest/daily/v1/storyquickactions
          {
             "storyId":"00v41000000IzUW",
             "attMap":{
                "Title":"NoteTitle23"
                "Body":"TestNote23"
                "IsPrivate":false
             },
             "fieldNameTypeMap":{
                "Body":"TEXTAREA",
                "IsPrivate":"BOOLEAN",
                "Title":"STRING"
             },
             "objName":"Note"
          }
          {
             "storyId":"00v41000000IzUW",
             "attMap":{
                "Description":"TestTask",
                "Type":"Call",
                "Priority":"High",
                "Status":"In Progress",
                "ActivityDate":"2016-08-01"
             },
             "fieldNameTypeMap":     
                {"Description":"TEXTAREA",
                "Type":"PICKLIST",
                "Priority":"PICKLIST",
                "Status":"PICKLIST",
                "ActivityDate":"DATE",
                "Subject":"COMBOBOX"
             },
             "objName":"Task"
          }
          {
             "storyId":"00v41000000IzUW",
             "attMap":{
                "StartDateTime":"2016-08-01 23:09:10",
                "DurationInMinutes":60,
                "EventStatus__c":"Completed",
                "Location":"San Mateo"},
                "fieldNameTypeMap":{
                "StartDateTime":"DATETIME",
                "DurationInMinutes":"INTEGER",
                "EventStatus__c":"PICKLIST",
                "Location":"STRING",
                "Subject":"COMBOBOX"},
                "objName":"Event"
          }

          Example result

          example
          example
          "00T1500001yieR8EAI"   

          newly created story ID

           
          Loading
          Salesforce Help | Article