POST api/KNMID/SignedDocument
Request Information
URI Parameters
None.
Body Parameters
CallBackResponseName | Description | Type | Additional information |
---|---|---|---|
MIDAuthSignResponse | MidAuthSignResponse |
None. |
Request Formats
application/json, text/json
Sample:
{ "MidAuthSignResponse": { "RequestDetails": { "RequestId": "sample string 1", "RequestType": "sample string 2", "ServiceProviderId": "sample string 3", "Challenge": "sample string 4", "CivilNo": "sample string 5" }, "ResultDetails": { "ResultCode": "sample string 1", "UserAction": "sample string 2", "UserCivilNo": "sample string 3", "UserCertificate": "sample string 4", "SignatureData": "sample string 5", "HashAlgorithm": "sample string 6", "SigningDatatype": "sample string 7", "TransactionDate": "2024-11-17T22:22:38.2227162+03:00" }, "PersonalData": { "CivilID": "sample string 1", "FullNameAr": "sample string 2", "FullNameEn": "sample string 3", "NationalityEn": "sample string 4", "NationalityAr": "sample string 5", "BirthDate": "2024-11-17T22:22:38.2227162+03:00", "Gender": "sample string 7", "MobileNumber": "sample string 8", "EmailAddress": "sample string 9", "BloodGroup": "sample string 10", "Photo": "sample string 11", "CardExpiryDate": "2024-11-17T22:22:38.2227162+03:00", "DocumentNumber": "sample string 13", "PassportNumber": "sample string 14", "GovData": { "CivilIdExpiryDate": "2024-11-17T22:22:38.2227162+03:00", "MOIReference": "sample string 2", "SponsorName": "sample string 3" }, "Address": { "Governerate": "sample string 1", "Area": "sample string 2", "PaciBuildingNumber": "sample string 3", "BuildingType": "sample string 4", "FloorNumber": "sample string 5", "BuildingNumber": "sample string 6", "BlockNumber": "sample string 7", "UnitNumber": "sample string 8", "StreetName": "sample string 9", "UnitType": "sample string 10" } }, "Signature": { "SignatureData": "sample string 1", "SigningCertificate": "sample string 2" } } }
application/xml, text/xml
Sample:
<CallBackResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <MidAuthSignResponse> <RequestDetails> <RequestId>sample string 1</RequestId> <RequestType>sample string 2</RequestType> <ServiceProviderId>sample string 3</ServiceProviderId> <Challenge>sample string 4</Challenge> <CivilNo>sample string 5</CivilNo> </RequestDetails> <ResultDetails> <ResultCode>sample string 1</ResultCode> <UserAction>sample string 2</UserAction> <UserCivilNo>sample string 3</UserCivilNo> <UserCertificate>sample string 4</UserCertificate> <SignatureData>sample string 5</SignatureData> <HashAlgorithm>sample string 6</HashAlgorithm> <SigningDatatype>sample string 7</SigningDatatype> <TransactionDate /> </ResultDetails> <PersonalData> <CivilID>sample string 1</CivilID> <FullNameAr>sample string 2</FullNameAr> <FullNameEn>sample string 3</FullNameEn> <NationalityEn>sample string 4</NationalityEn> <NationalityAr>sample string 5</NationalityAr> <BirthDate /> <Gender>sample string 7</Gender> <MobileNumber>sample string 8</MobileNumber> <EmailAddress>sample string 9</EmailAddress> <BloodGroup>sample string 10</BloodGroup> <Photo>sample string 11</Photo> <CardExpiryDate /> <DocumentNumber>sample string 13</DocumentNumber> <PassportNumber>sample string 14</PassportNumber> <GovData> <CivilIdExpiryDate /> <MOIReference>sample string 2</MOIReference> <SponsorName>sample string 3</SponsorName> </GovData> <Address> <Governerate>sample string 1</Governerate> <Area>sample string 2</Area> <PaciBuildingNumber>sample string 3</PaciBuildingNumber> <BuildingType>sample string 4</BuildingType> <FloorNumber>sample string 5</FloorNumber> <BuildingNumber>sample string 6</BuildingNumber> <BlockNumber>sample string 7</BlockNumber> <UnitNumber>sample string 8</UnitNumber> <StreetName>sample string 9</StreetName> <UnitType>sample string 10</UnitType> </Address> </PersonalData> <Signature> <SignatureData>sample string 1</SignatureData> <SigningCertificate>sample string 2</SigningCertificate> </Signature> </MidAuthSignResponse> </CallBackResponse>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.