SADAD Enquiry

Retrieve bill details for the SADAD bill and MOIs

SingleView ERP Integration API's Payment service allows you to retrieve SADAD Bill & MOI amounts through the svSadadEnqService.

Fetch SADAD Enquiry

Endpoint details

Endpoint URLMethodAuthentication requirements
/v1/api/erp/svSadadEnqServicePOST1/. clientid
2. clientsecret
3. signature

Sample Request

A request in the following format should be posted to the above mentioned Endpoint with valid authentication details:

curl --location --request POST 'https://servicesuat.onesingleview.com/v1/api/erp/svSadadEnqService' \
--header 'clientid: Enter_Client_ID' \
--header 'clientsecret: Enter_Client_Secret' \
--header 'signature: Enter_Signature' \
--header 'Content-Type: application/json' \
--header 'logsource: Web' \
--data '{
"svSadadEnqServiceRQ": {
  "groupCode": "1000",
  "company": [
    {
      "companyCode": "1101",
      "userName": "sayeed_7612",
      "enquiry": [
        {
          "type": "bill",
          "acERPcode": "1110",
          "subscriberNumber": "7525306001",
          "billCode": "010"
        },
        {
          "type": "moi",
          "acERPcode": "1333",
          "subscriberNumber": "7525306001",
          "billCode": "010",
          "RequestType": "",
          "ID": "",
          "Duration": "",
          "SponsorID": "",
          "JobCategory": "",
          "NoOfDependent": "",
          "EventActualDate": "",
          "CitizenId": "",
          "LicenseType": "",
          "PassportType": "",
          "VehicleSequence": "",
          "NewOwnerId": "",
          "VehicleCustomCardNumber": "",
          "RegistrationType": "",
          "BodyType": "",
          "VisaCount": "",
          "VisaType": "",
          "VisaNumber": "",
          "IssuanceReason": "",
          "CardVersionNumber": "",
          "VerdictNumber": "",
          "ViolationID": ""
        }
      ]
    }
  ]
}
}'

Request details:

JSON TagDescriptionData type
clientid
Mandatory
Unique client identification details
Length of input:
Min 3 Characters
Max 20 Characters
String
clientsecret
Mandatory
Unique client secret code
Length of input:
Min 3 Characters
Max 20 Characters
String
signature
Mandatory
64-Bit string obtained by processing client signature key through Base-64 and SHA-256String
svSadadEnqServiceRQ
Mandatory
Tag carrying information on request to create SADAD enquiry requestObject
company
Mandatory
Tag carrying information on company for creation of paymentObject/Array
companyCode
Mandatory
Unique identification code of the company
Length of input:
Min 3 Characters
Max 20 Characters
String
userName
Mandatory
SingleView account's Username
Length of input:
Min 3 Characters
Max 20 Characters
String
enquiry
Mandatory
Tag carrying the information on SADAD enquiry requestObject/Array
type
Mandatory
Type of record for SADAD enquiry to be among bill or moiString
acERPcode
Mandatory
Unique ERP code assigned to the bank account
Length of input:
Min 3 Characters
Max 20 Characters
Numerical
subscriberNumber
Mandatory
Unique subscriber number for the requested SADAD Bill/MOI
Length of input:
Min 3 Characters
Max 20 Characters
Numerical
billCode
Mandatory
Unique bill identification code of the requested SADAD Bill/MOI
Length of input:
Min 3 Characters
Max 20 Characters
Numerical
RequestType
Conditional
Details on the request type of the SADAD MOINumerical
ID
Conditional
Unique identification details of the owner for the requested SADAD MOI
Length of input:
Min 3 Characters
Max 20 Characters
Numerical
Duration
Conditional
Duration of the identification mentionedNumerical
SponsorID
Conditional
Unique identification details of the sponsor
Length of input:
Min 3 Characters
Max 20 Characters
Numerical
JobCategory
Conditional
Job category of the applicant or SADAD MOI applicantNumerical
NoOfDependent
Conditional
Number of dependents related to the SADAD MOI applicantNumerical
EventActualDate
Conditional
Date representing the event occurred onString
CitizenId
Conditional
Unique citizen identification details of the SADAD MOI applicantNumerical
LicenseType
Conditional
Type of license held by the SADAD MOI applicantNumerical
PassportType
Conditional
Type of passport held by the SADAD MOI applicantNumerical
VehicleSequence
Conditional
Sequence number of the vehicle held by the SADAD MOI applicant Numerical
NewOwnerId
Conditional
New owner identification detailsNumerical
VehicleCustomCardNumber
Conditional
Identification number of vehicle custom cardNumerical
RegistrationType
Conditional
Type of registration of the vehicle held by the SADAD MOI applicantString
BodyType
Conditional
Body type of the vehicle held by the SADAD MOI applicantNumerical
VisaCount
Conditional
Count of visa's of the SADAD MOI applicantNumerical
VisaType
Conditional
Type of visa held by the SADAD MOI applicant
Length of input:
Min 3 Characters
Max 20 Characters
String
VisaNumber
Conditional
Visa identification number held by the SADAD MOI applicant
Length of input:
Min 3 Characters
Max 20 Characters
Numerical
IssuanceReason
Conditional
Reason of vehicle issuance
Length of input:
Min 3 Characters
Max 35 Characters
String
CardVersionNumber
Conditional
Unique version number of the card
Length of input:
Min 3 Characters
Max 20 Characters
Numerical
VerdictNumber
Conditional
Unique verdict identification number
Length of input:
Min 3 Characters
Max 20 Characters
Numerical
ViolationID
Conditional
Unique violation identification details
Length of input:
Min 3 Characters
Max 20 Characters
Numerical

