PUT 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-08-04T22:36:48.9908876+03:00", "accountID": "07dbb857-838c-484f-a84c-ba5ab842e4d4", "currencyID": "fd6f9e39-5a6c-42d7-a99a-eadf0a1ba15b", "interestRate": 8.1, "totalInterestAmount": 9.1, "id": "32fa3ac4-52f8-40ed-837d-2f6892511eeb", "companyID": "69891024-8dda-4638-99f7-d572720c40c3" }
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>69891024-8dda-4638-99f7-d572720c40c3</CompanyID> <ID>32fa3ac4-52f8-40ed-837d-2f6892511eeb</ID> <AccountID>07dbb857-838c-484f-a84c-ba5ab842e4d4</AccountID> <Amount>2.1</Amount> <CurrencyID>fd6f9e39-5a6c-42d7-a99a-eadf0a1ba15b</CurrencyID> <ExpenseAmount>5.1</ExpenseAmount> <FirstInstallmentDate>2025-08-04T22:36:48.9908876+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-08-04T22:36:48.9908876+03:00","accountID":"07dbb857-838c-484f-a84c-ba5ab842e4d4","currencyID":"fd6f9e39-5a6c-42d7-a99a-eadf0a1ba15b","interestRate":8.1,"totalInterestAmount":9.1,"id":"32fa3ac4-52f8-40ed-837d-2f6892511eeb","companyID":"69891024-8dda-4638-99f7-d572720c40c3"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.