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-05-24T17:16:36.6838811+03:00", "amount": 3.1, "isPaid": true, "paymentDate": "2025-05-24T17:16:36.6838811+03:00", "creditID": "c3b78371-f0e0-4597-b787-7e4057a87d89", "accountID": "2b387394-f45c-4a7e-8ca4-dc68a3077d90", "id": "1e7197ed-17c6-4e79-a4d1-9a112091944f", "companyID": "a8d64f56-f1b3-44bd-b18f-079dd92366a9" }
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>a8d64f56-f1b3-44bd-b18f-079dd92366a9</CompanyID> <ID>1e7197ed-17c6-4e79-a4d1-9a112091944f</ID> <AccountID>2b387394-f45c-4a7e-8ca4-dc68a3077d90</AccountID> <Amount>3.1</Amount> <CreditID>c3b78371-f0e0-4597-b787-7e4057a87d89</CreditID> <Date>2025-05-24T17:16:36.6838811+03:00</Date> <ExpenseAmount>1.1</ExpenseAmount> <IsPaid>true</IsPaid> <PaymentDate>2025-05-24T17:16:36.6838811+03:00</PaymentDate> </CreditActionUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"expenseAmount":1.1,"date":"2025-05-24T17:16:36.6838811+03:00","amount":3.1,"isPaid":true,"paymentDate":"2025-05-24T17:16:36.6838811+03:00","creditID":"c3b78371-f0e0-4597-b787-7e4057a87d89","accountID":"2b387394-f45c-4a7e-8ca4-dc68a3077d90","id":"1e7197ed-17c6-4e79-a4d1-9a112091944f","companyID":"a8d64f56-f1b3-44bd-b18f-079dd92366a9"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.