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-24T17:12:25.2380724+03:00", "amount": 3.1, "isPaid": true, "paymentDate": "2025-05-24T17:12:25.2380724+03:00", "creditID": "b092fa3e-8e95-4615-9490-2af93b782d5b", "accountID": "adde44ce-b221-482c-a244-131f6d8699c2", "id": "9f4b961a-8438-4f63-99ea-b3ec4ee0a28d", "companyID": "8b18eb09-6cc2-435c-bb11-e9e101684c28" }
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>8b18eb09-6cc2-435c-bb11-e9e101684c28</CompanyID> <ID>9f4b961a-8438-4f63-99ea-b3ec4ee0a28d</ID> <AccountID>adde44ce-b221-482c-a244-131f6d8699c2</AccountID> <Amount>3.1</Amount> <CreditID>b092fa3e-8e95-4615-9490-2af93b782d5b</CreditID> <Date>2025-05-24T17:12:25.2380724+03:00</Date> <ExpenseAmount>1.1</ExpenseAmount> <IsPaid>true</IsPaid> <PaymentDate>2025-05-24T17:12:25.2380724+03:00</PaymentDate> </CreditActionUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"expenseAmount":1.1,"date":"2025-05-24T17:12:25.2380724+03:00","amount":3.1,"isPaid":true,"paymentDate":"2025-05-24T17:12:25.2380724+03:00","creditID":"b092fa3e-8e95-4615-9490-2af93b782d5b","accountID":"adde44ce-b221-482c-a244-131f6d8699c2","id":"9f4b961a-8438-4f63-99ea-b3ec4ee0a28d","companyID":"8b18eb09-6cc2-435c-bb11-e9e101684c28"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.