• Register

Card Contact Details

Version: Beta

This API will return list of contact details, below are the detailed specifications of this API.

Request parameters:

Node

Child Node

Type 

Max

Description

Remarks

header

msg_id

String

12

Unique Source Message ID

Mandatory

msg_type

String

12

Request Type

Default: "ENQUIRY"

Mandatory

msg_function

String

50

Function name to be used

Default: "REQ_CARD_CONTACT_DETAILS"

Mandatory

src_application

String

10

Source requesting channel

Ex: IVR

Mandatory

target_application 

String

10

Target application name

Ex. : "PCMS"

Mandatory

timestamp

String

30

Timestamp of the request

Format  “DD/MM/YYYY HH:MM:SS”

Mandatory

tracking_id

String

15

N/A

Optional

bank_id

String

4

Source Bank Id Ex: bankID

Mandatory

body

card_identifier_id

String

32

454545XXXXXX1234

Mandatory

card_identifier_type String 20 CONTRACT_NUMBER  or EXID Mandatory
Request Json
{
    "NISrvRequest": {
        "request_card_contact_details": {
            "header": {
                "msg_id": "1143909",
                "msg_type": "ENQUIRY",
                "msg_function": "REQ_CARD_CONTACT_DETAILS",
                "src_application": "IVR",
                "target_application": "DCMS",
                "timestamp": "198-07-2023:13:11:43",
                "tracking_id": "1117909",
                "bank_id": "NIC",
                "instance_id": "1212121"
            },
            "body": {
                "card_identifier_type": "EXID",
                "card_identifier_id": "99984100173673651684"
            }
        }
    }
}

Response Parameters:

Node Child Node Type   Max Description Remarks
header msg_id  String  12 The msg_id sent in the request will be sent back in response in this field.Unique Source Message ID e.g. “ada123456fdsf” Mandatory
msg_type String 12 msg_type sent in the request will be sent back in response in this field. Mandatory
msg_function String 50 Default: “REP_CARD_CONTACT_DETAILS Mandatory
src_application     The src_application sent in the request will be sent back in response in this field. Mandatory
String 10
target_application      The target_application sent in the request will be sent back in response in this field. Mandatory
String 10
timestamp     Timestamp of the response Mandatory
String 30 Date & time. Format  “DD/MM/YYYY HH:MM:SS”
tracking_id String 15 N/A Optional
bank_id   4 The bank_id sent in the request will be sent back in response in this field.  Mandatory
String
Exception_details application_name String 20 Application Name Mandatory
date_time   30 Timestamp of the response Mandatory
String Format “DD/MM/YYYY HH:MM:SS”
status   1 Status of the request (S/F) Mandatory
String Success- S,  Failure - F
error_code String 4 EAI Internal Error Code (Check error codes section for the complete list of error codes and error code descriptions) Mandatory
error_description String 100 Error Description (Check error codes section for the complete list of error codes and error code descriptions) Mandatory
transaction_ref_id String 20 The tracking_id sent in the request will be sent back in response in this field. Optional
body card_identifier_id
String 32 454545XXXXXX1234 Mandatory
card_identifier_type String 20 CONTRACT_NUMBER  or EXID Mandatory
contact_details mobile_phone string 32 Mobile Number Mandatory
customer_id String 20 customer Id Mandatory
email String 255 Email Id Mandatory
language String 3 Language code Mandatory
Response Json
{
    "NISrvResponse": {
        "response_card_contact_details": {
            "header": {
                "msg_id": "1143909",
                "msg_type": "ENQUIRY",
                "msg_function": "REQ_CARD_CONTACT_DETAILS",
                "src_application": "IVR",
                "target_application": "DCMS",
                "timestamp": "198-07-2023:13:11:43",
                "tracking_id": "1117909",
                "bank_id": "NIC",
                "instance_id": "1212121"
            },
            "exception_details": {
                "application_name": "TCC-ADP",
                "date_time": "2023-07-19T17:58:26.288+04:00",
                "status": "S",
                "error_code": "000",
                "error_description": "Success"
            },
            "body": {
                "card_identifier_id": "99984100173673651684",
                "card_identifier_type": "EXID",
                "contact_details": [
                    {
                        "mobile_phone": "05623435656",
                        "customer_id": "000098218016",
                        "email": "myemailid@gmail.com",
                        "language": "ENGLISH"
                    }
                ]
            }
        }
    }
}

Docs Navigation