Sample Response

Upon processing of the request and finding of valid authentication details, you'll get the following success response:

{
  "svSadadEnqServiceRS": {
    "company": [
      {
        "companyCode": "1101",
        "userName": "sayeed_7612",
        "enquiryRes": [
          {
            "type": "bill",
            "acERPcode": "1110",
            "subscriberNumber": "7525306001",
            "billCode": "010",
            "dueDate": "20200709",
            "enqSuccess": "OK",
            "AmountDue": 1372,
            "serviceType": "GOVT",
            "amount": 1372
          },
          {
            "type": "moi",
            "acERPcode": "1333",
            "subscriberNumber": "7525306001",
            "billCode": "010",
            "AmountDue": 200,
            "FeeDetails": "",
            "FeeReferenceId": "",
            "SadadReferenceId": "",
            "GroupPayId": ""
          }
        ]
      }
    ]
  }
}

Response description:

JSON TagDescriptionData type
svSadadEnqServiceRSTag representing the response for SADAD enquiry servicesObject
companyTag carrying information on companies included in the responseObject
companyCodeUnique company identification codeString
userNameSingleView account's usernameString
enquiryResArray of SADAD bill/MOI records included in the requestArray
typeType of SADAD enquiry record among bill or moiString
acERPcodeUnique ERP code assigned to the bank accountNumerical
subscriberNumberUnique subscriber identification number of the bill/MOINumerical
billCodeUnique bill code of the SADAD bill/MOINumerical
for type=billdueDate - Due date of the SADAD billDate
enqSuccess - Status about the processing of the enquiry requestNumerical
AmountDue - Amount due for the SADAD billNumerical
serviceType - Type of service obtained fromString
amount - Total amount of the serviceNumerical
for type=moiAmountDue - Total amount due for the MOI serviceNumerical
FeeDetails - Fee details on the MOI serviceString
FeeReferenceId - Unique reference identification details for the MOI service feesAlphanumeric
SadadReferenceId - Unique SADAD MOI reference identification numberAlphanumeric
GroupPayId - Unique group payment identification detailsNumerical