POST api/PdfMerge

Add new Request for converting pdf

Request Information

URI Parameters

None.

Body Parameters

JobRequest
NameDescriptionTypeAdditional information
RequestUrl

Pdf Url that have to be convert

string

None.

Counter

The Student Counter

integer

None.

TestDate

The TestDate for workBook

integer

None.

Type

The type of workbook

integer

None.

LandScape

boolean

None.

FileName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "RequestUrl": "sample string 1",
  "Counter": 2,
  "TestDate": 3,
  "Type": 4,
  "LandScape": true,
  "FileName": "sample string 6"
}

application/xml, text/xml

Sample:
<JobRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KanoonExamPdfServiceDb.Models">
  <Counter>2</Counter>
  <FileName>sample string 6</FileName>
  <LandScape>true</LandScape>
  <RequestUrl>sample string 1</RequestUrl>
  <TestDate>3</TestDate>
  <Type>4</Type>
</JobRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

State for the job

MergeJobState
NameDescriptionTypeAdditional information
RequestKey

RequestKey for the job

string

None.

Type

The type of workbook

integer

None.

DownloadUrl

The url for downloading the pdf

string

None.

JobState

The State of job

WorkBookPdfStateResult

None.

JobStateStr

The State Id of job

string

None.

PdfCheckStateUrl

The Url for Check State of job

string

None.

FileName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "RequestKey": "sample string 1",
  "Type": 2,
  "DownloadUrl": "sample string 3",
  "JobState": 0,
  "JobStateStr": "sample string 4",
  "PdfCheckStateUrl": "sample string 5",
  "FileName": "sample string 6"
}

application/xml, text/xml

Sample:
<MergeJobState xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KanoonExamPdfServiceDb.Models">
  <DownloadUrl>sample string 3</DownloadUrl>
  <FileName>sample string 6</FileName>
  <JobState>Success</JobState>
  <JobStateStr>sample string 4</JobStateStr>
  <PdfCheckStateUrl>sample string 5</PdfCheckStateUrl>
  <RequestKey>sample string 1</RequestKey>
  <Type>2</Type>
</MergeJobState>