POST 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-07-08T21:08:51.2563504+03:00", "credit": 4.0, "debt": 5.0, "currencyRate": 6.1, "isCurrencyReverse": true, "currencyAmount": 8.0, "kdvAmount": 9.0, "currencyID": "486b9343-fbf9-43b4-a7d7-afc3c83a5617", "expenseTypeID": "71175ff1-37ec-46ba-8840-d7d169ec8481", "fromAccountID": "2d3b93f5-b78c-4fea-861d-71411f3dc911", "toAccountID": "03e7a163-4f4b-4b09-8ad3-fccf7d5e309d", "invoiceID": "9e12bc51-1f85-4fa5-b511-dbd26db0ca3b", "productStokActionID": "0b6553ae-498b-4c37-bfd1-1b67546e5acf", "checkAndBillID": "891dae75-fc1c-4bbb-a511-800bf89a5ed1", "creditActionID": "82ad5337-c7dd-4978-a99b-cc2970a17e24", "serviceReceiptID": "87ee639c-e674-42b9-8d5e-ff5d638d1cee", "isRepeat": true, "startDate": "2025-07-08T21:08:51.2563504+03:00", "endDate": "2025-07-08T21:08:51.2563504+03:00", "expenseRepeatType": 1, "expenseRepeatDays": "sample string 11", "safeActionType": 1, "safeActionDocumentNumber": "sample string 12", "id": "325d6b25-a707-4ead-a283-a662dbb31d88", "companyID": "63e0e887-c380-4851-9a04-ab1d42cecda1" }
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>63e0e887-c380-4851-9a04-ab1d42cecda1</CompanyID> <ID>325d6b25-a707-4ead-a283-a662dbb31d88</ID> <ActionType>CashCollection</ActionType> <CheckAndBillID>891dae75-fc1c-4bbb-a511-800bf89a5ed1</CheckAndBillID> <Credit>4</Credit> <CreditActionID>82ad5337-c7dd-4978-a99b-cc2970a17e24</CreditActionID> <CurrencyAmount>8</CurrencyAmount> <CurrencyID>486b9343-fbf9-43b4-a7d7-afc3c83a5617</CurrencyID> <CurrencyRate>6.1</CurrencyRate> <Date>2025-07-08T21:08:51.2563504+03:00</Date> <Debt>5</Debt> <Description>sample string 2</Description> <EndDate>2025-07-08T21:08:51.2563504+03:00</EndDate> <ExpenseRepeatDays>sample string 11</ExpenseRepeatDays> <ExpenseRepeatType>Monthly</ExpenseRepeatType> <ExpenseTypeID>71175ff1-37ec-46ba-8840-d7d169ec8481</ExpenseTypeID> <FromAccountID>2d3b93f5-b78c-4fea-861d-71411f3dc911</FromAccountID> <InvoiceID>9e12bc51-1f85-4fa5-b511-dbd26db0ca3b</InvoiceID> <IsCurrencyReverse>true</IsCurrencyReverse> <IsRepeat>true</IsRepeat> <KDVAmount>9</KDVAmount> <ProductStokActionID>0b6553ae-498b-4c37-bfd1-1b67546e5acf</ProductStokActionID> <SafeActionDocumentNumber>sample string 12</SafeActionDocumentNumber> <SafeActionType>CariOdeme</SafeActionType> <ServiceReceiptID>87ee639c-e674-42b9-8d5e-ff5d638d1cee</ServiceReceiptID> <StartDate>2025-07-08T21:08:51.2563504+03:00</StartDate> <Title>sample string 1</Title> <ToAccountID>03e7a163-4f4b-4b09-8ad3-fccf7d5e309d</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-07-08T21:08:51.2563504+03:00","credit":4.0,"debt":5.0,"currencyRate":6.1,"isCurrencyReverse":true,"currencyAmount":8.0,"kdvAmount":9.0,"currencyID":"486b9343-fbf9-43b4-a7d7-afc3c83a5617","expenseTypeID":"71175ff1-37ec-46ba-8840-d7d169ec8481","fromAccountID":"2d3b93f5-b78c-4fea-861d-71411f3dc911","toAccountID":"03e7a163-4f4b-4b09-8ad3-fccf7d5e309d","invoiceID":"9e12bc51-1f85-4fa5-b511-dbd26db0ca3b","productStokActionID":"0b6553ae-498b-4c37-bfd1-1b67546e5acf","checkAndBillID":"891dae75-fc1c-4bbb-a511-800bf89a5ed1","creditActionID":"82ad5337-c7dd-4978-a99b-cc2970a17e24","serviceReceiptID":"87ee639c-e674-42b9-8d5e-ff5d638d1cee","isRepeat":true,"startDate":"2025-07-08T21:08:51.2563504+03:00","endDate":"2025-07-08T21:08:51.2563504+03:00","expenseRepeatType":1,"expenseRepeatDays":"sample string 11","safeActionType":1,"safeActionDocumentNumber":"sample string 12","id":"325d6b25-a707-4ead-a283-a662dbb31d88","companyID":"63e0e887-c380-4851-9a04-ab1d42cecda1"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.