POST api/BankServiceReferral/SubmitBankServiceReferral

Request Information

URI Parameters

None.

Body Parameters

BankServiceReferralModel
NameDescriptionTypeAdditional information
ClientName

string

None.

Salutation

string

None.

CountryCode

string

None.

Phone

string

None.

ClientSpecialRequest

string

None.

Signature

string

None.

StaffName

string

None.

StaffNo

string

None.

StaffCountryCode

string

None.

StaffPhone

string

None.

Branch

string

None.

Consultant

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ClientName": "sample string 1",
  "Salutation": "sample string 2",
  "CountryCode": "sample string 3",
  "Phone": "sample string 4",
  "ClientSpecialRequest": "sample string 5",
  "Signature": "sample string 6",
  "StaffName": "sample string 7",
  "StaffNo": "sample string 8",
  "StaffCountryCode": "sample string 9",
  "StaffPhone": "sample string 10",
  "Branch": "sample string 11",
  "Consultant": "sample string 12"
}

text/xml

Sample:
<BankServiceReferralModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CentaMortgageWebAPI.Models">
  <Branch>sample string 11</Branch>
  <ClientName>sample string 1</ClientName>
  <ClientSpecialRequest>sample string 5</ClientSpecialRequest>
  <Consultant>sample string 12</Consultant>
  <CountryCode>sample string 3</CountryCode>
  <Phone>sample string 4</Phone>
  <Salutation>sample string 2</Salutation>
  <Signature>sample string 6</Signature>
  <StaffCountryCode>sample string 9</StaffCountryCode>
  <StaffName>sample string 7</StaffName>
  <StaffNo>sample string 8</StaffNo>
  <StaffPhone>sample string 10</StaffPhone>
</BankServiceReferralModel>

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

Response Information

Resource Description

BankServiceReferralResponse
NameDescriptionTypeAdditional information
BankServiceReferralID

string

None.

ResponseCode

ResponseCode

None.

AlertMessage

string

None.

Response Formats

application/json, text/json

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

text/xml

Sample:
<BankServiceReferralResponse 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>
  <BankServiceReferralID>sample string 1</BankServiceReferralID>
</BankServiceReferralResponse>