POST api/v1/survey/email/record?loanId={loanId}&departmentId={departmentId}

Post survey email record to survey database

Request Information

URI Parameters

NameDescriptionTypeAdditional information
loanId

string

Required

departmentId

byte

Required

Body Parameters

SurveyEmailRecord
NameDescriptionTypeAdditional information
Id

integer

None.

SurveyId

integer

None.

SubmissionDay

integer

None.

SentDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "SurveyId": 2,
  "SubmissionDay": 3,
  "SentDate": "2025-12-06T04:39:14.6510718+00:00"
}

application/xml, text/xml

Sample:
<SurveyEmailRecord xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PrincetonMortgage.CommonModels">
  <Id>1</Id>
  <SentDate>2025-12-06T04:39:14.6510718+00:00</SentDate>
  <SubmissionDay>3</SubmissionDay>
  <SurveyId>2</SurveyId>
</SurveyEmailRecord>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.