Loading
Prepare for Email to Become the Default Login ExperienceRead More
Get Started with Communications, Media, and Energy & Utilities (CME)...
Get Next Stories

Get Next Stories

Get the next page or list of stories for a Contact, Account, or any top-level object.

GET /v1/story/{object ID}?lastActivityDate={Unix time}&lastObjId={ID}

Package

  • Communication (vlocity_cmt)

  • Vlocity Health (vlocity_ins)

  • Insurance (vlocity_ins)

  • Government (vlocity_ps)

Parameters

Parameter

Description

Optional

Example

objectId

The parent object ID

Required

003o0000002z4uU

(Contact ID)

lastObjId

The last viewed record ID

Optional

00Uo0000000zhSQEAY

(Event ID)

lastActivityDate

The last viewed record activity date, in UNIX date/time format.

Optional

1404756000

Resource Information

Response Format

JSON

Resource URL

/services/apexrest/{namespace}/v1/story/{object ID}?lastActivityDate={Unix time}&lastObjId={ID}

Example Request

GET 
/services/apexrest/vlocity_cmt/v1/story/003o0000002z4uU?lastActivityDate=1404756000&lastObjId=00Uo0000000zhSQEAY

Example Response

{
   "title": "4567890",
   "summaryLabelMap": {
      "Title": "Claim Number",
      "Title_Highlight": "Loss Type",
      "Subtitle": "Loss Cause"
   },
   "subtitle": "Glass Claim",
   "ownerValueMap": {
      "Title": "Software Engineer",
      "Photo": "https://c.na17.content.force.com/profilephoto/729o0000000TaVf/T",
      "Owner": "rm2 Lu"
   },
   "owner": "005o0000000TTwXAAW",
   "objType": "Claim",
   "monthNameLastActivityDate": "November 3, 2014",
   "modified": "Last Modified By rm2 Lu on 2014-11-05 01:30:55",
   "longLastActivityDate": "1415001600",
   "LastActivityDate": "2014-11-03T08:00:00.000Z",
   "indicators": {},
   "imageRef": "/resource/1415234134000/Claim",
   "Id": "a11o0000001962rAAA",
   "highlight": "Auto",
   "formatedLastActivityDate": "11/3/2014",
   "filterDummy": "All",
   "detailValueMap": {},
   "detailFieldList": [],
   "activityType": null
}

Other results:

  • When the objId is null, return the 400 status code.

  • When objId is not a valid ID, return the 500 status code.

  • If the Custom Setting Story List Object Configuration is not setup correctly, return the 500 status code.

 
Loading
Salesforce Help | Article