GET api/Quotation/GetRentalQuotationPDF?QuotationID={QuotationID}&APIKey={APIKey}

API to get invoice PDF Link

Request Information

URI Parameters

NameDescriptionTypeAdditional information
QuotationID

integer

Required

APIKey

string

Default value is

Body Parameters

None.

Response Information

Resource Description

Collection of QuotationPdfViewDataModel
NameDescriptionTypeAdditional information
QuotationID

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:
[
  {
    "quotationID": 1,
    "pdfFileName": "sample string 2",
    "pdfDownloadLink": "sample string 3",
    "pdfFileFullPath": "sample string 4",
    "returnID": 5,
    "message": "sample string 6",
    "successful": true,
    "code": 8,
    "totalRecord": 9
  },
  {
    "quotationID": 1,
    "pdfFileName": "sample string 2",
    "pdfDownloadLink": "sample string 3",
    "pdfFileFullPath": "sample string 4",
    "returnID": 5,
    "message": "sample string 6",
    "successful": true,
    "code": 8,
    "totalRecord": 9
  }
]

application/xml, text/xml

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

multipart/form-data

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