Fetch Data Prep Request
This API handles requests to fetch a data prep request from Smart Card Client by request id or correlation id.
Request Parameters description
Field # | Field name | Data type | Required | Description |
---|---|---|---|---|
1 | correlationId | string | false | Correlation ID for the data prep request generated by the Fintech CMS |
2 | requestId | string | false | Request ID for the data prep request generated by Smart Card Client |
GET /card-management/api/v1/data-prep
Authorization = Bearer Token
Sample Request
https://payment-api.k8.isw.la/card-management/api/v1/data-prep?correlationId=df901ba55b5a480c93f63f079257fcbf&requestId=90cc2b40-b517-4422-92e8-006262465eb2
Response Message field description
Field # | Field name | Description |
---|---|---|
1 | code | Internal Response Code |
2 | description | Successful or Error Message |
3 | data | Array of card data prep requests |
4 | requestId | Request Identifier from Smart Card Client |
5 | issuerCode | Issuer Code |
6 | persoCode | Perso Code |
7 | cardDataType | Card Data Type |
8 | status | Status Of Job - INVALID, COMPLETED, FAILED, IN PROGRESS |
9 | message | Successful Message or Failed Message |
10 | jobId | Job ID from Smart Card Processor |
11 | jobTemplateId | Job Template ID |
12 | jobRequestTime | Job Request Time |
13 | categorization | Categorization |
14 | clientId | Client Id of the client that raised the request |
15 | cardData | Encrypted Output Card Data to be sent to Perso Company |
Sample Response (success)
{
"code": "00",
"description": "Success",
"data": [
{
"id": 0,
"requestId": "1b19b320-a783-4f37-a7bc-f5cfb265aefb",
"issuerCode": "tst",
"persoCode": "tps",
"cardDataType": "test",
"status": "INVALID",
"message": "Card Data not available Unable to process job request.",
"jobId": 0,
"jobTemplateId": 0,
"jobRequestTime": "2023-10-24T13:16:54.493+00:00",
"categorization": "ISWQA",
"clientId": "IKIA9863935DB397BE2F1B3BD8AE0F45B66F92C6B46A"
}
]
}
Sample Response (failure)
{
"code": "400",
"description": "Please provide either requestId or correlationId as request parameters"
]
}
{
"code": "400",
"description": "Multiple Requests Found with provided parameters"
}
Updated 6 months ago