POST api/CheckAndBill/CollectionPayment

Request Information

URI Parameters

None.

Body Parameters

CheckAndBillCollectionPaymentDto
NameDescriptionTypeAdditional information
IsCollection

boolean

None.

AccountType

AccountType

None.

CheckAndBillId

globally unique identifier

None.

FromAccountID

globally unique identifier

None.

ToAccountID

globally unique identifier

None.

Date

date

None.

CurrencyAmount

decimal number

None.

IsFactoring

boolean

None.

ExpenseAccountID

globally unique identifier

None.

ExpenseAmount

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "isCollection": true,
  "accountType": 7,
  "checkAndBillId": "20d99e1c-bf2b-48fe-b9f8-f5ff7cdbe241",
  "fromAccountID": "811c232f-37ed-4412-8632-f5cb5478916d",
  "toAccountID": "8cf0210f-e909-47e7-9fa0-88421ec534b7",
  "date": "2025-05-24T14:48:53.1981639+03:00",
  "currencyAmount": 6.1,
  "isFactoring": true,
  "expenseAccountID": "d1099f87-94b5-4a2d-b66b-4e685d0253f3",
  "expenseAmount": 8.1
}

application/xml, text/xml

Sample:
<CheckAndBillCollectionPaymentDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs">
  <AccountType>Expense</AccountType>
  <CheckAndBillId>20d99e1c-bf2b-48fe-b9f8-f5ff7cdbe241</CheckAndBillId>
  <CurrencyAmount>6.1</CurrencyAmount>
  <Date>2025-05-24T14:48:53.1981639+03:00</Date>
  <ExpenseAccountID>d1099f87-94b5-4a2d-b66b-4e685d0253f3</ExpenseAccountID>
  <ExpenseAmount>8.1</ExpenseAmount>
  <FromAccountID>811c232f-37ed-4412-8632-f5cb5478916d</FromAccountID>
  <IsCollection>true</IsCollection>
  <IsFactoring>true</IsFactoring>
  <ToAccountID>8cf0210f-e909-47e7-9fa0-88421ec534b7</ToAccountID>
</CheckAndBillCollectionPaymentDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"isCollection":true,"accountType":7,"checkAndBillId":"20d99e1c-bf2b-48fe-b9f8-f5ff7cdbe241","fromAccountID":"811c232f-37ed-4412-8632-f5cb5478916d","toAccountID":"8cf0210f-e909-47e7-9fa0-88421ec534b7","date":"2025-05-24T14:48:53.1981639+03:00","currencyAmount":6.1,"isFactoring":true,"expenseAccountID":"d1099f87-94b5-4a2d-b66b-4e685d0253f3","expenseAmount":8.1}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, text/html

Sample:

Sample not available.