POST api/Action/Add
Request Information
URI Parameters
None.
Body Parameters
ActionAddDtoName | Description | Type | Additional information |
---|---|---|---|
ActionType | ActionType |
None. |
|
Title | string |
None. |
|
Description | string |
None. |
|
DocumentNumber | 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. |
|
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. |
|
CompanyID | globally unique identifier |
None. |
|
IsOpenAccount | boolean |
None. |
|
IsGivenNewCheckAndBill | boolean |
None. |
|
Code | string |
None. |
|
SafeActionType | AccountSafeActionType |
None. |
|
SafeActionDocumentNumber | string |
None. |
|
FromServiceReceipt | boolean |
None. |
|
RevertDebtCredit | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "actionType": 1, "title": "sample string 1", "description": "sample string 2", "documentNumber": "sample string 3", "date": "2025-08-29T12:24:08.3999127+03:00", "credit": 5.0, "debt": 6.0, "currencyRate": 7.1, "isCurrencyReverse": true, "currencyAmount": 9.0, "kdvAmount": 10.0, "currencyID": "8d523c0d-269b-439a-a959-7fcc478cc871", "fromAccountID": "af4dc662-3faf-4419-a5b6-4f4f8192abec", "toAccountID": "90e5edff-9325-4a90-a22c-397202910c9b", "invoiceID": "7e90c890-7153-4146-9122-bac53c896a20", "productStokActionID": "de390659-0b75-48d5-99a9-c17b2110c80d", "checkAndBillID": "077caeb5-ccbf-40f4-97a6-fd8b03223ef9", "creditActionID": "ee3b027b-79b1-428e-930b-a35564c38876", "serviceReceiptID": "6f44b30f-a08d-4693-93eb-33e02c6d2bf6", "isRepeat": true, "startDate": "2025-08-29T12:24:08.3999127+03:00", "endDate": "2025-08-29T12:24:08.3999127+03:00", "expenseRepeatType": 1, "expenseRepeatDays": "sample string 12", "companyID": "209f495b-7212-4c99-b379-f68ad754d0ee", "isOpenAccount": true, "isGivenNewCheckAndBill": true, "code": "sample string 15", "safeActionType": 1, "safeActionDocumentNumber": "sample string 16", "fromServiceReceipt": true, "revertDebtCredit": true }
application/xml, text/xml
Sample:
<ActionAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <ActionType>CashCollection</ActionType> <CheckAndBillID>077caeb5-ccbf-40f4-97a6-fd8b03223ef9</CheckAndBillID> <Code>sample string 15</Code> <CompanyID>209f495b-7212-4c99-b379-f68ad754d0ee</CompanyID> <Credit>5</Credit> <CreditActionID>ee3b027b-79b1-428e-930b-a35564c38876</CreditActionID> <CurrencyAmount>9</CurrencyAmount> <CurrencyID>8d523c0d-269b-439a-a959-7fcc478cc871</CurrencyID> <CurrencyRate>7.1</CurrencyRate> <Date>2025-08-29T12:24:08.3999127+03:00</Date> <Debt>6</Debt> <Description>sample string 2</Description> <DocumentNumber>sample string 3</DocumentNumber> <EndDate>2025-08-29T12:24:08.3999127+03:00</EndDate> <ExpenseRepeatDays>sample string 12</ExpenseRepeatDays> <ExpenseRepeatType>Monthly</ExpenseRepeatType> <FromAccountID>af4dc662-3faf-4419-a5b6-4f4f8192abec</FromAccountID> <FromServiceReceipt>true</FromServiceReceipt> <InvoiceID>7e90c890-7153-4146-9122-bac53c896a20</InvoiceID> <IsCurrencyReverse>true</IsCurrencyReverse> <IsGivenNewCheckAndBill>true</IsGivenNewCheckAndBill> <IsOpenAccount>true</IsOpenAccount> <IsRepeat>true</IsRepeat> <KDVAmount>10</KDVAmount> <ProductStokActionID>de390659-0b75-48d5-99a9-c17b2110c80d</ProductStokActionID> <RevertDebtCredit>true</RevertDebtCredit> <SafeActionDocumentNumber>sample string 16</SafeActionDocumentNumber> <SafeActionType>CariOdeme</SafeActionType> <ServiceReceiptID>6f44b30f-a08d-4693-93eb-33e02c6d2bf6</ServiceReceiptID> <StartDate>2025-08-29T12:24:08.3999127+03:00</StartDate> <Title>sample string 1</Title> <ToAccountID>90e5edff-9325-4a90-a22c-397202910c9b</ToAccountID> </ActionAddDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"actionType":1,"title":"sample string 1","description":"sample string 2","documentNumber":"sample string 3","date":"2025-08-29T12:24:08.3999127+03:00","credit":5.0,"debt":6.0,"currencyRate":7.1,"isCurrencyReverse":true,"currencyAmount":9.0,"kdvAmount":10.0,"currencyID":"8d523c0d-269b-439a-a959-7fcc478cc871","fromAccountID":"af4dc662-3faf-4419-a5b6-4f4f8192abec","toAccountID":"90e5edff-9325-4a90-a22c-397202910c9b","invoiceID":"7e90c890-7153-4146-9122-bac53c896a20","productStokActionID":"de390659-0b75-48d5-99a9-c17b2110c80d","checkAndBillID":"077caeb5-ccbf-40f4-97a6-fd8b03223ef9","creditActionID":"ee3b027b-79b1-428e-930b-a35564c38876","serviceReceiptID":"6f44b30f-a08d-4693-93eb-33e02c6d2bf6","isRepeat":true,"startDate":"2025-08-29T12:24:08.3999127+03:00","endDate":"2025-08-29T12:24:08.3999127+03:00","expenseRepeatType":1,"expenseRepeatDays":"sample string 12","companyID":"209f495b-7212-4c99-b379-f68ad754d0ee","isOpenAccount":true,"isGivenNewCheckAndBill":true,"code":"sample string 15","safeActionType":1,"safeActionDocumentNumber":"sample string 16","fromServiceReceipt":true,"revertDebtCredit":true}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.