POST api/v1/sendEbook

Request Information

URI Parameters

None.

Body Parameters

SendEbookRequest
NameDescriptionTypeAdditional information
name

string

None.

email

string

None.

ebookTitle

string

None.

ebookLink

string

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "email": "sample string 2",
  "ebookTitle": "sample string 3",
  "ebookLink": "sample string 4"
}

application/xml, text/xml

Sample:
<SendEbookRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebsiteAPI.Model">
  <EbookLink>sample string 4</EbookLink>
  <EbookTitle>sample string 3</EbookTitle>
  <Email>sample string 2</Email>
  <Name>sample string 1</Name>
</SendEbookRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SendEbookRequest'.

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.