Skip to main content

Listing Current Account Transactions

Description

Used to query current account transactions either individually or as a paginated list.

Single Query

  • Endpoint: /cat/cat?erpCode={erpCode}
  • Method: GET

Listing

  • Endpoint: /cat/cat/list?page=1&pageSize=98
  • Method: GET

Query Parameters

ParameterRequiredFormatDescription
IdConditionalGuidUsed to retrieve a single record.
ErpCodeConditionalStringUsed to retrieve a single record. Has priority if Id is not provided.
PageNoIntegerPage number to retrieve. (Default: 1)
PageSizeNoIntegerNumber of records per page. (Default: 10)

Behavior Rules

  • Single Query: If one of the Id or ErpCode parameters is provided, only the details of that record are returned.
  • Listing: If Id and ErpCode are left empty, the system returns a paginated list based on Page and PageSize. Retrieving all records at once is not allowed.

Request Example

  • Header: Authorization: Bearer {token}, Content-Type: application/json
  • Body: JSON

Request Example (Single Query) GET /cat/cat?erpCode=CAT123456

{  
"erpCode": "7044dac0-bbb3-4845-a316-702e2702b1673",
"accountErpCode": "441B3BF1-8F5F-4CCD-A116-7CD90D3E4C04",
"amount": 1550.0000,
"currencyCode": "TRY",
"transactionDate": null,
"dueDate": "2025-09-20T00:00:00",
"description": "test cat"
}

Request Example (Listing) GET /cat/cat/list?page=1&pageSize=98

{  
"data": [
{
"erpCode": "",
"accountErpCode": "jhj hhh",
"amount": -111.0000,
"currencyCode": "TRY",
"transactionDate": "2025-10-01T10:44:36",
"dueDate": "2025-10-04T10:44:38",
"description": ""
},
{
"erpCode": "593be506-e384-44d2-8c4c-3ffb3dc4d304",
"accountErpCode": "D915B2D3-3451-44CD-9E4B-777711565143",
"amount": 1525.0000,
"currencyCode": "TRY",
"transactionDate": null,
"dueDate": "2025-09-05T07:50:01.961",
"description": "test cat 3"
},
{
"erpCode": "CFDA782E-378D-4CAD-A749-4178B9E87458",
"accountErpCode": "D915B2D3-3451-44CD-9E4B-777711565143",
"amount": 100.0000,
"currencyCode": "TRY",
"transactionDate": "2025-01-15T18:04:03",
"dueDate": "2025-01-15T18:04:05",
"description": ""
},
]
}