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-29T12:25:29.8374068+03:00", "credit": 4.0, "debt": 5.0, "currencyRate": 6.1, "isCurrencyReverse": true, "currencyAmount": 8.0, "kdvAmount": 9.0, "currencyID": "37637460-1f2e-4208-a52a-087af5c9151b", "expenseTypeID": "cf2a7930-6730-4936-8e33-dbba7cdd6536", "fromAccountID": "e928acc9-c580-4493-824f-944251124dd4", "toAccountID": "be2793bb-98a3-4a58-ba77-af326f8db893", "invoiceID": "7b17b1be-23ea-46d6-a0f3-9bc70555e8e1", "productStokActionID": "4019cf23-d610-4bf1-81f5-dc6bae5db12e", "checkAndBillID": "6bea3835-7641-4068-85cc-ff5b9fca5a7a", "creditActionID": "a2691a49-2c8c-4695-9328-e3916638d1e8", "serviceReceiptID": "79b61dfb-e376-4ae1-8a4c-463a8cf8d32c", "isRepeat": true, "startDate": "2025-08-29T12:25:29.8374068+03:00", "endDate": "2025-08-29T12:25:29.8374068+03:00", "expenseRepeatType": 1, "expenseRepeatDays": "sample string 11", "safeActionType": 1, "safeActionDocumentNumber": "sample string 12", "id": "610d20ac-4188-4389-88d8-efead92492b7", "companyID": "f6f97028-02c7-4ce5-a293-cb7b99cc39aa" }
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>f6f97028-02c7-4ce5-a293-cb7b99cc39aa</CompanyID> <ID>610d20ac-4188-4389-88d8-efead92492b7</ID> <ActionType>CashCollection</ActionType> <CheckAndBillID>6bea3835-7641-4068-85cc-ff5b9fca5a7a</CheckAndBillID> <Credit>4</Credit> <CreditActionID>a2691a49-2c8c-4695-9328-e3916638d1e8</CreditActionID> <CurrencyAmount>8</CurrencyAmount> <CurrencyID>37637460-1f2e-4208-a52a-087af5c9151b</CurrencyID> <CurrencyRate>6.1</CurrencyRate> <Date>2025-08-29T12:25:29.8374068+03:00</Date> <Debt>5</Debt> <Description>sample string 2</Description> <EndDate>2025-08-29T12:25:29.8374068+03:00</EndDate> <ExpenseRepeatDays>sample string 11</ExpenseRepeatDays> <ExpenseRepeatType>Monthly</ExpenseRepeatType> <ExpenseTypeID>cf2a7930-6730-4936-8e33-dbba7cdd6536</ExpenseTypeID> <FromAccountID>e928acc9-c580-4493-824f-944251124dd4</FromAccountID> <InvoiceID>7b17b1be-23ea-46d6-a0f3-9bc70555e8e1</InvoiceID> <IsCurrencyReverse>true</IsCurrencyReverse> <IsRepeat>true</IsRepeat> <KDVAmount>9</KDVAmount> <ProductStokActionID>4019cf23-d610-4bf1-81f5-dc6bae5db12e</ProductStokActionID> <SafeActionDocumentNumber>sample string 12</SafeActionDocumentNumber> <SafeActionType>CariOdeme</SafeActionType> <ServiceReceiptID>79b61dfb-e376-4ae1-8a4c-463a8cf8d32c</ServiceReceiptID> <StartDate>2025-08-29T12:25:29.8374068+03:00</StartDate> <Title>sample string 1</Title> <ToAccountID>be2793bb-98a3-4a58-ba77-af326f8db893</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-29T12:25:29.8374068+03:00","credit":4.0,"debt":5.0,"currencyRate":6.1,"isCurrencyReverse":true,"currencyAmount":8.0,"kdvAmount":9.0,"currencyID":"37637460-1f2e-4208-a52a-087af5c9151b","expenseTypeID":"cf2a7930-6730-4936-8e33-dbba7cdd6536","fromAccountID":"e928acc9-c580-4493-824f-944251124dd4","toAccountID":"be2793bb-98a3-4a58-ba77-af326f8db893","invoiceID":"7b17b1be-23ea-46d6-a0f3-9bc70555e8e1","productStokActionID":"4019cf23-d610-4bf1-81f5-dc6bae5db12e","checkAndBillID":"6bea3835-7641-4068-85cc-ff5b9fca5a7a","creditActionID":"a2691a49-2c8c-4695-9328-e3916638d1e8","serviceReceiptID":"79b61dfb-e376-4ae1-8a4c-463a8cf8d32c","isRepeat":true,"startDate":"2025-08-29T12:25:29.8374068+03:00","endDate":"2025-08-29T12:25:29.8374068+03:00","expenseRepeatType":1,"expenseRepeatDays":"sample string 11","safeActionType":1,"safeActionDocumentNumber":"sample string 12","id":"610d20ac-4188-4389-88d8-efead92492b7","companyID":"f6f97028-02c7-4ce5-a293-cb7b99cc39aa"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.