POST api/parsisaviation/telegram/sendto/channel/flightschedule

Request Information

URI Parameters

None.

Body Parameters

ParsisAviationPageBaseContentDTO
NameDescriptionTypeAdditional information
DatasourceLanguage

string

None.

DatasourceCode

integer

None.

Code

integer

None.

Title

string

None.

Abstract

string

None.

ImageExternalUrl

string

None.

AlternateImageUrl

string

None.

ContentUrl

string

None.

DateTime

date

None.

Debug

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "DatasourceLanguage": "sample string 1",
  "DatasourceCode": 2,
  "Code": 3,
  "Title": "sample string 4",
  "Abstract": "sample string 5",
  "ImageExternalUrl": "sample string 6",
  "AlternateImageUrl": "sample string 7",
  "ContentUrl": "sample string 8",
  "DateTime": "2018-02-21T00:18:38.1505845-05:00",
  "Debug": true
}

application/xml, text/xml

Sample:
<ParsisAviationPageBaseContentDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KhaneWeb_Services_Telegram_WebApi.Models">
  <Abstract>sample string 5</Abstract>
  <AlternateImageUrl>sample string 7</AlternateImageUrl>
  <Code>3</Code>
  <ContentUrl>sample string 8</ContentUrl>
  <DatasourceCode>2</DatasourceCode>
  <DatasourceLanguage>sample string 1</DatasourceLanguage>
  <DateTime>2018-02-21T00:18:38.1505845-05:00</DateTime>
  <Debug>true</Debug>
  <ImageExternalUrl>sample string 6</ImageExternalUrl>
  <Title>sample string 4</Title>
</ParsisAviationPageBaseContentDTO>

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 'ParsisAviationPageBaseContentDTO'.

Response Information

Resource Description

KhaneWebSimpleHttpResponseModel
NameDescriptionTypeAdditional information
IsCompleted

boolean

None.

Status

TaskStatus

None.

StatusCode

byte

None.

Exception

string

None.

TaskException

string

None.

FacebookPostId

string

None.

Response Formats

application/json, text/json

Sample:
{
  "IsCompleted": true,
  "Status": 0,
  "StatusCode": 64,
  "Exception": "sample string 2",
  "TaskException": "sample string 3",
  "FacebookPostId": "sample string 4"
}

application/xml, text/xml

Sample:
<KhaneWebSimpleHttpResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KhaneWeb_Services_Telegram_WebApi.Models">
  <Exception>sample string 2</Exception>
  <FacebookPostId>sample string 4</FacebookPostId>
  <IsCompleted>true</IsCompleted>
  <Status>Created</Status>
  <StatusCode>64</StatusCode>
  <TaskException>sample string 3</TaskException>
</KhaneWebSimpleHttpResponseModel>