POST api/{accountNumber}/InsertResponse

Inserts a response to a question on an account

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountNumber

The account number

string

Required

Body Parameters

The response object

ResponseDto
NameDescriptionTypeAdditional 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:

Sample not available.

Response Information

Resource Description

A boolean indicating success

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.