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-29T12:26:46.9793537+03:00", "amount": 3.1, "isPaid": true, "paymentDate": "2025-08-29T12:26:46.9793537+03:00", "creditID": "7c9459e2-daf4-4fd6-bf41-4dede92463dd", "accountID": "068d9a3d-e366-4517-93f2-c8743f8b0f45", "id": "1d193b07-1505-4c5e-a7e2-408d26f0f9b3", "companyID": "051fc982-2610-4e67-a414-679691250763" }
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>051fc982-2610-4e67-a414-679691250763</CompanyID> <ID>1d193b07-1505-4c5e-a7e2-408d26f0f9b3</ID> <AccountID>068d9a3d-e366-4517-93f2-c8743f8b0f45</AccountID> <Amount>3.1</Amount> <CreditID>7c9459e2-daf4-4fd6-bf41-4dede92463dd</CreditID> <Date>2025-08-29T12:26:46.9793537+03:00</Date> <ExpenseAmount>1.1</ExpenseAmount> <IsPaid>true</IsPaid> <PaymentDate>2025-08-29T12:26:46.9793537+03:00</PaymentDate> </CreditActionUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"expenseAmount":1.1,"date":"2025-08-29T12:26:46.9793537+03:00","amount":3.1,"isPaid":true,"paymentDate":"2025-08-29T12:26:46.9793537+03:00","creditID":"7c9459e2-daf4-4fd6-bf41-4dede92463dd","accountID":"068d9a3d-e366-4517-93f2-c8743f8b0f45","id":"1d193b07-1505-4c5e-a7e2-408d26f0f9b3","companyID":"051fc982-2610-4e67-a414-679691250763"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.