POST api/Credit/Update
Request Information
URI Parameters
None.
Body Parameters
CreditUpdateDtoName | Description | Type | Additional 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-07-08T21:53:48.1322472+03:00", "accountID": "fbc0377d-b3e7-4678-8f1c-77d10cf180e4", "currencyID": "33591be0-e960-4ea4-a627-c266d90b89b4", "interestRate": 8.1, "totalInterestAmount": 9.1, "id": "ce0d442f-c1d8-4ab8-8c8e-01f1b077fe3c", "companyID": "5a1bc4ec-e554-4393-9bfc-4514b1dcd344" }
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>5a1bc4ec-e554-4393-9bfc-4514b1dcd344</CompanyID> <ID>ce0d442f-c1d8-4ab8-8c8e-01f1b077fe3c</ID> <AccountID>fbc0377d-b3e7-4678-8f1c-77d10cf180e4</AccountID> <Amount>2.1</Amount> <CurrencyID>33591be0-e960-4ea4-a627-c266d90b89b4</CurrencyID> <ExpenseAmount>5.1</ExpenseAmount> <FirstInstallmentDate>2025-07-08T21:53:48.1322472+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-07-08T21:53:48.1322472+03:00","accountID":"fbc0377d-b3e7-4678-8f1c-77d10cf180e4","currencyID":"33591be0-e960-4ea4-a627-c266d90b89b4","interestRate":8.1,"totalInterestAmount":9.1,"id":"ce0d442f-c1d8-4ab8-8c8e-01f1b077fe3c","companyID":"5a1bc4ec-e554-4393-9bfc-4514b1dcd344"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.