GET api/Incidents/GetJobCardPDF?ApiToken={ApiToken}&IncidentID={IncidentID}&IncidentType={IncidentType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ApiToken

string

None.

IncidentID

integer

Required

IncidentType

integer

Required

Body Parameters

None.

Response Information

Resource Description

IncidentJobCardPdfViewDataModel
NameDescriptionTypeAdditional information
IncidentID

integer

None.

IncidentType

integer

None.

pdfFileName

string

None.

pdfDownloadLink

string

None.

PdfFileFullPath

string

None.

ReturnID

integer

Required

Message

string

Required

Successful

boolean

Required

Code

integer

None.

TotalRecord

integer

None.

Response Formats

application/json, text/json, text/plain, text/html

Sample:
{
  "incidentID": 1,
  "incidentType": 2,
  "pdfFileName": "sample string 3",
  "pdfDownloadLink": "sample string 4",
  "pdfFileFullPath": "sample string 5",
  "returnID": 6,
  "message": "sample string 7",
  "successful": true,
  "code": 9,
  "totalRecord": 10
}

application/xml, text/xml

Sample:
<IncidentJobCardPdfViewDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">
  <Code>9</Code>
  <Message>sample string 7</Message>
  <ReturnID>6</ReturnID>
  <Successful>true</Successful>
  <TotalRecord>10</TotalRecord>
  <IncidentID>1</IncidentID>
  <IncidentType>2</IncidentType>
  <PdfFileFullPath>sample string 5</PdfFileFullPath>
  <pdfDownloadLink>sample string 4</pdfDownloadLink>
  <pdfFileName>sample string 3</pdfFileName>
</IncidentJobCardPdfViewDataModel>

multipart/form-data

Sample:
<IncidentJobCardPdfViewDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel"><Code>9</Code><Message>sample string 7</Message><ReturnID>6</ReturnID><Successful>true</Successful><TotalRecord>10</TotalRecord><IncidentID>1</IncidentID><IncidentType>2</IncidentType><PdfFileFullPath>sample string 5</PdfFileFullPath><pdfDownloadLink>sample string 4</pdfDownloadLink><pdfFileName>sample string 3</pdfFileName></IncidentJobCardPdfViewDataModel>