Online Docs

Create Story

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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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](/OnlineDoc-VI/odoc/eTask_Rest_API_Document/08-03-02.html) syntax.

## Request
**Header**

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

1
2
3
4
5
6
**Body**
```json
{
"name": "[StoryName]",
"description": "[StoryDesscription]"
}

Response

1
2
3
4
5
6
7
8
9
10
{
"@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]"
}

Comment

Was this article helpful?
Thanks For Your Feedback