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-05T21:16:13.6938149+03:00", "amount": 3.1, "isPaid": true, "paymentDate": "2025-08-05T21:16:13.6938149+03:00", "creditID": "4daf5fc0-3d42-4a07-a2d7-199fca2b33bb", "accountID": "5e145770-4433-461c-bd60-673e64ad8c24", "id": "3c5d357c-57b8-4610-9c60-b718a1d330aa", "companyID": "d9b3647a-ccc2-460a-b49a-8b9365fc25fe" }
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>d9b3647a-ccc2-460a-b49a-8b9365fc25fe</CompanyID> <ID>3c5d357c-57b8-4610-9c60-b718a1d330aa</ID> <AccountID>5e145770-4433-461c-bd60-673e64ad8c24</AccountID> <Amount>3.1</Amount> <CreditID>4daf5fc0-3d42-4a07-a2d7-199fca2b33bb</CreditID> <Date>2025-08-05T21:16:13.6938149+03:00</Date> <ExpenseAmount>1.1</ExpenseAmount> <IsPaid>true</IsPaid> <PaymentDate>2025-08-05T21:16:13.6938149+03:00</PaymentDate> </CreditActionUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"expenseAmount":1.1,"date":"2025-08-05T21:16:13.6938149+03:00","amount":3.1,"isPaid":true,"paymentDate":"2025-08-05T21:16:13.6938149+03:00","creditID":"4daf5fc0-3d42-4a07-a2d7-199fca2b33bb","accountID":"5e145770-4433-461c-bd60-673e64ad8c24","id":"3c5d357c-57b8-4610-9c60-b718a1d330aa","companyID":"d9b3647a-ccc2-460a-b49a-8b9365fc25fe"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.