POST api/{accountNumber}/InsertResponse
Inserts a response to a question on an account
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| accountNumber |
The account number |
string |
Required |
Body Parameters
The response object
ResponseDto| Name | Description | Type | Additional information |
|---|---|---|---|
| ClientID |
The ID of the client |
string |
None. |
| Lender |
The lender |
string |
None. |
| QuestionID |
The ID of the question |
integer |
None. |
| Response |
The ID of the response |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ClientID": "sample string 1",
"Lender": "sample string 2",
"QuestionID": 3,
"Response": 4
}
application/xml, text/xml
Sample:
<ResponseDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestAPI.Models"> <ClientID>sample string 1</ClientID> <Lender>sample string 2</Lender> <QuestionID>3</QuestionID> <Response>4</Response> </ResponseDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
A boolean indicating success
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.