POST api/ApplyOnline/QueryShortUrl

Request Information

URI Parameters

None.

Body Parameters

ApplyOnlineShortUrlModel
NameDescriptionTypeAdditional information
ClientName

string

None.

Salutation

string

None.

ClientID

string

None.

CountryCode

string

None.

Phone

string

None.

Email

string

None.

Address1

string

None.

Address2

string

None.

Address3

string

None.

LoanType

string

None.

TransactionDate

string

None.

Price

decimal number

None.

StaffName

string

None.

StaffNo

string

None.

StaffPhone

string

None.

Oppose2

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ClientName": "sample string 1",
  "Salutation": "sample string 2",
  "ClientID": "sample string 3",
  "CountryCode": "sample string 4",
  "Phone": "sample string 5",
  "Email": "sample string 6",
  "Address1": "sample string 7",
  "Address2": "sample string 8",
  "Address3": "sample string 9",
  "LoanType": "sample string 10",
  "TransactionDate": "sample string 11",
  "Price": 1.1,
  "StaffName": "sample string 12",
  "StaffNo": "sample string 13",
  "StaffPhone": "sample string 14",
  "Oppose2": true
}

text/xml

Sample:
<ApplyOnlineShortUrlModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CentaMortgageWebAPI.Models">
  <Address1>sample string 7</Address1>
  <Address2>sample string 8</Address2>
  <Address3>sample string 9</Address3>
  <ClientID>sample string 3</ClientID>
  <ClientName>sample string 1</ClientName>
  <CountryCode>sample string 4</CountryCode>
  <Email>sample string 6</Email>
  <LoanType>sample string 10</LoanType>
  <Oppose2>true</Oppose2>
  <Phone>sample string 5</Phone>
  <Price>1.1</Price>
  <Salutation>sample string 2</Salutation>
  <StaffName>sample string 12</StaffName>
  <StaffNo>sample string 13</StaffNo>
  <StaffPhone>sample string 14</StaffPhone>
  <TransactionDate>sample string 11</TransactionDate>
</ApplyOnlineShortUrlModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ApplyOnlineShortUrlModel'.

Response Information

Resource Description

ApplyOnlineShortUrlResponse
NameDescriptionTypeAdditional information
LinkUrl

ShortUrlInfo

None.

ResponseCode

ResponseCode

None.

AlertMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "LinkUrl": {
    "TCLink": "sample string 1",
    "SCLink": "sample string 2",
    "ENLink": "sample string 3"
  },
  "ResponseCode": 1,
  "AlertMessage": "sample string 1"
}

text/xml

Sample:
<ApplyOnlineShortUrlResponse 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>
  <LinkUrl>
    <ENLink>sample string 3</ENLink>
    <SCLink>sample string 2</SCLink>
    <TCLink>sample string 1</TCLink>
  </LinkUrl>
</ApplyOnlineShortUrlResponse>