POST api/SubmitForm/PostQueryRegister

Request Information

URI Parameters

None.

Body Parameters

QueryRegisterModel
NameDescriptionTypeAdditional information
ClientName

string

None.

Salutation

string

None.

Phone

string

None.

Email

string

None.

QueryContent

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ClientName": "sample string 1",
  "Salutation": "sample string 2",
  "Phone": "sample string 3",
  "Email": "sample string 4",
  "QueryContent": "sample string 5"
}

text/xml

Sample:
<QueryRegisterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CentaMortgageWebAPI.Models">
  <ClientName>sample string 1</ClientName>
  <Email>sample string 4</Email>
  <Phone>sample string 3</Phone>
  <QueryContent>sample string 5</QueryContent>
  <Salutation>sample string 2</Salutation>
</QueryRegisterModel>

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

Response Information

Resource Description

ResponseBase
NameDescriptionTypeAdditional information
ResponseCode

ResponseCode

None.

AlertMessage

string

None.

Response Formats

application/json, text/json

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

text/xml

Sample:
<ResponseBase 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>
</ResponseBase>