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-04T22:34:56.7374895+03:00", "amount": 3.1, "isPaid": true, "paymentDate": "2025-08-04T22:34:56.7374895+03:00", "creditID": "f389d513-dddc-4e66-aadd-22e97710c42d", "accountID": "28cbe11c-3374-45a5-b04e-ea584a9c22c2", "id": "f9e02941-f8d4-4a24-8e2f-debb6ec2afd5", "companyID": "84cb91f5-c433-4e1e-8296-b7f8e54195f1" }
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>84cb91f5-c433-4e1e-8296-b7f8e54195f1</CompanyID> <ID>f9e02941-f8d4-4a24-8e2f-debb6ec2afd5</ID> <AccountID>28cbe11c-3374-45a5-b04e-ea584a9c22c2</AccountID> <Amount>3.1</Amount> <CreditID>f389d513-dddc-4e66-aadd-22e97710c42d</CreditID> <Date>2025-08-04T22:34:56.7374895+03:00</Date> <ExpenseAmount>1.1</ExpenseAmount> <IsPaid>true</IsPaid> <PaymentDate>2025-08-04T22:34:56.7374895+03:00</PaymentDate> </CreditActionUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"expenseAmount":1.1,"date":"2025-08-04T22:34:56.7374895+03:00","amount":3.1,"isPaid":true,"paymentDate":"2025-08-04T22:34:56.7374895+03:00","creditID":"f389d513-dddc-4e66-aadd-22e97710c42d","accountID":"28cbe11c-3374-45a5-b04e-ea584a9c22c2","id":"f9e02941-f8d4-4a24-8e2f-debb6ec2afd5","companyID":"84cb91f5-c433-4e1e-8296-b7f8e54195f1"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.