POST Report/ProfitandLoss

Request Information

URI Parameters

None.

Body Parameters

ReportFilter
NameDescriptionTypeAdditional information
FromDate

date

None.

ToDate

date

None.

CostCenter

string

None.

CostCenterNo

integer

None.

branches

string

None.

AccountLeval

integer

None.

IsBudget

boolean

None.

AccountWithZeroBalance

boolean

None.

CompanyId

integer

None.

BranchId

integer

None.

AccountId

integer

None.

FromAccountNo

string

None.

ToAccountNo

string

None.

AccountsList

string

None.

IsCompanyCenterialized

integer

None.

IsAdvance

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "FromDate": "2025-10-29T06:03:51.7661639+03:00",
  "ToDate": "2025-10-29T06:03:51.7661639+03:00",
  "CostCenter": "sample string 3",
  "CostCenterNo": 1,
  "branches": "sample string 4",
  "AccountLeval": 1,
  "IsBudget": true,
  "AccountWithZeroBalance": true,
  "CompanyId": 7,
  "BranchId": 8,
  "AccountId": 1,
  "FromAccountNo": "sample string 9",
  "ToAccountNo": "sample string 10",
  "AccountsList": "sample string 11",
  "IsCompanyCenterialized": 12,
  "IsAdvance": true
}

application/xml, text/xml

Sample:
<ReportFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POCO">
  <AccountId>1</AccountId>
  <AccountLeval>1</AccountLeval>
  <AccountWithZeroBalance>true</AccountWithZeroBalance>
  <AccountsList>sample string 11</AccountsList>
  <BranchId>8</BranchId>
  <CompanyId>7</CompanyId>
  <CostCenter>sample string 3</CostCenter>
  <CostCenterNo>1</CostCenterNo>
  <FromAccountNo>sample string 9</FromAccountNo>
  <FromDate>2025-10-29T06:03:51.7661639+03:00</FromDate>
  <IsAdvance>true</IsAdvance>
  <IsBudget>true</IsBudget>
  <IsCompanyCenterialized>12</IsCompanyCenterialized>
  <ToAccountNo>sample string 10</ToAccountNo>
  <ToDate>2025-10-29T06:03:51.7661639+03:00</ToDate>
  <branches>sample string 4</branches>
</ReportFilter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
ErrorCode

integer

None.

ErrorMessage

string

None.

IsScusses

boolean

None.

ResponseDetails

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "ErrorCode": 1,
  "ErrorMessage": "sample string 2",
  "IsScusses": true,
  "ResponseDetails": {}
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Accounting.API.Models">
  <ErrorCode>1</ErrorCode>
  <ErrorMessage>sample string 2</ErrorMessage>
  <IsScusses>true</IsScusses>
  <ResponseDetails />
</Response>