Webservices
GetInsuranceContinuityCertificate
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /v3/webservices.asmx HTTP/1.1 Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "https://www.shafafiya.org/v2/GetInsuranceContinuityCertificate" <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v2="https://www.shafafiya.org/v2/"> <soapenv:Header/> <soapenv:Body> <v2:GetInsuranceContinuityCertificate> <v2:login>string</v2:login> <v2:pwd>string</v2:pwd> <v2:SenderID>string</v2:SenderID> <v2:UnifiedID>string</v2:UnifiedID> <v2:Members> <v2:Member> <v2:EmiratesIDNumber>string</v2:EmiratesIDNumber> <v2:UnifiedNumber>string</v2:UnifiedNumber> <v2:Status>string</v2:Status> </v2:Member> </v2:Members> </v2:GetInsuranceContinuityCertificate> </soapenv:Body> </soapenv:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v2="https://www.shafafiya.org/v2/"> <soapenv:Header/> <soapenv:Body> <v2:GetInsuranceContinuityCertificateResponse> <v2:GetInsuranceContinuityCertificateResult>int</v2:GetInsuranceContinuityCertificateResult> <v2:FoundTransactions>string</v2:FoundTransactions> <v2:errorMessage>string</v2:errorMessage> </v2:GetInsuranceContinuityCertificateResponse> </soapenv:Body> </soapenv:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /v3/webservices.asmx HTTP/1.1 Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:v2="https://www.shafafiya.org/v2/"> <soap:Header/> <soap:Body> <v2:GetInsuranceContinuityCertificate> <v2:login>string</v2:login> <v2:pwd>string</v2:pwd> <v2:SenderID>string</v2:SenderID> <v2:UnifiedID>string</v2:UnifiedID> <v2:Members> <v2:Member> <v2:EmiratesIDNumber>string</v2:EmiratesIDNumber> <v2:UnifiedNumber>string</v2:UnifiedNumber> <v2:Status>string</v2:Status> </v2:Member> </v2:Members> </v2:GetInsuranceContinuityCertificate> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:v2="https://www.shafafiya.org/v2/"> <soap:Header/> <soap:Body> <v2:GetInsuranceContinuityCertificateResponse> <v2:GetInsuranceContinuityCertificateResult>int</v2:GetInsuranceContinuityCertificateResult> <v2:FoundTransactions>string</v2:FoundTransactions> <v2:errorMessage>string</v2:errorMessage> </v2:GetInsuranceContinuityCertificateResponse> </soap:Body> </soap:Envelope>