POST api/EmergencyContact/InsertEmergencyContact

Request Information

URI Parameters

None.

Body Parameters

EmergencyContactModel
NameDescriptionTypeAdditional information
ApplicantEmergencyContactId

integer

None.

ApplicantId

integer

None.

FirstName

string

None.

MiddleName

string

None.

LastName

string

None.

AddressLine1

string

None.

AddressLine2

string

None.

City

string

None.

StateId

byte

None.

Zip

string

None.

DaytimePhone

string

None.

EveningPhone

string

None.

Mobile

string

None.

Email

string

None.

Relationship

string

None.

ECAbovePerson

boolean

None.

ECParentOrChild

boolean

None.

ECSpouse

boolean

None.

ResidentSpecialNeedsExists

boolean

None.

ResidentSpecialNeedsDesc

string

None.

IsActive

boolean

None.

InActivatedDate

date

None.

InActivatedBy

integer

None.

LastUpdatedDate

date

None.

LastUpdatedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "applicantEmergencyContactId": 1,
  "applicantId": 1,
  "firstName": "sample string 1",
  "middleName": "sample string 2",
  "lastName": "sample string 3",
  "addressLine1": "sample string 4",
  "addressLine2": "sample string 5",
  "city": "sample string 6",
  "stateId": 64,
  "zip": "sample string 8",
  "daytimePhone": "sample string 9",
  "eveningPhone": "sample string 10",
  "mobile": "sample string 11",
  "email": "sample string 12",
  "relationship": "sample string 13",
  "ecAbovePerson": true,
  "ecParentOrChild": true,
  "ecSpouse": true,
  "residentSpecialNeedsExists": true,
  "residentSpecialNeedsDesc": "sample string 14",
  "isActive": true,
  "inActivatedDate": "2025-05-10T19:32:44.0987664-05:00",
  "inActivatedBy": 1,
  "lastUpdatedDate": "2025-05-10T19:32:44.0987664-05:00",
  "lastUpdatedBy": 1
}

application/xml, text/xml

Sample:
<EmergencyContactModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ApplicantEmergencyContactId>1</ApplicantEmergencyContactId>
  <ApplicantId>1</ApplicantId>
  <FirstName>sample string 1</FirstName>
  <MiddleName>sample string 2</MiddleName>
  <LastName>sample string 3</LastName>
  <AddressLine1>sample string 4</AddressLine1>
  <AddressLine2>sample string 5</AddressLine2>
  <City>sample string 6</City>
  <StateId>64</StateId>
  <Zip>sample string 8</Zip>
  <DaytimePhone>sample string 9</DaytimePhone>
  <EveningPhone>sample string 10</EveningPhone>
  <Mobile>sample string 11</Mobile>
  <Email>sample string 12</Email>
  <Relationship>sample string 13</Relationship>
  <ECAbovePerson>true</ECAbovePerson>
  <ECParentOrChild>true</ECParentOrChild>
  <ECSpouse>true</ECSpouse>
  <ResidentSpecialNeedsExists>true</ResidentSpecialNeedsExists>
  <ResidentSpecialNeedsDesc>sample string 14</ResidentSpecialNeedsDesc>
  <IsActive>true</IsActive>
  <InActivatedDate>2025-05-10T19:32:44.0987664-05:00</InActivatedDate>
  <InActivatedBy>1</InActivatedBy>
  <LastUpdatedDate>2025-05-10T19:32:44.0987664-05:00</LastUpdatedDate>
  <LastUpdatedBy>1</LastUpdatedBy>
</EmergencyContactModel>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.