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 nameData typeRequiredDescription
1correlationIdstringfalseCorrelation ID for the data prep request generated by the Fintech CMS
2requestIdstringfalseRequest 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 nameDescription
1codeInternal Response Code
2descriptionSuccessful or Error Message
3dataArray of card data prep requests
4requestIdRequest Identifier from Smart Card Client
5issuerCodeIssuer Code
6persoCodePerso Code
7cardDataTypeCard Data Type
8statusStatus Of Job - INVALID, COMPLETED, FAILED, IN PROGRESS
9messageSuccessful Message or Failed Message
10jobIdJob ID from Smart Card Processor
11jobTemplateIdJob Template ID
12jobRequestTimeJob Request Time
13categorizationCategorization
14clientIdClient Id of the client that raised the request
15cardDataEncrypted 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"
}