POST api/Account/GetCashRegisterBookReport

Request Information

URI Parameters

None.

Body Parameters

pCritCashRegisterBook
NameDescriptionTypeAdditional information
branch

integer

None.

paymentType

integer

None.

account

integer

None.

company

integer

None.

fromDate

date

None.

toDate

date

None.

OpeningBalance

boolean

None.

DisplayTitles

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "branch": 1,
  "paymentType": 2,
  "account": 3,
  "company": 4,
  "fromDate": "2021-06-12T14:38:41.9467968+03:00",
  "toDate": "2021-06-12T14:38:41.9467968+03:00",
  "OpeningBalance": true,
  "DisplayTitles": true
}

application/xml, text/xml

Sample:
<BLAccounts.pCritCashRegisterBook xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Accounts">
  <DisplayTitles>true</DisplayTitles>
  <OpeningBalance>true</OpeningBalance>
  <account>3</account>
  <branch>1</branch>
  <company>4</company>
  <fromDate>2021-06-12T14:38:41.9467968+03:00</fromDate>
  <paymentType>2</paymentType>
  <toDate>2021-06-12T14:38:41.9467968+03:00</toDate>
</BLAccounts.pCritCashRegisterBook>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'pCritCashRegisterBook'.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

Collection of Object

None.

Response Formats

application/json, text/json

Sample:
[
  {},
  {}
]

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'System.Linq.EnumerableQuery`1[[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]' with data contract name 'ArrayOfanyType:http://schemas.microsoft.com/2003/10/Serialization/Arrays' is not expected. Consider using a DataContractResolver if you are using DataContractSerializer or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to the serializer.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'System.Linq.EnumerableQuery`1[[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]' with data contract name 'ArrayOfanyType:http://schemas.microsoft.com/2003/10/Serialization/Arrays' is not expected. Consider using a DataContractResolver if you are using DataContractSerializer or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to the serializer.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.