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-29T12:26:51.4793278+03:00", "amount": 3.1, "isPaid": true, "paymentDate": "2025-08-29T12:26:51.4793278+03:00", "creditID": "e0a426c8-e00f-498e-9cb1-30a8075cc337", "accountID": "a9f196ca-ce63-4f3a-b806-8d4816459b0e", "id": "13dca1f7-dcc1-4840-b03c-352b66283baf", "companyID": "f60d76aa-1b48-49b1-b68f-ce8614b97ec3" }
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>f60d76aa-1b48-49b1-b68f-ce8614b97ec3</CompanyID> <ID>13dca1f7-dcc1-4840-b03c-352b66283baf</ID> <AccountID>a9f196ca-ce63-4f3a-b806-8d4816459b0e</AccountID> <Amount>3.1</Amount> <CreditID>e0a426c8-e00f-498e-9cb1-30a8075cc337</CreditID> <Date>2025-08-29T12:26:51.4793278+03:00</Date> <ExpenseAmount>1.1</ExpenseAmount> <IsPaid>true</IsPaid> <PaymentDate>2025-08-29T12:26:51.4793278+03:00</PaymentDate> </CreditActionUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"expenseAmount":1.1,"date":"2025-08-29T12:26:51.4793278+03:00","amount":3.1,"isPaid":true,"paymentDate":"2025-08-29T12:26:51.4793278+03:00","creditID":"e0a426c8-e00f-498e-9cb1-30a8075cc337","accountID":"a9f196ca-ce63-4f3a-b806-8d4816459b0e","id":"13dca1f7-dcc1-4840-b03c-352b66283baf","companyID":"f60d76aa-1b48-49b1-b68f-ce8614b97ec3"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.