GET api/DownloadForm/GetDownloadForm?languageType={languageType}&pageType={pageType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
languageType

CmsLanguage

Required

pageType

DownloadFormPageType

Default value is All

Body Parameters

None.

Response Information

Resource Description

DownloadFormResponse
NameDescriptionTypeAdditional information
DownloadFormList

Collection of DownloadFormModel

None.

ResponseCode

ResponseCode

None.

AlertMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "DownloadFormList": [
    {
      "Subject": "sample string 1",
      "DownloadUrl": "sample string 2",
      "PageType": "sample string 3",
      "Seq": 4,
      "IconUrl": "sample string 5",
      "WebApplyUrl": "sample string 6"
    },
    {
      "Subject": "sample string 1",
      "DownloadUrl": "sample string 2",
      "PageType": "sample string 3",
      "Seq": 4,
      "IconUrl": "sample string 5",
      "WebApplyUrl": "sample string 6"
    }
  ],
  "ResponseCode": 1,
  "AlertMessage": "sample string 1"
}

text/xml

Sample:
<DownloadFormResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CentaMortgageWebAPI.Models">
  <AlertMessage>sample string 1</AlertMessage>
  <ResponseCode>Success</ResponseCode>
  <DownloadFormList>
    <DownloadFormModel>
      <DownloadUrl>sample string 2</DownloadUrl>
      <IconUrl>sample string 5</IconUrl>
      <PageType>sample string 3</PageType>
      <Seq>4</Seq>
      <Subject>sample string 1</Subject>
      <WebApplyUrl>sample string 6</WebApplyUrl>
    </DownloadFormModel>
    <DownloadFormModel>
      <DownloadUrl>sample string 2</DownloadUrl>
      <IconUrl>sample string 5</IconUrl>
      <PageType>sample string 3</PageType>
      <Seq>4</Seq>
      <Subject>sample string 1</Subject>
      <WebApplyUrl>sample string 6</WebApplyUrl>
    </DownloadFormModel>
  </DownloadFormList>
</DownloadFormResponse>