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-05-24T14:41:30.6727972+03:00", "credit": 4.0, "debt": 5.0, "currencyRate": 6.1, "isCurrencyReverse": true, "currencyAmount": 8.0, "kdvAmount": 9.0, "currencyID": "1c954e2a-eb84-4fd3-b146-0243203cbf51", "expenseTypeID": "0b93f963-fa90-4624-8622-4bcaa6caf040", "fromAccountID": "16576aed-98a8-4462-8615-48d6bc9764bb", "toAccountID": "be0de7d6-4b03-42ac-a3b3-d009fd9d820e", "invoiceID": "21451181-65a3-46f3-af6c-56ec2de2bc15", "productStokActionID": "b04d989b-b47f-4c51-8f2d-8d656deff37a", "checkAndBillID": "426e75bf-19d6-4a27-b179-b8eeae6d94d3", "creditActionID": "951adcc6-60a2-4a5a-af49-6f70097db1b0", "serviceReceiptID": "6d067d6e-c1e1-4763-aa0b-d2424afa3718", "isRepeat": true, "startDate": "2025-05-24T14:41:30.6727972+03:00", "endDate": "2025-05-24T14:41:30.6727972+03:00", "expenseRepeatType": 1, "expenseRepeatDays": "sample string 11", "safeActionType": 1, "safeActionDocumentNumber": "sample string 12", "id": "afd9f1df-a3a3-4051-96fc-c0abb775c3b9", "companyID": "4b59bfb3-c8b2-4c21-80ff-6cc4bb373d5f" }
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>4b59bfb3-c8b2-4c21-80ff-6cc4bb373d5f</CompanyID> <ID>afd9f1df-a3a3-4051-96fc-c0abb775c3b9</ID> <ActionType>CashCollection</ActionType> <CheckAndBillID>426e75bf-19d6-4a27-b179-b8eeae6d94d3</CheckAndBillID> <Credit>4</Credit> <CreditActionID>951adcc6-60a2-4a5a-af49-6f70097db1b0</CreditActionID> <CurrencyAmount>8</CurrencyAmount> <CurrencyID>1c954e2a-eb84-4fd3-b146-0243203cbf51</CurrencyID> <CurrencyRate>6.1</CurrencyRate> <Date>2025-05-24T14:41:30.6727972+03:00</Date> <Debt>5</Debt> <Description>sample string 2</Description> <EndDate>2025-05-24T14:41:30.6727972+03:00</EndDate> <ExpenseRepeatDays>sample string 11</ExpenseRepeatDays> <ExpenseRepeatType>Monthly</ExpenseRepeatType> <ExpenseTypeID>0b93f963-fa90-4624-8622-4bcaa6caf040</ExpenseTypeID> <FromAccountID>16576aed-98a8-4462-8615-48d6bc9764bb</FromAccountID> <InvoiceID>21451181-65a3-46f3-af6c-56ec2de2bc15</InvoiceID> <IsCurrencyReverse>true</IsCurrencyReverse> <IsRepeat>true</IsRepeat> <KDVAmount>9</KDVAmount> <ProductStokActionID>b04d989b-b47f-4c51-8f2d-8d656deff37a</ProductStokActionID> <SafeActionDocumentNumber>sample string 12</SafeActionDocumentNumber> <SafeActionType>CariOdeme</SafeActionType> <ServiceReceiptID>6d067d6e-c1e1-4763-aa0b-d2424afa3718</ServiceReceiptID> <StartDate>2025-05-24T14:41:30.6727972+03:00</StartDate> <Title>sample string 1</Title> <ToAccountID>be0de7d6-4b03-42ac-a3b3-d009fd9d820e</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:41:30.6727972+03:00","credit":4.0,"debt":5.0,"currencyRate":6.1,"isCurrencyReverse":true,"currencyAmount":8.0,"kdvAmount":9.0,"currencyID":"1c954e2a-eb84-4fd3-b146-0243203cbf51","expenseTypeID":"0b93f963-fa90-4624-8622-4bcaa6caf040","fromAccountID":"16576aed-98a8-4462-8615-48d6bc9764bb","toAccountID":"be0de7d6-4b03-42ac-a3b3-d009fd9d820e","invoiceID":"21451181-65a3-46f3-af6c-56ec2de2bc15","productStokActionID":"b04d989b-b47f-4c51-8f2d-8d656deff37a","checkAndBillID":"426e75bf-19d6-4a27-b179-b8eeae6d94d3","creditActionID":"951adcc6-60a2-4a5a-af49-6f70097db1b0","serviceReceiptID":"6d067d6e-c1e1-4763-aa0b-d2424afa3718","isRepeat":true,"startDate":"2025-05-24T14:41:30.6727972+03:00","endDate":"2025-05-24T14:41:30.6727972+03:00","expenseRepeatType":1,"expenseRepeatDays":"sample string 11","safeActionType":1,"safeActionDocumentNumber":"sample string 12","id":"afd9f1df-a3a3-4051-96fc-c0abb775c3b9","companyID":"4b59bfb3-c8b2-4c21-80ff-6cc4bb373d5f"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.