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-05-24T14:57:21.9711916+03:00", "amount": 3.1, "isPaid": true, "paymentDate": "2025-05-24T14:57:21.9711916+03:00", "creditID": "6758bf78-ba71-45de-92a4-3d6628c22e65", "accountID": "e91d745c-692c-471c-b32f-03bc8c40fecc", "id": "710732d2-3739-4a63-ba92-eed09420bdb1", "companyID": "349f0f31-e47c-4a24-929b-5c54956c494b" }
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>349f0f31-e47c-4a24-929b-5c54956c494b</CompanyID> <ID>710732d2-3739-4a63-ba92-eed09420bdb1</ID> <AccountID>e91d745c-692c-471c-b32f-03bc8c40fecc</AccountID> <Amount>3.1</Amount> <CreditID>6758bf78-ba71-45de-92a4-3d6628c22e65</CreditID> <Date>2025-05-24T14:57:21.9711916+03:00</Date> <ExpenseAmount>1.1</ExpenseAmount> <IsPaid>true</IsPaid> <PaymentDate>2025-05-24T14:57:21.9711916+03:00</PaymentDate> </CreditActionUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"expenseAmount":1.1,"date":"2025-05-24T14:57:21.9711916+03:00","amount":3.1,"isPaid":true,"paymentDate":"2025-05-24T14:57:21.9711916+03:00","creditID":"6758bf78-ba71-45de-92a4-3d6628c22e65","accountID":"e91d745c-692c-471c-b32f-03bc8c40fecc","id":"710732d2-3739-4a63-ba92-eed09420bdb1","companyID":"349f0f31-e47c-4a24-929b-5c54956c494b"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.