PUT api/Credit/Update

Request Information

URI Parameters

None.

Body Parameters

CreditUpdateDto
NameDescriptionTypeAdditional information
Name

string

None.

Amount

decimal number

None.

RemainingAmount

decimal number

None.

PaymentAmount

decimal number

None.

ExpenseAmount

decimal number

None.

RemainingInstallment

decimal number

None.

Period

CreditPeriods

None.

FirstInstallmentDate

date

None.

AccountID

globally unique identifier

None.

CurrencyID

globally unique identifier

None.

InterestRate

decimal number

None.

TotalInterestAmount

decimal number

None.

ID

globally unique identifier

Required

CompanyID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "amount": 2.1,
  "remainingAmount": 3.1,
  "paymentAmount": 4.1,
  "expenseAmount": 5.1,
  "remainingInstallment": 6.1,
  "period": 1,
  "firstInstallmentDate": "2025-05-24T15:11:35.1747819+03:00",
  "accountID": "0e47abb7-c1cc-40fa-9678-8e84384d4ba5",
  "currencyID": "84e98494-d7e4-45e8-b0ad-51efb64a9568",
  "interestRate": 8.1,
  "totalInterestAmount": 9.1,
  "id": "67a28462-eeb7-4f48-ab06-5d0d5b5b1b58",
  "companyID": "6b913379-42d6-44cd-9934-818ee237ceda"
}

application/xml, text/xml

Sample:
<CreditUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs">
  <CompanyID>6b913379-42d6-44cd-9934-818ee237ceda</CompanyID>
  <ID>67a28462-eeb7-4f48-ab06-5d0d5b5b1b58</ID>
  <AccountID>0e47abb7-c1cc-40fa-9678-8e84384d4ba5</AccountID>
  <Amount>2.1</Amount>
  <CurrencyID>84e98494-d7e4-45e8-b0ad-51efb64a9568</CurrencyID>
  <ExpenseAmount>5.1</ExpenseAmount>
  <FirstInstallmentDate>2025-05-24T15:11:35.1747819+03:00</FirstInstallmentDate>
  <InterestRate>8.1</InterestRate>
  <Name>sample string 1</Name>
  <PaymentAmount>4.1</PaymentAmount>
  <Period>EveryMonth</Period>
  <RemainingAmount>3.1</RemainingAmount>
  <RemainingInstallment>6.1</RemainingInstallment>
  <TotalInterestAmount>9.1</TotalInterestAmount>
</CreditUpdateDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"name":"sample string 1","amount":2.1,"remainingAmount":3.1,"paymentAmount":4.1,"expenseAmount":5.1,"remainingInstallment":6.1,"period":1,"firstInstallmentDate":"2025-05-24T15:11:35.1747819+03:00","accountID":"0e47abb7-c1cc-40fa-9678-8e84384d4ba5","currencyID":"84e98494-d7e4-45e8-b0ad-51efb64a9568","interestRate":8.1,"totalInterestAmount":9.1,"id":"67a28462-eeb7-4f48-ab06-5d0d5b5b1b58","companyID":"6b913379-42d6-44cd-9934-818ee237ceda"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.