POST api/Values/PublishStory

Request Information

URI Parameters

None.

Body Parameters

VMPublishStory
NameDescriptionTypeAdditional information
StoryId

integer

None.

UserId

User Id of Author.

integer

Required

Title

Story Title.

string

Required

Tag

string

None.

Description

Story Decription.

string

None.

CategoryId

integer

None.

StoryType

1 : 60 words stories | 2 : Long stories

integer

None.

ImagePath

Image path for story.

string

None.

Preference

string

None.

ConceptId

Story/Poetry.

integer

None.

Status

1 : Ongoing | 2 :Completed | 3 : Draft

integer

None.

ShareType

integer

None.

FriendList

string

None.

ShareFriends

boolean

None.

ShareFollowers

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "StoryId": 1,
  "UserId": 1,
  "Title": "sample string 2",
  "Tag": "sample string 3",
  "Description": "sample string 4",
  "CategoryId": 1,
  "StoryType": 1,
  "ImagePath": "sample string 5",
  "Preference": "sample string 6",
  "ConceptId": 1,
  "Status": 7,
  "ShareType": 8,
  "FriendList": "sample string 9",
  "ShareFriends": true,
  "ShareFollowers": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

VMPublishStoryResponse
NameDescriptionTypeAdditional information
StoryId

integer

None.

RoundId

integer

None.

IsSuccess

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "StoryId": 1,
  "RoundId": 2,
  "IsSuccess": true
}