POST api/CreditAction/Update
Request Information
URI Parameters
None.
Body Parameters
CreditActionUpdateDtoName | Description | Type | Additional information |
---|---|---|---|
ExpenseAmount | decimal number |
None. |
|
Date | date |
None. |
|
Amount | decimal number |
None. |
|
IsPaid | boolean |
None. |
|
PaymentDate | date |
None. |
|
CreditID | globally unique identifier |
None. |
|
AccountID | globally unique identifier |
None. |
|
ID | globally unique identifier |
Required |
|
CompanyID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "expenseAmount": 1.1, "date": "2025-08-04T22:34:06.7573977+03:00", "amount": 3.1, "isPaid": true, "paymentDate": "2025-08-04T22:34:06.7573977+03:00", "creditID": "4e7c289c-e189-4be2-8a8a-ecdcdff2ea9d", "accountID": "05bb9ccc-bd6c-49e9-ac6e-70624ddcdf7a", "id": "da13da79-33ea-4b7b-8da6-8514a9f5f298", "companyID": "632f801d-0f75-4350-9ccb-9b81d9be53e8" }
application/xml, text/xml
Sample:
<CreditActionUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <CompanyID>632f801d-0f75-4350-9ccb-9b81d9be53e8</CompanyID> <ID>da13da79-33ea-4b7b-8da6-8514a9f5f298</ID> <AccountID>05bb9ccc-bd6c-49e9-ac6e-70624ddcdf7a</AccountID> <Amount>3.1</Amount> <CreditID>4e7c289c-e189-4be2-8a8a-ecdcdff2ea9d</CreditID> <Date>2025-08-04T22:34:06.7573977+03:00</Date> <ExpenseAmount>1.1</ExpenseAmount> <IsPaid>true</IsPaid> <PaymentDate>2025-08-04T22:34:06.7573977+03:00</PaymentDate> </CreditActionUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"expenseAmount":1.1,"date":"2025-08-04T22:34:06.7573977+03:00","amount":3.1,"isPaid":true,"paymentDate":"2025-08-04T22:34:06.7573977+03:00","creditID":"4e7c289c-e189-4be2-8a8a-ecdcdff2ea9d","accountID":"05bb9ccc-bd6c-49e9-ac6e-70624ddcdf7a","id":"da13da79-33ea-4b7b-8da6-8514a9f5f298","companyID":"632f801d-0f75-4350-9ccb-9b81d9be53e8"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.