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-24T16:54:02.7152275+03:00", "credit": 4.0, "debt": 5.0, "currencyRate": 6.1, "isCurrencyReverse": true, "currencyAmount": 8.0, "kdvAmount": 9.0, "currencyID": "86d97b78-1abc-45a9-9675-897488761880", "expenseTypeID": "664ce55f-7eac-4b33-86b4-2c0ac3b1e52d", "fromAccountID": "9b61713e-a3fd-40e7-be3a-9d323816d2c9", "toAccountID": "707b9d6c-2b18-496f-8052-d60a3c99e5cf", "invoiceID": "c7f1651e-3fde-44c4-a3f3-b712394aace8", "productStokActionID": "0ade11f8-2864-4d51-9643-fa18456134d2", "checkAndBillID": "1c3968dd-5ff5-47a4-a95b-063cac9d642f", "creditActionID": "3140e0fe-a582-4c90-8fd6-a7a8c92127f4", "serviceReceiptID": "928136b2-ae07-4176-959d-277e4fdc31bd", "isRepeat": true, "startDate": "2025-05-24T16:54:02.7152275+03:00", "endDate": "2025-05-24T16:54:02.7152275+03:00", "expenseRepeatType": 1, "expenseRepeatDays": "sample string 11", "safeActionType": 1, "safeActionDocumentNumber": "sample string 12", "id": "f2156e46-def7-4320-9a2e-0375937e3536", "companyID": "c72d6dd7-c509-4614-af99-f0f5de083832" }
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>c72d6dd7-c509-4614-af99-f0f5de083832</CompanyID> <ID>f2156e46-def7-4320-9a2e-0375937e3536</ID> <ActionType>CashCollection</ActionType> <CheckAndBillID>1c3968dd-5ff5-47a4-a95b-063cac9d642f</CheckAndBillID> <Credit>4</Credit> <CreditActionID>3140e0fe-a582-4c90-8fd6-a7a8c92127f4</CreditActionID> <CurrencyAmount>8</CurrencyAmount> <CurrencyID>86d97b78-1abc-45a9-9675-897488761880</CurrencyID> <CurrencyRate>6.1</CurrencyRate> <Date>2025-05-24T16:54:02.7152275+03:00</Date> <Debt>5</Debt> <Description>sample string 2</Description> <EndDate>2025-05-24T16:54:02.7152275+03:00</EndDate> <ExpenseRepeatDays>sample string 11</ExpenseRepeatDays> <ExpenseRepeatType>Monthly</ExpenseRepeatType> <ExpenseTypeID>664ce55f-7eac-4b33-86b4-2c0ac3b1e52d</ExpenseTypeID> <FromAccountID>9b61713e-a3fd-40e7-be3a-9d323816d2c9</FromAccountID> <InvoiceID>c7f1651e-3fde-44c4-a3f3-b712394aace8</InvoiceID> <IsCurrencyReverse>true</IsCurrencyReverse> <IsRepeat>true</IsRepeat> <KDVAmount>9</KDVAmount> <ProductStokActionID>0ade11f8-2864-4d51-9643-fa18456134d2</ProductStokActionID> <SafeActionDocumentNumber>sample string 12</SafeActionDocumentNumber> <SafeActionType>CariOdeme</SafeActionType> <ServiceReceiptID>928136b2-ae07-4176-959d-277e4fdc31bd</ServiceReceiptID> <StartDate>2025-05-24T16:54:02.7152275+03:00</StartDate> <Title>sample string 1</Title> <ToAccountID>707b9d6c-2b18-496f-8052-d60a3c99e5cf</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:54:02.7152275+03:00","credit":4.0,"debt":5.0,"currencyRate":6.1,"isCurrencyReverse":true,"currencyAmount":8.0,"kdvAmount":9.0,"currencyID":"86d97b78-1abc-45a9-9675-897488761880","expenseTypeID":"664ce55f-7eac-4b33-86b4-2c0ac3b1e52d","fromAccountID":"9b61713e-a3fd-40e7-be3a-9d323816d2c9","toAccountID":"707b9d6c-2b18-496f-8052-d60a3c99e5cf","invoiceID":"c7f1651e-3fde-44c4-a3f3-b712394aace8","productStokActionID":"0ade11f8-2864-4d51-9643-fa18456134d2","checkAndBillID":"1c3968dd-5ff5-47a4-a95b-063cac9d642f","creditActionID":"3140e0fe-a582-4c90-8fd6-a7a8c92127f4","serviceReceiptID":"928136b2-ae07-4176-959d-277e4fdc31bd","isRepeat":true,"startDate":"2025-05-24T16:54:02.7152275+03:00","endDate":"2025-05-24T16:54:02.7152275+03:00","expenseRepeatType":1,"expenseRepeatDays":"sample string 11","safeActionType":1,"safeActionDocumentNumber":"sample string 12","id":"f2156e46-def7-4320-9a2e-0375937e3536","companyID":"c72d6dd7-c509-4614-af99-f0f5de083832"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.