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-05-24T16:56:32.4475243+03:00", "credit": 4.0, "debt": 5.0, "currencyRate": 6.1, "isCurrencyReverse": true, "currencyAmount": 8.0, "kdvAmount": 9.0, "currencyID": "3459fb09-d850-4441-9e53-2c71352b1791", "expenseTypeID": "93930447-72f3-405c-8e44-a914f0e2e509", "fromAccountID": "5823743c-1719-42b0-a5fd-eb6bdf1f9ee1", "toAccountID": "a1e55495-403f-49bb-afb4-99fbda8fa6aa", "invoiceID": "b964bc36-e4d9-45ab-aadd-9a8ac54e4c58", "productStokActionID": "55dd131a-533e-4d51-a0e5-4821c5a8cda3", "checkAndBillID": "e7075747-889e-49be-80d2-7a267362165e", "creditActionID": "2b70880a-33f2-4750-8280-4dea73b0be72", "serviceReceiptID": "11af9aad-2c37-4294-a738-d66ab057a55f", "isRepeat": true, "startDate": "2025-05-24T16:56:32.4475243+03:00", "endDate": "2025-05-24T16:56:32.4475243+03:00", "expenseRepeatType": 1, "expenseRepeatDays": "sample string 11", "safeActionType": 1, "safeActionDocumentNumber": "sample string 12", "id": "42026263-fa61-4ca9-9646-2605d4589629", "companyID": "2d4b3496-7434-4d62-a4f5-935271196669" }
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>2d4b3496-7434-4d62-a4f5-935271196669</CompanyID> <ID>42026263-fa61-4ca9-9646-2605d4589629</ID> <ActionType>CashCollection</ActionType> <CheckAndBillID>e7075747-889e-49be-80d2-7a267362165e</CheckAndBillID> <Credit>4</Credit> <CreditActionID>2b70880a-33f2-4750-8280-4dea73b0be72</CreditActionID> <CurrencyAmount>8</CurrencyAmount> <CurrencyID>3459fb09-d850-4441-9e53-2c71352b1791</CurrencyID> <CurrencyRate>6.1</CurrencyRate> <Date>2025-05-24T16:56:32.4475243+03:00</Date> <Debt>5</Debt> <Description>sample string 2</Description> <EndDate>2025-05-24T16:56:32.4475243+03:00</EndDate> <ExpenseRepeatDays>sample string 11</ExpenseRepeatDays> <ExpenseRepeatType>Monthly</ExpenseRepeatType> <ExpenseTypeID>93930447-72f3-405c-8e44-a914f0e2e509</ExpenseTypeID> <FromAccountID>5823743c-1719-42b0-a5fd-eb6bdf1f9ee1</FromAccountID> <InvoiceID>b964bc36-e4d9-45ab-aadd-9a8ac54e4c58</InvoiceID> <IsCurrencyReverse>true</IsCurrencyReverse> <IsRepeat>true</IsRepeat> <KDVAmount>9</KDVAmount> <ProductStokActionID>55dd131a-533e-4d51-a0e5-4821c5a8cda3</ProductStokActionID> <SafeActionDocumentNumber>sample string 12</SafeActionDocumentNumber> <SafeActionType>CariOdeme</SafeActionType> <ServiceReceiptID>11af9aad-2c37-4294-a738-d66ab057a55f</ServiceReceiptID> <StartDate>2025-05-24T16:56:32.4475243+03:00</StartDate> <Title>sample string 1</Title> <ToAccountID>a1e55495-403f-49bb-afb4-99fbda8fa6aa</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-05-24T16:56:32.4475243+03:00","credit":4.0,"debt":5.0,"currencyRate":6.1,"isCurrencyReverse":true,"currencyAmount":8.0,"kdvAmount":9.0,"currencyID":"3459fb09-d850-4441-9e53-2c71352b1791","expenseTypeID":"93930447-72f3-405c-8e44-a914f0e2e509","fromAccountID":"5823743c-1719-42b0-a5fd-eb6bdf1f9ee1","toAccountID":"a1e55495-403f-49bb-afb4-99fbda8fa6aa","invoiceID":"b964bc36-e4d9-45ab-aadd-9a8ac54e4c58","productStokActionID":"55dd131a-533e-4d51-a0e5-4821c5a8cda3","checkAndBillID":"e7075747-889e-49be-80d2-7a267362165e","creditActionID":"2b70880a-33f2-4750-8280-4dea73b0be72","serviceReceiptID":"11af9aad-2c37-4294-a738-d66ab057a55f","isRepeat":true,"startDate":"2025-05-24T16:56:32.4475243+03:00","endDate":"2025-05-24T16:56:32.4475243+03:00","expenseRepeatType":1,"expenseRepeatDays":"sample string 11","safeActionType":1,"safeActionDocumentNumber":"sample string 12","id":"42026263-fa61-4ca9-9646-2605d4589629","companyID":"2d4b3496-7434-4d62-a4f5-935271196669"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.