NAJMClaim
Click here for a complete list of operations.
ClaimRegistration
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 /NAJMClaim.asmx HTTP/1.1 Host: najm.der3.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "CaseDetails" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ClaimRegistration xmlns="http://najm.com"> <Authentication xmlns=""> <IC_ID>string</IC_ID> <Password>string</Password> </Authentication> <CaseDetails xmlns=""> <CRNumber>string</CRNumber> <ClaimRegistrationDate>dateTime</ClaimRegistrationDate> <PolicyType>int</PolicyType> <ClaimCity>int</ClaimCity> <PolicyNumber>string</PolicyNumber> <CaseNumber>string</CaseNumber> <OwnerName>string</OwnerName> <OwnerID>long</OwnerID> <ClaimantName>string</ClaimantName> <ClaimantId>long</ClaimantId> <ClaimantIC>int</ClaimantIC> <DriverID>long</DriverID> <DriverName>string</DriverName> <OwnerMobileNo>string</OwnerMobileNo> <VehicleSequenceNumber>double</VehicleSequenceNumber> <PlateType>string</PlateType> <BankName>int</BankName> <VehiclePlateType>string</VehiclePlateType> <BirthDate>dateTime</BirthDate> <VehicleRegistrationNo>string</VehicleRegistrationNo> <AccidentDate>dateTime</AccidentDate> <Liability>string</Liability> <ClaimAmount>decimal</ClaimAmount> <Paymenttype>int</Paymenttype> <Evaluation1>double</Evaluation1> <Evaluation2>double</Evaluation2> <Evaluation3>double</Evaluation3> <Discount>double</Discount> <ReceivingCityofCheque>string</ReceivingCityofCheque> <DamageType>int</DamageType> <VehicleID>int</VehicleID> <ReportNo>long</ReportNo> <CRTypeID>int</CRTypeID> <ManuYear>int</ManuYear> <TypeofAssesment>int</TypeofAssesment> <OwnerEmailID>string</OwnerEmailID> <CustomID>double</CustomID> <SparePartsAmount>double</SparePartsAmount> <VehicaleCostBeforeAccident>double</VehicaleCostBeforeAccident> <VehicaleCostAfterAccident>double</VehicaleCostAfterAccident> <IBANNo>string</IBANNo> </CaseDetails> </ClaimRegistration> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ClaimRegistrationResponse xmlns="http://najm.com"> <CRResponse xmlns=""> <CRReturn xmlns="http://najm.com"> <Status>boolean</Status> <ErrorCode>string</ErrorCode> <ErorMessage>string</ErorMessage> </CRReturn> </CRResponse> </ClaimRegistrationResponse> </soap:Body> </soap: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 /NAJMClaim.asmx HTTP/1.1 Host: najm.der3.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <ClaimRegistration xmlns="http://najm.com"> <Authentication xmlns=""> <IC_ID>string</IC_ID> <Password>string</Password> </Authentication> <CaseDetails xmlns=""> <CRNumber>string</CRNumber> <ClaimRegistrationDate>dateTime</ClaimRegistrationDate> <PolicyType>int</PolicyType> <ClaimCity>int</ClaimCity> <PolicyNumber>string</PolicyNumber> <CaseNumber>string</CaseNumber> <OwnerName>string</OwnerName> <OwnerID>long</OwnerID> <ClaimantName>string</ClaimantName> <ClaimantId>long</ClaimantId> <ClaimantIC>int</ClaimantIC> <DriverID>long</DriverID> <DriverName>string</DriverName> <OwnerMobileNo>string</OwnerMobileNo> <VehicleSequenceNumber>double</VehicleSequenceNumber> <PlateType>string</PlateType> <BankName>int</BankName> <VehiclePlateType>string</VehiclePlateType> <BirthDate>dateTime</BirthDate> <VehicleRegistrationNo>string</VehicleRegistrationNo> <AccidentDate>dateTime</AccidentDate> <Liability>string</Liability> <ClaimAmount>decimal</ClaimAmount> <Paymenttype>int</Paymenttype> <Evaluation1>double</Evaluation1> <Evaluation2>double</Evaluation2> <Evaluation3>double</Evaluation3> <Discount>double</Discount> <ReceivingCityofCheque>string</ReceivingCityofCheque> <DamageType>int</DamageType> <VehicleID>int</VehicleID> <ReportNo>long</ReportNo> <CRTypeID>int</CRTypeID> <ManuYear>int</ManuYear> <TypeofAssesment>int</TypeofAssesment> <OwnerEmailID>string</OwnerEmailID> <CustomID>double</CustomID> <SparePartsAmount>double</SparePartsAmount> <VehicaleCostBeforeAccident>double</VehicaleCostBeforeAccident> <VehicaleCostAfterAccident>double</VehicaleCostAfterAccident> <IBANNo>string</IBANNo> </CaseDetails> </ClaimRegistration> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <ClaimRegistrationResponse xmlns="http://najm.com"> <CRResponse xmlns=""> <CRReturn xmlns="http://najm.com"> <Status>boolean</Status> <ErrorCode>string</ErrorCode> <ErorMessage>string</ErorMessage> </CRReturn> </CRResponse> </ClaimRegistrationResponse> </soap12:Body> </soap12:Envelope>