Post Doktor Connect Schedule

Post Doktor Connect Schedule

POST https://portal-staging.aiicoplc.com/api/services/app/NowNowService/PostDocDeySchedule

This endpoint allows you to post Doktor Connect Schedule.

Query Parameters

NameTypeDescription

firstName

string

Client's first name

lastName

string

Client's last name

otherNames

string

Client's other name

genderId

string

Client's gender

dateOfBirth

string

Client's date of birth

passportUrl

string

Client's passport in base 64 string

email

string

Client's email

phoneNumber

string

Client's phone number

address

string

Client's address

startDate

string

Inception date

endDate

string

End date

amount

string

Purchase amount

paymentReference

string

Your transaction unique reference

Headers

NameTypeDescription

X-ApiKey

string

To be provided.

Content-Type

string

application/json

{
"result":{
"isSuccessful": true,
"transactionRef": "DCD-499B24",
"transactionDate": "2021-07-16T04:35:15.8817772+00:00",
"docDeyRequest":{
"firstName": "Will",
"lastName": "Oj",
"otherNames": "test",
"genderId": "01439e44-98cf-e711-83b7-44850015c0e7",
"dateOfBirth": "2002-07-16T04:31:44.989Z",
"passportUrl": "xx",
"email": "string",
"phoneNumber": "08168483478",
"address": "test",
"startDate": "2021-07-16T04:31:44.989Z",
"endDate": "2021-08-16T04:31:44.989Z",
"amount": 1000.0,
"partnerReference": "test123"
}
},
"targetUrl": null,
"success": true,
"error": null,
"unAuthorizedRequest": false,
"__abp": true
}
Sample Payload
{
  "firstName": "Will",
  "lastName": "Oj",
  "otherNames": "test",
  "genderId": "Male",
  "dateOfBirth": "2002-07-16T04:31:44.989Z",
  "passportUrl": "xx",
  "email": "string",
  "phoneNumber": "081000000",
  "address": "test",
  "startDate": "2021-07-16T04:31:44.989Z",
  "endDate": "2021-08-16T04:31:44.989Z",
  "amount": 1000,
  "partnerReference": "DOC-123"
}

Last updated