PUT api/Action/Update
Request Information
URI Parameters
None.
Body Parameters
ActionUpdateDtoName | Description | Type | Additional information |
---|---|---|---|
ActionType | ActionType |
None. |
|
Title | string |
None. |
|
Description | string |
None. |
|
Date | date |
None. |
|
Credit | decimal number |
None. |
|
Debt | decimal number |
None. |
|
CurrencyRate | decimal number |
None. |
|
IsCurrencyReverse | boolean |
None. |
|
CurrencyAmount | decimal number |
None. |
|
KDVAmount | decimal number |
None. |
|
CurrencyID | globally unique identifier |
None. |
|
ExpenseTypeID | globally unique identifier |
None. |
|
FromAccountID | globally unique identifier |
None. |
|
ToAccountID | globally unique identifier |
None. |
|
InvoiceID | globally unique identifier |
None. |
|
ProductStokActionID | globally unique identifier |
None. |
|
CheckAndBillID | globally unique identifier |
None. |
|
CreditActionID | globally unique identifier |
None. |
|
ServiceReceiptID | globally unique identifier |
None. |
|
IsRepeat | boolean |
None. |
|
StartDate | date |
None. |
|
EndDate | date |
None. |
|
ExpenseRepeatType | ExpenseRepeatType |
None. |
|
ExpenseRepeatDays | string |
None. |
|
SafeActionType | AccountSafeActionType |
None. |
|
SafeActionDocumentNumber | string |
None. |
|
ID | globally unique identifier |
Required |
|
CompanyID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "actionType": 1, "title": "sample string 1", "description": "sample string 2", "date": "2025-08-05T21:14:17.874055+03:00", "credit": 4.0, "debt": 5.0, "currencyRate": 6.1, "isCurrencyReverse": true, "currencyAmount": 8.0, "kdvAmount": 9.0, "currencyID": "c9f6332f-68fc-4de3-ad56-7abc100e8648", "expenseTypeID": "789a776d-9d1d-4281-883e-74994cfd679c", "fromAccountID": "c8eeee33-6716-461b-ae0f-81f5d5c039a9", "toAccountID": "977054ac-8b17-40b2-9c35-5094e8c253cd", "invoiceID": "ff44dbd0-f75f-407f-8a61-7f1e2acd65fc", "productStokActionID": "c626e151-37be-40c1-9fb7-4b9f19b8daba", "checkAndBillID": "151656eb-0f4f-4d99-bc3c-585052ca1282", "creditActionID": "ca5fff4d-5518-4a1d-903f-f26bed4b645b", "serviceReceiptID": "1de092b0-0df4-4814-a763-10e0d7b3148d", "isRepeat": true, "startDate": "2025-08-05T21:14:17.874055+03:00", "endDate": "2025-08-05T21:14:17.874055+03:00", "expenseRepeatType": 1, "expenseRepeatDays": "sample string 11", "safeActionType": 1, "safeActionDocumentNumber": "sample string 12", "id": "3f2c6c7c-1041-4179-a3fa-4441f70fe8ad", "companyID": "1983043e-dee4-4541-943e-43b483e3161e" }
application/xml, text/xml
Sample:
<ActionUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <CompanyID>1983043e-dee4-4541-943e-43b483e3161e</CompanyID> <ID>3f2c6c7c-1041-4179-a3fa-4441f70fe8ad</ID> <ActionType>CashCollection</ActionType> <CheckAndBillID>151656eb-0f4f-4d99-bc3c-585052ca1282</CheckAndBillID> <Credit>4</Credit> <CreditActionID>ca5fff4d-5518-4a1d-903f-f26bed4b645b</CreditActionID> <CurrencyAmount>8</CurrencyAmount> <CurrencyID>c9f6332f-68fc-4de3-ad56-7abc100e8648</CurrencyID> <CurrencyRate>6.1</CurrencyRate> <Date>2025-08-05T21:14:17.874055+03:00</Date> <Debt>5</Debt> <Description>sample string 2</Description> <EndDate>2025-08-05T21:14:17.874055+03:00</EndDate> <ExpenseRepeatDays>sample string 11</ExpenseRepeatDays> <ExpenseRepeatType>Monthly</ExpenseRepeatType> <ExpenseTypeID>789a776d-9d1d-4281-883e-74994cfd679c</ExpenseTypeID> <FromAccountID>c8eeee33-6716-461b-ae0f-81f5d5c039a9</FromAccountID> <InvoiceID>ff44dbd0-f75f-407f-8a61-7f1e2acd65fc</InvoiceID> <IsCurrencyReverse>true</IsCurrencyReverse> <IsRepeat>true</IsRepeat> <KDVAmount>9</KDVAmount> <ProductStokActionID>c626e151-37be-40c1-9fb7-4b9f19b8daba</ProductStokActionID> <SafeActionDocumentNumber>sample string 12</SafeActionDocumentNumber> <SafeActionType>CariOdeme</SafeActionType> <ServiceReceiptID>1de092b0-0df4-4814-a763-10e0d7b3148d</ServiceReceiptID> <StartDate>2025-08-05T21:14:17.874055+03:00</StartDate> <Title>sample string 1</Title> <ToAccountID>977054ac-8b17-40b2-9c35-5094e8c253cd</ToAccountID> </ActionUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"actionType":1,"title":"sample string 1","description":"sample string 2","date":"2025-08-05T21:14:17.874055+03:00","credit":4.0,"debt":5.0,"currencyRate":6.1,"isCurrencyReverse":true,"currencyAmount":8.0,"kdvAmount":9.0,"currencyID":"c9f6332f-68fc-4de3-ad56-7abc100e8648","expenseTypeID":"789a776d-9d1d-4281-883e-74994cfd679c","fromAccountID":"c8eeee33-6716-461b-ae0f-81f5d5c039a9","toAccountID":"977054ac-8b17-40b2-9c35-5094e8c253cd","invoiceID":"ff44dbd0-f75f-407f-8a61-7f1e2acd65fc","productStokActionID":"c626e151-37be-40c1-9fb7-4b9f19b8daba","checkAndBillID":"151656eb-0f4f-4d99-bc3c-585052ca1282","creditActionID":"ca5fff4d-5518-4a1d-903f-f26bed4b645b","serviceReceiptID":"1de092b0-0df4-4814-a763-10e0d7b3148d","isRepeat":true,"startDate":"2025-08-05T21:14:17.874055+03:00","endDate":"2025-08-05T21:14:17.874055+03:00","expenseRepeatType":1,"expenseRepeatDays":"sample string 11","safeActionType":1,"safeActionDocumentNumber":"sample string 12","id":"3f2c6c7c-1041-4179-a3fa-4441f70fe8ad","companyID":"1983043e-dee4-4541-943e-43b483e3161e"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.