POST api/PersonalInfo/AddNewDependentQueue

Method to Send Request to MSMQ for Adding New Dependent which needs Approval to get into the System.

Request Information

URI Parameters

None.

Body Parameters

Dependent info to be added

AddDependentQueueRequestModel
NameDescriptionTypeAdditional information
FirstName

string

None.

LastName

string

None.

Email

string

None.

DateOfBirth

date

None.

Relationship

integer

None.

MaritalStatus

integer

None.

Gender

integer

None.

Country

integer

None.

EnrolledPolicies

Collection of PolicyDetailsRequestModel

None.

Request Formats

application/json, text/json

Sample:
{
  "FirstName": "sample string 1",
  "LastName": "sample string 2",
  "Email": "sample string 3",
  "DateOfBirth": "2025-05-02T07:15:21.8122977-07:00",
  "Relationship": 4,
  "MaritalStatus": 5,
  "Gender": 6,
  "Country": 7,
  "EnrolledPolicies": null
}

application/xml, text/xml

Sample:
<AddDependentQueueRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GBG.MemberPortal.API.Models">
  <Country>7</Country>
  <DateOfBirth>2025-05-02T07:15:21.8122977-07:00</DateOfBirth>
  <Email>sample string 3</Email>
  <EnrolledPolicies i:nil="true" />
  <FirstName>sample string 1</FirstName>
  <Gender>6</Gender>
  <LastName>sample string 2</LastName>
  <MaritalStatus>5</MaritalStatus>
  <Relationship>4</Relationship>
</AddDependentQueueRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AddDependentQueueResponseModel
NameDescriptionTypeAdditional information
Status

Enumerator

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": {}
}

application/xml, text/xml

Sample:
<AddDependentQueueResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GBG.MemberPortal.API.Models">
  <Status xmlns:d2p1="http://schemas.datacontract.org/2004/07/GBG.MemberPortal.Data.Models.Common" />
</AddDependentQueueResponseModel>