POST api/PdfBulk

Add new Request for converting pdf

Request Information

URI Parameters

None.

Body Parameters

JobBulkRequest
NameDescriptionTypeAdditional information
RequestUrls

string

None.

TestDate

The TestDate for workBook

integer

None.

HeadId

integer

None.

kind

integer

None.

InspactorCode

integer

None.

SchoolId

integer

None.

GroupCode

integer

None.

Type

The type of workbook

integer

None.

FileName

string

None.

LandScape

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "RequestUrls": "sample string 1",
  "TestDate": 2,
  "HeadId": 1,
  "kind": 1,
  "InspactorCode": 1,
  "SchoolId": 1,
  "GroupCode": 1,
  "Type": 3,
  "FileName": "sample string 4",
  "LandScape": true
}

application/xml, text/xml

Sample:
<JobBulkRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KanoonExamPdfServiceDb.Models">
  <FileName>sample string 4</FileName>
  <GroupCode>1</GroupCode>
  <HeadId>1</HeadId>
  <InspactorCode>1</InspactorCode>
  <LandScape>true</LandScape>
  <RequestUrls>sample string 1</RequestUrls>
  <SchoolId>1</SchoolId>
  <TestDate>2</TestDate>
  <Type>3</Type>
  <kind>1</kind>
</JobBulkRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

State for the job

JobStates
NameDescriptionTypeAdditional information
RequestKey

RequestKey for the job

string

None.

Counter

The Student Counter

integer

None.

TestDate

The TestDate for workBook

integer

None.

Type

The type of workbook

integer

None.

DownloadUrl

The url for downloading the pdf

string

None.

JobSate

The State of job

string

None.

JobSateId

The State Id of job

integer

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.

LandScape

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "RequestKey": "sample string 1",
  "Counter": 2,
  "TestDate": 3,
  "Type": 4,
  "DownloadUrl": "sample string 5",
  "JobSate": "sample string 6",
  "JobSateId": 7,
  "JobState": 0,
  "JobStateStr": "sample string 8",
  "PdfCheckStateUrl": "sample string 9",
  "FileName": "sample string 10",
  "LandScape": true
}

application/xml, text/xml

Sample:
<JobStates xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KanoonExamPdfServiceDb.Models">
  <Counter>2</Counter>
  <DownloadUrl>sample string 5</DownloadUrl>
  <FileName>sample string 10</FileName>
  <JobSate>sample string 6</JobSate>
  <JobSateId>7</JobSateId>
  <JobState>Success</JobState>
  <JobStateStr>sample string 8</JobStateStr>
  <LandScape>true</LandScape>
  <PdfCheckStateUrl>sample string 9</PdfCheckStateUrl>
  <RequestKey>sample string 1</RequestKey>
  <TestDate>3</TestDate>
  <Type>4</Type>
</JobStates>