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-05T21:14:23.8115545+03:00", "credit": 4.0, "debt": 5.0, "currencyRate": 6.1, "isCurrencyReverse": true, "currencyAmount": 8.0, "kdvAmount": 9.0, "currencyID": "b940f84f-bd93-40c1-b9c9-c5e9176c7df5", "expenseTypeID": "345f37cd-4db8-4341-ac29-a7c3e1f21aee", "fromAccountID": "ff298d76-141b-4541-b63a-0cad5dc5c854", "toAccountID": "fdf2b5fd-1df1-4f5b-b180-3ab3dce64477", "invoiceID": "caf0f1d8-fe9f-4f6a-b12a-cb6a52d6229d", "productStokActionID": "acc209b8-d6dd-4dec-aef9-4c6df84e6d3a", "checkAndBillID": "9f62cfd2-d07b-4fe1-a917-1ec652739cb9", "creditActionID": "54c6c33c-d554-4641-830e-6364fc990d41", "serviceReceiptID": "8fab0c5b-409d-4186-816d-47f91ef0bc7a", "isRepeat": true, "startDate": "2025-08-05T21:14:23.8115545+03:00", "endDate": "2025-08-05T21:14:23.8115545+03:00", "expenseRepeatType": 1, "expenseRepeatDays": "sample string 11", "safeActionType": 1, "safeActionDocumentNumber": "sample string 12", "id": "8e1c4547-da32-44ca-8d47-d40912a3f18b", "companyID": "35a0eec9-7f23-40f6-a12e-0612a2b0fd8f" }
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>35a0eec9-7f23-40f6-a12e-0612a2b0fd8f</CompanyID> <ID>8e1c4547-da32-44ca-8d47-d40912a3f18b</ID> <ActionType>CashCollection</ActionType> <CheckAndBillID>9f62cfd2-d07b-4fe1-a917-1ec652739cb9</CheckAndBillID> <Credit>4</Credit> <CreditActionID>54c6c33c-d554-4641-830e-6364fc990d41</CreditActionID> <CurrencyAmount>8</CurrencyAmount> <CurrencyID>b940f84f-bd93-40c1-b9c9-c5e9176c7df5</CurrencyID> <CurrencyRate>6.1</CurrencyRate> <Date>2025-08-05T21:14:23.8115545+03:00</Date> <Debt>5</Debt> <Description>sample string 2</Description> <EndDate>2025-08-05T21:14:23.8115545+03:00</EndDate> <ExpenseRepeatDays>sample string 11</ExpenseRepeatDays> <ExpenseRepeatType>Monthly</ExpenseRepeatType> <ExpenseTypeID>345f37cd-4db8-4341-ac29-a7c3e1f21aee</ExpenseTypeID> <FromAccountID>ff298d76-141b-4541-b63a-0cad5dc5c854</FromAccountID> <InvoiceID>caf0f1d8-fe9f-4f6a-b12a-cb6a52d6229d</InvoiceID> <IsCurrencyReverse>true</IsCurrencyReverse> <IsRepeat>true</IsRepeat> <KDVAmount>9</KDVAmount> <ProductStokActionID>acc209b8-d6dd-4dec-aef9-4c6df84e6d3a</ProductStokActionID> <SafeActionDocumentNumber>sample string 12</SafeActionDocumentNumber> <SafeActionType>CariOdeme</SafeActionType> <ServiceReceiptID>8fab0c5b-409d-4186-816d-47f91ef0bc7a</ServiceReceiptID> <StartDate>2025-08-05T21:14:23.8115545+03:00</StartDate> <Title>sample string 1</Title> <ToAccountID>fdf2b5fd-1df1-4f5b-b180-3ab3dce64477</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-05T21:14:23.8115545+03:00","credit":4.0,"debt":5.0,"currencyRate":6.1,"isCurrencyReverse":true,"currencyAmount":8.0,"kdvAmount":9.0,"currencyID":"b940f84f-bd93-40c1-b9c9-c5e9176c7df5","expenseTypeID":"345f37cd-4db8-4341-ac29-a7c3e1f21aee","fromAccountID":"ff298d76-141b-4541-b63a-0cad5dc5c854","toAccountID":"fdf2b5fd-1df1-4f5b-b180-3ab3dce64477","invoiceID":"caf0f1d8-fe9f-4f6a-b12a-cb6a52d6229d","productStokActionID":"acc209b8-d6dd-4dec-aef9-4c6df84e6d3a","checkAndBillID":"9f62cfd2-d07b-4fe1-a917-1ec652739cb9","creditActionID":"54c6c33c-d554-4641-830e-6364fc990d41","serviceReceiptID":"8fab0c5b-409d-4186-816d-47f91ef0bc7a","isRepeat":true,"startDate":"2025-08-05T21:14:23.8115545+03:00","endDate":"2025-08-05T21:14:23.8115545+03:00","expenseRepeatType":1,"expenseRepeatDays":"sample string 11","safeActionType":1,"safeActionDocumentNumber":"sample string 12","id":"8e1c4547-da32-44ca-8d47-d40912a3f18b","companyID":"35a0eec9-7f23-40f6-a12e-0612a2b0fd8f"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.