PUT 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-07-08T21:19:45.268678+03:00", "credit": 4.0, "debt": 5.0, "currencyRate": 6.1, "isCurrencyReverse": true, "currencyAmount": 8.0, "kdvAmount": 9.0, "currencyID": "f9b8f50a-5e84-4d3d-be6f-64ff567af8d5", "expenseTypeID": "025370f1-4745-4811-9b9b-0d88eb1c82ed", "fromAccountID": "8062e947-82f9-4fa6-8a9b-a524205fd78b", "toAccountID": "880d3603-5c57-4d8a-b69d-c65eb51d5d07", "invoiceID": "e5b9bd74-8452-47c7-9190-6424cc5f7c88", "productStokActionID": "5502a455-1f0e-4264-b711-c7bd48e16835", "checkAndBillID": "43746000-5d86-43a0-a99b-d1eae5679279", "creditActionID": "9557b60a-4eae-4d36-904b-22993b451f2d", "serviceReceiptID": "ed51441d-8a99-405b-b16f-1eed01ef2b43", "isRepeat": true, "startDate": "2025-07-08T21:19:45.268678+03:00", "endDate": "2025-07-08T21:19:45.268678+03:00", "expenseRepeatType": 1, "expenseRepeatDays": "sample string 11", "safeActionType": 1, "safeActionDocumentNumber": "sample string 12", "id": "1b6e52ff-51a1-4367-88a6-f5289520af32", "companyID": "371a404f-88e2-4ea1-9758-a78deaa6a628" }
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>371a404f-88e2-4ea1-9758-a78deaa6a628</CompanyID> <ID>1b6e52ff-51a1-4367-88a6-f5289520af32</ID> <ActionType>CashCollection</ActionType> <CheckAndBillID>43746000-5d86-43a0-a99b-d1eae5679279</CheckAndBillID> <Credit>4</Credit> <CreditActionID>9557b60a-4eae-4d36-904b-22993b451f2d</CreditActionID> <CurrencyAmount>8</CurrencyAmount> <CurrencyID>f9b8f50a-5e84-4d3d-be6f-64ff567af8d5</CurrencyID> <CurrencyRate>6.1</CurrencyRate> <Date>2025-07-08T21:19:45.268678+03:00</Date> <Debt>5</Debt> <Description>sample string 2</Description> <EndDate>2025-07-08T21:19:45.268678+03:00</EndDate> <ExpenseRepeatDays>sample string 11</ExpenseRepeatDays> <ExpenseRepeatType>Monthly</ExpenseRepeatType> <ExpenseTypeID>025370f1-4745-4811-9b9b-0d88eb1c82ed</ExpenseTypeID> <FromAccountID>8062e947-82f9-4fa6-8a9b-a524205fd78b</FromAccountID> <InvoiceID>e5b9bd74-8452-47c7-9190-6424cc5f7c88</InvoiceID> <IsCurrencyReverse>true</IsCurrencyReverse> <IsRepeat>true</IsRepeat> <KDVAmount>9</KDVAmount> <ProductStokActionID>5502a455-1f0e-4264-b711-c7bd48e16835</ProductStokActionID> <SafeActionDocumentNumber>sample string 12</SafeActionDocumentNumber> <SafeActionType>CariOdeme</SafeActionType> <ServiceReceiptID>ed51441d-8a99-405b-b16f-1eed01ef2b43</ServiceReceiptID> <StartDate>2025-07-08T21:19:45.268678+03:00</StartDate> <Title>sample string 1</Title> <ToAccountID>880d3603-5c57-4d8a-b69d-c65eb51d5d07</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-07-08T21:19:45.268678+03:00","credit":4.0,"debt":5.0,"currencyRate":6.1,"isCurrencyReverse":true,"currencyAmount":8.0,"kdvAmount":9.0,"currencyID":"f9b8f50a-5e84-4d3d-be6f-64ff567af8d5","expenseTypeID":"025370f1-4745-4811-9b9b-0d88eb1c82ed","fromAccountID":"8062e947-82f9-4fa6-8a9b-a524205fd78b","toAccountID":"880d3603-5c57-4d8a-b69d-c65eb51d5d07","invoiceID":"e5b9bd74-8452-47c7-9190-6424cc5f7c88","productStokActionID":"5502a455-1f0e-4264-b711-c7bd48e16835","checkAndBillID":"43746000-5d86-43a0-a99b-d1eae5679279","creditActionID":"9557b60a-4eae-4d36-904b-22993b451f2d","serviceReceiptID":"ed51441d-8a99-405b-b16f-1eed01ef2b43","isRepeat":true,"startDate":"2025-07-08T21:19:45.268678+03:00","endDate":"2025-07-08T21:19:45.268678+03:00","expenseRepeatType":1,"expenseRepeatDays":"sample string 11","safeActionType":1,"safeActionDocumentNumber":"sample string 12","id":"1b6e52ff-51a1-4367-88a6-f5289520af32","companyID":"371a404f-88e2-4ea1-9758-a78deaa6a628"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.