POST api/Accounts/CreditDebtInstallment

Request Information

URI Parameters

None.

Body Parameters

DebtInstallmentViewModel
NameDescriptionTypeAdditional information
CurrencyAmount

decimal number

None.

CurrencyRate

decimal number

None.

CurrencyID

globally unique identifier

None.

InstallmentCount

integer

None.

FirstInstallmentDate

date

None.

DayOfMonth

integer

None.

Period

CreditPeriods

None.

ActionType

ActionType

None.

AccountID

globally unique identifier

None.

CompanyID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "currencyAmount": 1.1,
  "currencyRate": 2.1,
  "currencyID": "a1f18943-2335-486d-9659-44e93a390e36",
  "installmentCount": 4,
  "firstInstallmentDate": "2025-05-24T15:46:53.4544971+03:00",
  "dayOfMonth": 6,
  "period": 1,
  "actionType": 1,
  "accountID": "192d1c5b-d39e-496a-928f-3567002c657c",
  "companyID": "d8bc28b5-dea8-4d37-a4d1-d267f75063b1"
}

application/xml, text/xml

Sample:
<DebtInstallmentViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service">
  <AccountID>192d1c5b-d39e-496a-928f-3567002c657c</AccountID>
  <ActionType>CashCollection</ActionType>
  <CompanyID>d8bc28b5-dea8-4d37-a4d1-d267f75063b1</CompanyID>
  <CurrencyAmount>1.1</CurrencyAmount>
  <CurrencyID>a1f18943-2335-486d-9659-44e93a390e36</CurrencyID>
  <CurrencyRate>2.1</CurrencyRate>
  <DayOfMonth>6</DayOfMonth>
  <FirstInstallmentDate>2025-05-24T15:46:53.4544971+03:00</FirstInstallmentDate>
  <InstallmentCount>4</InstallmentCount>
  <Period>EveryMonth</Period>
</DebtInstallmentViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"currencyAmount":1.1,"currencyRate":2.1,"currencyID":"a1f18943-2335-486d-9659-44e93a390e36","installmentCount":4,"firstInstallmentDate":"2025-05-24T15:46:53.4544971+03:00","dayOfMonth":6,"period":1,"actionType":1,"accountID":"192d1c5b-d39e-496a-928f-3567002c657c","companyID":"d8bc28b5-dea8-4d37-a4d1-d267f75063b1"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.