API Txn Log APIs
API for Accessing
-
-
-
Monthly API Txn Summary, etc
1. DailyTxn
Download API Txn Log for the date indicated by Query Parameter TxnDate.
HTTP Method: GET
Headers or Query Parameters:
Property
|
Description
|
Data Type
|
aspid
|
AspUserId provided by GSP.
|
String
|
asp-secret
|
Encrypt AspPassword (Asp Secret Key) provided by GSP for pass through API access, Encrypted using AspEK (received in GetKey API)
Sample:
request.AddHeader("asp-secret", AesEncryptBase64(“Asp Secret Key”,AspEK)) [Algorithm: AES/ECB/PKCS7]
|
String
|
session-id
|
SessionID. ASP may create multiple Sessions.
|
string
|
txn
|
Unique Transaction ID even if calling GSP Service API. (Requires only once, which you are already passing as requirement for GST API.)
|
string
|
appver
|
Application Name and Version calling API. (Optional but Recommended)
|
string
|
Content-Type
|
application/json; charset=utf-8
|
string
|
ip-usr
|
123.123.123.123
|
string
|
Query Parameter:
TxnDate=dd/MM/yyyy or dd-MM-yyyy or dd-MM-yy (ex: 20-05-2018)
Sample Url:
https://gstapi.charteredinfo.com/aspapi/v1.0/apitxn/dailytxn?TxnDate=20-05-2018
2. DailySummary
Download Daily API Txn Summary by Day-GSTIN-APIType for the date range indicated by Query Parameter FromDate & ToDate.
HTTP Method: GET
Headers or Query Parameters:
Property
|
Description
|
Data Type
|
aspid
|
AspUserId provided by GSP.
|
String
|
asp-secret
|
Encrypt AspPassword (Asp Secret Key) provided by GSP for pass through API access, Encrypted using AspEK (received in GetKey API)
Sample:
request.AddHeader("asp-secret", AesEncryptBase64(“Asp Secret Key”,AspEK)) [Algorithm: AES/ECB/PKCS7]
|
String
|
session-id
|
SessionID. ASP may create multiple Sessions.
|
string
|
txn
|
Unique Transaction ID even if calling GSP Service API. (Requires only once, which you are already passing as requirement for GST API.)
|
string
|
appver
|
Application Name and Version calling API. (Optional but Recommended)
|
string
|
Content-Type
|
application/json; charset=utf-8
|
string
|
ip-usr
|
123.123.123.123
|
string
|
Query Parameter:
FromDate=dd-MM-yyyy (ex: 26-05-2018)
ToDate=dd-MM-yyyy (ex: 31-05-2018)
Sample Url:
https://gstapi.charteredinfo.com/aspapi/v1.0/apitxn/dailysummary?fromdate=01-05-2018&ToDate=31-05-2018
3. MonthlySummary
Download Monthly API Txn Summary by Month-GSTIN-APIType for the date range indicated by Query Parameter FromDate & ToDate.
HTTP Method: GET
Headers or Query Parameters:
Property
|
Description
|
Data Type
|
aspid
|
AspUserId provided by GSP.
|
String
|
asp-secret
|
Encrypt AspPassword (Asp Secret Key) provided by GSP for pass through API access, Encrypted using AspEK (received in GetKey API)
Sample:
request.AddHeader("asp-secret", AesEncryptBase64(“Asp Secret Key”,AspEK)) [Algorithm: AES/ECB/PKCS7]
|
String
|
session-id
|
SessionID. ASP may create multiple Sessions.
|
string
|
txn
|
Unique Transaction ID even if calling GSP Service API. (Requires only once, which you are already passing as requirement for GST API.)
|
string
|
appver
|
Application Name and Version calling API. (Optional but Recommended)
|
string
|
Content-Type
|
application/json; charset=utf-8
|
string
|
ip-usr
|
123.123.123.123
|
string
|
Query Parameter:
FromDate=dd-MM-yyyy (ex: 01-01-2018) (Only Month part of Date is Used)
ToDate=dd-MM-yyyy (ex: 31-05-2018) (Only Month part of Date is Used)
OR
Query Parameter:
FromMonth=yyyyMM (ex: 201801 for JAN 2018)
ToMonth=yyyyMM (ex: 201805 for MAY 2018)
Sample Url:
https://gstapi.charteredinfo.com/aspapi/v1.0/apitxn/monthlysummary?FromDate=01-05-2018&ToDate=31-05-2018
OR
https://gstapi.charteredinfo.com/aspapi/v1.0/apitxn/monthlysummary?FromMonth=201801&ToMonth=201805
---------------