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-08-05T00:37:52.4756874+03:00", "credit": 4.0, "debt": 5.0, "currencyRate": 6.1, "isCurrencyReverse": true, "currencyAmount": 8.0, "kdvAmount": 9.0, "currencyID": "437e48fb-b536-413a-b9f4-7a74734f50a3", "expenseTypeID": "a47933ca-ac78-4641-b326-c25536dc1e3b", "fromAccountID": "40db2406-7d06-4f73-a9a6-42b1d7e77b16", "toAccountID": "7d004465-f349-4a93-adc5-3e666dac5068", "invoiceID": "a1626872-5982-482b-b000-788dd06b9726", "productStokActionID": "2eb9f588-419b-41ba-978a-8f49fef2f58c", "checkAndBillID": "e7ce561e-c837-44be-bb10-8b0ec20043cd", "creditActionID": "0c507aa8-86d1-41d4-a0ea-3b34884e9fc2", "serviceReceiptID": "4c152b37-8c77-447d-a757-ddcfb715d257", "isRepeat": true, "startDate": "2025-08-05T00:37:52.4766893+03:00", "endDate": "2025-08-05T00:37:52.4766893+03:00", "expenseRepeatType": 1, "expenseRepeatDays": "sample string 11", "safeActionType": 1, "safeActionDocumentNumber": "sample string 12", "id": "e80c1506-91d0-4d79-b23f-293c3ae93ac1", "companyID": "f816d5c5-4eda-4d49-b52a-51d5a4f3b26a" }
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>f816d5c5-4eda-4d49-b52a-51d5a4f3b26a</CompanyID> <ID>e80c1506-91d0-4d79-b23f-293c3ae93ac1</ID> <ActionType>CashCollection</ActionType> <CheckAndBillID>e7ce561e-c837-44be-bb10-8b0ec20043cd</CheckAndBillID> <Credit>4</Credit> <CreditActionID>0c507aa8-86d1-41d4-a0ea-3b34884e9fc2</CreditActionID> <CurrencyAmount>8</CurrencyAmount> <CurrencyID>437e48fb-b536-413a-b9f4-7a74734f50a3</CurrencyID> <CurrencyRate>6.1</CurrencyRate> <Date>2025-08-05T00:37:52.4756874+03:00</Date> <Debt>5</Debt> <Description>sample string 2</Description> <EndDate>2025-08-05T00:37:52.4766893+03:00</EndDate> <ExpenseRepeatDays>sample string 11</ExpenseRepeatDays> <ExpenseRepeatType>Monthly</ExpenseRepeatType> <ExpenseTypeID>a47933ca-ac78-4641-b326-c25536dc1e3b</ExpenseTypeID> <FromAccountID>40db2406-7d06-4f73-a9a6-42b1d7e77b16</FromAccountID> <InvoiceID>a1626872-5982-482b-b000-788dd06b9726</InvoiceID> <IsCurrencyReverse>true</IsCurrencyReverse> <IsRepeat>true</IsRepeat> <KDVAmount>9</KDVAmount> <ProductStokActionID>2eb9f588-419b-41ba-978a-8f49fef2f58c</ProductStokActionID> <SafeActionDocumentNumber>sample string 12</SafeActionDocumentNumber> <SafeActionType>CariOdeme</SafeActionType> <ServiceReceiptID>4c152b37-8c77-447d-a757-ddcfb715d257</ServiceReceiptID> <StartDate>2025-08-05T00:37:52.4766893+03:00</StartDate> <Title>sample string 1</Title> <ToAccountID>7d004465-f349-4a93-adc5-3e666dac5068</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-05T00:37:52.4756874+03:00","credit":4.0,"debt":5.0,"currencyRate":6.1,"isCurrencyReverse":true,"currencyAmount":8.0,"kdvAmount":9.0,"currencyID":"437e48fb-b536-413a-b9f4-7a74734f50a3","expenseTypeID":"a47933ca-ac78-4641-b326-c25536dc1e3b","fromAccountID":"40db2406-7d06-4f73-a9a6-42b1d7e77b16","toAccountID":"7d004465-f349-4a93-adc5-3e666dac5068","invoiceID":"a1626872-5982-482b-b000-788dd06b9726","productStokActionID":"2eb9f588-419b-41ba-978a-8f49fef2f58c","checkAndBillID":"e7ce561e-c837-44be-bb10-8b0ec20043cd","creditActionID":"0c507aa8-86d1-41d4-a0ea-3b34884e9fc2","serviceReceiptID":"4c152b37-8c77-447d-a757-ddcfb715d257","isRepeat":true,"startDate":"2025-08-05T00:37:52.4766893+03:00","endDate":"2025-08-05T00:37:52.4766893+03:00","expenseRepeatType":1,"expenseRepeatDays":"sample string 11","safeActionType":1,"safeActionDocumentNumber":"sample string 12","id":"e80c1506-91d0-4d79-b23f-293c3ae93ac1","companyID":"f816d5c5-4eda-4d49-b52a-51d5a4f3b26a"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.