Chuyển tới nội dung chính

Create Story

Create a new story for an eSource in a specific Channel within a Team.

POST odata/story
--x-appvity-channelId: [ChannelID]
--x-appvity-teamid: [TeamID]
--Cookie: graphNodeCookie=[ID] -
-data-raw: {Story-Object}

URL Endpoint

odata/story

Method

POST.

Parameters

Do not supply OData Filter syntax.

Request

Header

--x-appvity-channelId: [ChannelID]
--x-appvity-teamid: [TeamID]
--Cookie: graphNodeCookie=[ID]

Body

{
"name": "[StoryName]",
"description": "[StoryDesscription]"
}

Response

{
"@odata.context": "https://schema.appvity.com/odata/$metadata#story/$entity",
"@odata.editLink": "https://schema.appvity.com/odata/story('5f6c478f4d596392f58b1be5')",
"@odata.id": "https://schema.appvity.com/odata/story('5f6c478f4d596392f58b1be5')",
"_id": "[StoryID]",
"name": "[StoryName]",
"description": "[StoryDesscription]",
"createdAt": "[CreatedTime]",
"updatedAt": "[UpdatedTime]"
}