POST api/ApplyOnline/SubmitApplyForm

Request Information

URI Parameters

None.

Body Parameters

ApplyOnlineModel
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.

Oppose1

boolean

None.

Oppose2

boolean

None.

Signature

string

None.

ImageType

string

None.

PlatformType

PlatformTypes

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",
  "Oppose1": true,
  "Oppose2": true,
  "Signature": "sample string 15",
  "ImageType": "sample string 16",
  "PlatformType": 0
}

text/xml

Sample:
<ApplyOnlineModel 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>
  <ImageType>sample string 16</ImageType>
  <LoanType>sample string 10</LoanType>
  <Oppose1>true</Oppose1>
  <Oppose2>true</Oppose2>
  <Phone>sample string 5</Phone>
  <PlatformType>PC</PlatformType>
  <Price>1.1</Price>
  <Salutation>sample string 2</Salutation>
  <Signature>sample string 15</Signature>
  <StaffName>sample string 12</StaffName>
  <StaffNo>sample string 13</StaffNo>
  <StaffPhone>sample string 14</StaffPhone>
  <TransactionDate>sample string 11</TransactionDate>
</ApplyOnlineModel>

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 'ApplyOnlineModel'.

Response Information

Resource Description

ApplyOnlineResponse
NameDescriptionTypeAdditional information
applyID

string

None.

ResponseCode

ResponseCode

None.

AlertMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "applyID": "sample string 1",
  "ResponseCode": 1,
  "AlertMessage": "sample string 2"
}

text/xml

Sample:
<ApplyOnlineResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CentaMortgageWebAPI.Models">
  <AlertMessage>sample string 2</AlertMessage>
  <ResponseCode>Success</ResponseCode>
  <ApplyID>sample string 1</ApplyID>
</ApplyOnlineResponse>