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-05-24T14:40:19.346304+03:00", "credit": 4.0, "debt": 5.0, "currencyRate": 6.1, "isCurrencyReverse": true, "currencyAmount": 8.0, "kdvAmount": 9.0, "currencyID": "a91f898c-1723-4f4b-9460-26b2841beba6", "expenseTypeID": "c1785c63-3b16-4a82-b18e-e44530a49eb6", "fromAccountID": "d6709064-acdc-41f7-8d09-07007c05740e", "toAccountID": "1bf27707-930d-449f-b05d-585cbf24d623", "invoiceID": "29adb9b5-c72f-47f0-813d-f0818402fd0a", "productStokActionID": "933bb02b-7e82-4a84-a85f-0501aa8f20c7", "checkAndBillID": "e58ab5dc-5330-4e04-be40-a8f39deac2c4", "creditActionID": "78dd0125-ff22-4965-a5c3-0de076a371d1", "serviceReceiptID": "0402edc4-6198-452f-b7ed-c0766eedb996", "isRepeat": true, "startDate": "2025-05-24T14:40:19.346304+03:00", "endDate": "2025-05-24T14:40:19.346304+03:00", "expenseRepeatType": 1, "expenseRepeatDays": "sample string 11", "safeActionType": 1, "safeActionDocumentNumber": "sample string 12", "id": "9503f93b-343c-49d2-b127-3c32e9c10dad", "companyID": "2ec35482-146e-4b2e-8fa7-b0e47d7399cd" }
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>2ec35482-146e-4b2e-8fa7-b0e47d7399cd</CompanyID> <ID>9503f93b-343c-49d2-b127-3c32e9c10dad</ID> <ActionType>CashCollection</ActionType> <CheckAndBillID>e58ab5dc-5330-4e04-be40-a8f39deac2c4</CheckAndBillID> <Credit>4</Credit> <CreditActionID>78dd0125-ff22-4965-a5c3-0de076a371d1</CreditActionID> <CurrencyAmount>8</CurrencyAmount> <CurrencyID>a91f898c-1723-4f4b-9460-26b2841beba6</CurrencyID> <CurrencyRate>6.1</CurrencyRate> <Date>2025-05-24T14:40:19.346304+03:00</Date> <Debt>5</Debt> <Description>sample string 2</Description> <EndDate>2025-05-24T14:40:19.346304+03:00</EndDate> <ExpenseRepeatDays>sample string 11</ExpenseRepeatDays> <ExpenseRepeatType>Monthly</ExpenseRepeatType> <ExpenseTypeID>c1785c63-3b16-4a82-b18e-e44530a49eb6</ExpenseTypeID> <FromAccountID>d6709064-acdc-41f7-8d09-07007c05740e</FromAccountID> <InvoiceID>29adb9b5-c72f-47f0-813d-f0818402fd0a</InvoiceID> <IsCurrencyReverse>true</IsCurrencyReverse> <IsRepeat>true</IsRepeat> <KDVAmount>9</KDVAmount> <ProductStokActionID>933bb02b-7e82-4a84-a85f-0501aa8f20c7</ProductStokActionID> <SafeActionDocumentNumber>sample string 12</SafeActionDocumentNumber> <SafeActionType>CariOdeme</SafeActionType> <ServiceReceiptID>0402edc4-6198-452f-b7ed-c0766eedb996</ServiceReceiptID> <StartDate>2025-05-24T14:40:19.346304+03:00</StartDate> <Title>sample string 1</Title> <ToAccountID>1bf27707-930d-449f-b05d-585cbf24d623</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-24T14:40:19.346304+03:00","credit":4.0,"debt":5.0,"currencyRate":6.1,"isCurrencyReverse":true,"currencyAmount":8.0,"kdvAmount":9.0,"currencyID":"a91f898c-1723-4f4b-9460-26b2841beba6","expenseTypeID":"c1785c63-3b16-4a82-b18e-e44530a49eb6","fromAccountID":"d6709064-acdc-41f7-8d09-07007c05740e","toAccountID":"1bf27707-930d-449f-b05d-585cbf24d623","invoiceID":"29adb9b5-c72f-47f0-813d-f0818402fd0a","productStokActionID":"933bb02b-7e82-4a84-a85f-0501aa8f20c7","checkAndBillID":"e58ab5dc-5330-4e04-be40-a8f39deac2c4","creditActionID":"78dd0125-ff22-4965-a5c3-0de076a371d1","serviceReceiptID":"0402edc4-6198-452f-b7ed-c0766eedb996","isRepeat":true,"startDate":"2025-05-24T14:40:19.346304+03:00","endDate":"2025-05-24T14:40:19.346304+03:00","expenseRepeatType":1,"expenseRepeatDays":"sample string 11","safeActionType":1,"safeActionDocumentNumber":"sample string 12","id":"9503f93b-343c-49d2-b127-3c32e9c10dad","companyID":"2ec35482-146e-4b2e-8fa7-b0e47d7399cd"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.