POST v1_1/api/Idea/AddNewIdea

Request Information

URI Parameters

None.

Body Parameters

Idea
NameDescriptionTypeAdditional information
UserID

string

None.

Title

string

Required

Description

string

Required

Status

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": "sample string 1",
  "Title": "sample string 2",
  "Description": "sample string 3",
  "Status": 4
}

application/xml, text/xml

Sample:
<Idea xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CsharpCornerAPI.Models.v1_0">
  <Description>sample string 3</Description>
  <Status>4</Status>
  <Title>sample string 2</Title>
  <UserID>sample string 1</UserID>
</Idea>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.