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-07-08T21:43:12.3467537+03:00", "amount": 3.1, "isPaid": true, "paymentDate": "2025-07-08T21:43:12.3467537+03:00", "creditID": "f8c7ebfb-6577-4e10-adca-109105b3fc89", "accountID": "fdcc4303-9216-4ff0-86c4-2edf4d9ed6d7", "id": "239e76c4-d4b7-4dcc-ac3c-6ba6b7e5dfdf", "companyID": "605373a3-c0fe-4457-8467-c878d7a7282a" }
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>605373a3-c0fe-4457-8467-c878d7a7282a</CompanyID> <ID>239e76c4-d4b7-4dcc-ac3c-6ba6b7e5dfdf</ID> <AccountID>fdcc4303-9216-4ff0-86c4-2edf4d9ed6d7</AccountID> <Amount>3.1</Amount> <CreditID>f8c7ebfb-6577-4e10-adca-109105b3fc89</CreditID> <Date>2025-07-08T21:43:12.3467537+03:00</Date> <ExpenseAmount>1.1</ExpenseAmount> <IsPaid>true</IsPaid> <PaymentDate>2025-07-08T21:43:12.3467537+03:00</PaymentDate> </CreditActionUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"expenseAmount":1.1,"date":"2025-07-08T21:43:12.3467537+03:00","amount":3.1,"isPaid":true,"paymentDate":"2025-07-08T21:43:12.3467537+03:00","creditID":"f8c7ebfb-6577-4e10-adca-109105b3fc89","accountID":"fdcc4303-9216-4ff0-86c4-2edf4d9ed6d7","id":"239e76c4-d4b7-4dcc-ac3c-6ba6b7e5dfdf","companyID":"605373a3-c0fe-4457-8467-c878d7a7282a"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.