POST api/applicant/BookAppointment
Request Information
URI Parameters
None.
Body Parameters
SeniorCitizensAppointmentRequestName | Description | Type | Additional information |
---|---|---|---|
NationalId | string |
None. |
|
string |
None. |
||
OnBehalfrequester | string |
None. |
|
Date | date |
None. |
|
PreferredTime | integer |
None. |
|
Requester | integer |
None. |
|
Description | string |
None. |
|
SocialSupportServices | Collection of integer |
None. |
|
OtherRequester | string |
None. |
|
Origin | integer |
None. |
|
seniorData | SeniorData |
None. |
Request Formats
application/json, text/json
Sample:
{ "NationalId": "sample string 1", "email": "sample string 2", "OnBehalfrequester": "sample string 3", "Date": "2024-11-05T15:05:12.2226836+04:00", "PreferredTime": 5, "Requester": 6, "Description": "sample string 7", "SocialSupportServices": [ 1, 2 ], "OtherRequester": "sample string 8", "Origin": 9, "seniorData": { "NationalId": "sample string 1", "FullNameAr": "sample string 2", "FullNameEn": "sample string 3", "Gender": 4, "BirthDate": "2024-11-05T15:05:12.2226836+04:00", "Mobile": "sample string 6" } }
application/xml, text/xml
Sample:
<SeniorCitizensAppointmentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDF.APIs.Models"> <Date>2024-11-05T15:05:12.2226836+04:00</Date> <Description>sample string 7</Description> <NationalId>sample string 1</NationalId> <OnBehalfrequester>sample string 3</OnBehalfrequester> <Origin>9</Origin> <OtherRequester>sample string 8</OtherRequester> <PreferredTime>5</PreferredTime> <Requester>6</Requester> <SocialSupportServices xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </SocialSupportServices> <email>sample string 2</email> <seniorData> <BirthDate>2024-11-05T15:05:12.2226836+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> </SeniorCitizensAppointmentRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
MessageResponserName | Description | Type | Additional 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:05:12.2226836+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:05:12.2226836+04:00</SubmissionDate> <data>sample string 7</data> </MessageResponser>