PUT 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-05T21:16:44.4473142+03:00", "amount": 3.1, "isPaid": true, "paymentDate": "2025-08-05T21:16:44.4473142+03:00", "creditID": "4e33b5d9-b3b1-41fc-9754-8d51f5d18c3d", "accountID": "e82893c3-68d3-4458-90a1-2efd10955961", "id": "b86edd0e-16ce-48a8-a2cc-c466093ba617", "companyID": "7f1f2b48-f16a-442c-8534-27fdabb00c43" }
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>7f1f2b48-f16a-442c-8534-27fdabb00c43</CompanyID> <ID>b86edd0e-16ce-48a8-a2cc-c466093ba617</ID> <AccountID>e82893c3-68d3-4458-90a1-2efd10955961</AccountID> <Amount>3.1</Amount> <CreditID>4e33b5d9-b3b1-41fc-9754-8d51f5d18c3d</CreditID> <Date>2025-08-05T21:16:44.4473142+03:00</Date> <ExpenseAmount>1.1</ExpenseAmount> <IsPaid>true</IsPaid> <PaymentDate>2025-08-05T21:16:44.4473142+03:00</PaymentDate> </CreditActionUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"expenseAmount":1.1,"date":"2025-08-05T21:16:44.4473142+03:00","amount":3.1,"isPaid":true,"paymentDate":"2025-08-05T21:16:44.4473142+03:00","creditID":"4e33b5d9-b3b1-41fc-9754-8d51f5d18c3d","accountID":"e82893c3-68d3-4458-90a1-2efd10955961","id":"b86edd0e-16ce-48a8-a2cc-c466093ba617","companyID":"7f1f2b48-f16a-442c-8534-27fdabb00c43"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.