POST api/applicant/CreateSeniorCitizienMembership

Request Information

URI Parameters

None.

Body Parameters

SeniorCitizensMembership
NameDescriptionTypeAdditional information
IsOnBehalf

boolean

None.

NationalIdRequester

string

None.

NationalIdOnBehalfRequester

string

None.

email

string

None.

SubService

string

None.

Origin

integer

None.

seniorData

SeniorData

None.

Request Formats

application/json, text/json

Sample:
{
  "IsOnBehalf": true,
  "NationalIdRequester": "sample string 2",
  "NationalIdOnBehalfRequester": "sample string 3",
  "email": "sample string 4",
  "SubService": "sample string 5",
  "Origin": 6,
  "seniorData": {
    "NationalId": "sample string 1",
    "FullNameAr": "sample string 2",
    "FullNameEn": "sample string 3",
    "Gender": 4,
    "BirthDate": "2024-11-05T15:01:27.6597888+04:00",
    "Mobile": "sample string 6"
  }
}

application/xml, text/xml

Sample:
<SeniorCitizensMembership xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDF.APIs.Models">
  <IsOnBehalf>true</IsOnBehalf>
  <NationalIdOnBehalfRequester>sample string 3</NationalIdOnBehalfRequester>
  <NationalIdRequester>sample string 2</NationalIdRequester>
  <Origin>6</Origin>
  <SubService>sample string 5</SubService>
  <email>sample string 4</email>
  <seniorData>
    <BirthDate>2024-11-05T15:01:27.6597888+04:00</BirthDate>
    <FullNameAr>sample string 2</FullNameAr>
    <FullNameEn>sample string 3</FullNameEn>
    <Gender>4</Gender>
    <Mobile>sample string 6</Mobile>
    <NationalId>sample string 1</NationalId>
  </seniorData>
</SeniorCitizensMembership>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MessageResponser
NameDescriptionTypeAdditional information
StatusCode

integer

None.

Ref

string

None.

RequestNumber

string

None.

SubmissionDate

date

None.

MessageAr

string

None.

MessageEn

string

None.

data

string

None.

InternalMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusCode": 1,
  "Ref": "sample string 2",
  "RequestNumber": "sample string 3",
  "SubmissionDate": "2024-11-05T15:01:27.6597888+04:00",
  "MessageAr": "sample string 5",
  "MessageEn": "sample string 6",
  "data": "sample string 7",
  "InternalMessage": "sample string 8"
}

application/xml, text/xml

Sample:
<MessageResponser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDF.APIs.Models">
  <InternalMessage>sample string 8</InternalMessage>
  <MessageAr>sample string 5</MessageAr>
  <MessageEn>sample string 6</MessageEn>
  <Ref>sample string 2</Ref>
  <RequestNumber>sample string 3</RequestNumber>
  <StatusCode>1</StatusCode>
  <SubmissionDate>2024-11-05T15:01:27.6597888+04:00</SubmissionDate>
  <data>sample string 7</data>
</MessageResponser>