GET api/StkTransAccount

Retrieve stock transactions basic info for specific account or document number

Request Information

URI Parameters

None.

Body Parameters

StkTransAccountReq
NameDescriptionTypeAdditional information
Company

The company name

string

Required

String length: inclusive between 0 and 6

AccountCode

The account code. Provide at least an AccountCode or a DocNo or a DocType

string

Required

String length: inclusive between 0 and 15

DocNo

The document number. Provide at least an AccountCode or a DocNo or a DocType

string

Required

String length: inclusive between 0 and 15

DocType

The document type. Provide at least an AccountCode or a DocNo or a DocType

string

Required

String length: inclusive between 0 and 3

Date

Optional filter. Get transactions created after the given date

date

None.

PageSize

Optional paging parameter. Return x records per page

integer

None.

PageNumber

Optional paging parameter. Number of page to return

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Company": "DEMO",
  "AccountCode": "320001",
  "DocNo": "SAL0000001",
  "DocType": null,
  "Date": "0001-01-01T00:00:00",
  "PageSize": 0,
  "PageNumber": 0
}

Response Information

Resource Description

StkTransAccountRes
NameDescriptionTypeAdditional information
MsgControl

Contains information about the response

MsgControl

None.

Documents

The stock transaction basic info

Collection of Document

None.

Response Formats

application/json, text/json

Sample:
{
  "MsgControl": {
    "result": 0,
    "Message": "Corresponding success and error message",
    "MethodName": "api/StockTransAccount GET",
    "AppName": "EsoftWebApi",
    "EsoftUser": "ESOFT",
    "User": "Username",
    "Password": "Password",
    "SystemDate": "2025-01-06T22:32:15.1876806+02:00",
    "GenList": [],
    "GenMsg1": "",
    "GenMsg2": "",
    "GenMsg3": ""
  },
  "Documents": [
    {
      "DocNo": "SAL001",
      "DocType": "SAL",
      "AccountCode": "320001",
      "AccountName": "",
      "Amount": 10.05,
      "DocDate": "2025-01-06T20:32:15.1876806Z",
      "H5": "HeaderAnalysis5"
    },
    {
      "DocNo": "SAL002",
      "DocType": "SAL",
      "AccountCode": null,
      "AccountName": null,
      "Amount": 1000.0,
      "DocDate": "2025-01-06T20:32:15.1876806Z",
      "H5": null
    }
  ]
}