POST api/Action/AddRange
Request Information
URI Parameters
None.
Body Parameters
Collection of 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-05T21:13:44.8893229+03:00", "credit": 5.0, "debt": 6.0, "currencyRate": 7.1, "isCurrencyReverse": true, "currencyAmount": 9.0, "kdvAmount": 10.0, "currencyID": "c1405244-b294-48e1-b5c0-164f1af0aad8", "fromAccountID": "840d8fb9-7c27-4ed5-bef6-220988f0b9ef", "toAccountID": "8909a639-d3a8-4b62-9074-79b128541f8a", "invoiceID": "5647fa2e-6936-4564-a7f4-fb96d8c7db8c", "productStokActionID": "6600c697-0f1e-41e8-84b0-d1785a75ce1f", "checkAndBillID": "46fe9ea2-3097-4265-8391-572183979d71", "creditActionID": "62ba1f37-b890-4e85-8ad7-5e856e04c5ba", "serviceReceiptID": "f0fbb347-b13a-4cbe-b92d-9131e6806bbf", "isRepeat": true, "startDate": "2025-08-05T21:13:44.8893229+03:00", "endDate": "2025-08-05T21:13:44.8893229+03:00", "expenseRepeatType": 1, "expenseRepeatDays": "sample string 12", "companyID": "7dc4d4f9-6fd6-4e39-a001-fbc61bc5d79d", "isOpenAccount": true, "isGivenNewCheckAndBill": true, "code": "sample string 15", "safeActionType": 1, "safeActionDocumentNumber": "sample string 16", "fromServiceReceipt": true, "revertDebtCredit": true }, { "actionType": 1, "title": "sample string 1", "description": "sample string 2", "documentNumber": "sample string 3", "date": "2025-08-05T21:13:44.8893229+03:00", "credit": 5.0, "debt": 6.0, "currencyRate": 7.1, "isCurrencyReverse": true, "currencyAmount": 9.0, "kdvAmount": 10.0, "currencyID": "c1405244-b294-48e1-b5c0-164f1af0aad8", "fromAccountID": "840d8fb9-7c27-4ed5-bef6-220988f0b9ef", "toAccountID": "8909a639-d3a8-4b62-9074-79b128541f8a", "invoiceID": "5647fa2e-6936-4564-a7f4-fb96d8c7db8c", "productStokActionID": "6600c697-0f1e-41e8-84b0-d1785a75ce1f", "checkAndBillID": "46fe9ea2-3097-4265-8391-572183979d71", "creditActionID": "62ba1f37-b890-4e85-8ad7-5e856e04c5ba", "serviceReceiptID": "f0fbb347-b13a-4cbe-b92d-9131e6806bbf", "isRepeat": true, "startDate": "2025-08-05T21:13:44.8893229+03:00", "endDate": "2025-08-05T21:13:44.8893229+03:00", "expenseRepeatType": 1, "expenseRepeatDays": "sample string 12", "companyID": "7dc4d4f9-6fd6-4e39-a001-fbc61bc5d79d", "isOpenAccount": true, "isGivenNewCheckAndBill": true, "code": "sample string 15", "safeActionType": 1, "safeActionDocumentNumber": "sample string 16", "fromServiceReceipt": true, "revertDebtCredit": true } ]
application/xml, text/xml
Sample:
<ArrayOfActionAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <ActionAddDto> <ActionType>CashCollection</ActionType> <CheckAndBillID>46fe9ea2-3097-4265-8391-572183979d71</CheckAndBillID> <Code>sample string 15</Code> <CompanyID>7dc4d4f9-6fd6-4e39-a001-fbc61bc5d79d</CompanyID> <Credit>5</Credit> <CreditActionID>62ba1f37-b890-4e85-8ad7-5e856e04c5ba</CreditActionID> <CurrencyAmount>9</CurrencyAmount> <CurrencyID>c1405244-b294-48e1-b5c0-164f1af0aad8</CurrencyID> <CurrencyRate>7.1</CurrencyRate> <Date>2025-08-05T21:13:44.8893229+03:00</Date> <Debt>6</Debt> <Description>sample string 2</Description> <DocumentNumber>sample string 3</DocumentNumber> <EndDate>2025-08-05T21:13:44.8893229+03:00</EndDate> <ExpenseRepeatDays>sample string 12</ExpenseRepeatDays> <ExpenseRepeatType>Monthly</ExpenseRepeatType> <FromAccountID>840d8fb9-7c27-4ed5-bef6-220988f0b9ef</FromAccountID> <FromServiceReceipt>true</FromServiceReceipt> <InvoiceID>5647fa2e-6936-4564-a7f4-fb96d8c7db8c</InvoiceID> <IsCurrencyReverse>true</IsCurrencyReverse> <IsGivenNewCheckAndBill>true</IsGivenNewCheckAndBill> <IsOpenAccount>true</IsOpenAccount> <IsRepeat>true</IsRepeat> <KDVAmount>10</KDVAmount> <ProductStokActionID>6600c697-0f1e-41e8-84b0-d1785a75ce1f</ProductStokActionID> <RevertDebtCredit>true</RevertDebtCredit> <SafeActionDocumentNumber>sample string 16</SafeActionDocumentNumber> <SafeActionType>CariOdeme</SafeActionType> <ServiceReceiptID>f0fbb347-b13a-4cbe-b92d-9131e6806bbf</ServiceReceiptID> <StartDate>2025-08-05T21:13:44.8893229+03:00</StartDate> <Title>sample string 1</Title> <ToAccountID>8909a639-d3a8-4b62-9074-79b128541f8a</ToAccountID> </ActionAddDto> <ActionAddDto> <ActionType>CashCollection</ActionType> <CheckAndBillID>46fe9ea2-3097-4265-8391-572183979d71</CheckAndBillID> <Code>sample string 15</Code> <CompanyID>7dc4d4f9-6fd6-4e39-a001-fbc61bc5d79d</CompanyID> <Credit>5</Credit> <CreditActionID>62ba1f37-b890-4e85-8ad7-5e856e04c5ba</CreditActionID> <CurrencyAmount>9</CurrencyAmount> <CurrencyID>c1405244-b294-48e1-b5c0-164f1af0aad8</CurrencyID> <CurrencyRate>7.1</CurrencyRate> <Date>2025-08-05T21:13:44.8893229+03:00</Date> <Debt>6</Debt> <Description>sample string 2</Description> <DocumentNumber>sample string 3</DocumentNumber> <EndDate>2025-08-05T21:13:44.8893229+03:00</EndDate> <ExpenseRepeatDays>sample string 12</ExpenseRepeatDays> <ExpenseRepeatType>Monthly</ExpenseRepeatType> <FromAccountID>840d8fb9-7c27-4ed5-bef6-220988f0b9ef</FromAccountID> <FromServiceReceipt>true</FromServiceReceipt> <InvoiceID>5647fa2e-6936-4564-a7f4-fb96d8c7db8c</InvoiceID> <IsCurrencyReverse>true</IsCurrencyReverse> <IsGivenNewCheckAndBill>true</IsGivenNewCheckAndBill> <IsOpenAccount>true</IsOpenAccount> <IsRepeat>true</IsRepeat> <KDVAmount>10</KDVAmount> <ProductStokActionID>6600c697-0f1e-41e8-84b0-d1785a75ce1f</ProductStokActionID> <RevertDebtCredit>true</RevertDebtCredit> <SafeActionDocumentNumber>sample string 16</SafeActionDocumentNumber> <SafeActionType>CariOdeme</SafeActionType> <ServiceReceiptID>f0fbb347-b13a-4cbe-b92d-9131e6806bbf</ServiceReceiptID> <StartDate>2025-08-05T21:13:44.8893229+03:00</StartDate> <Title>sample string 1</Title> <ToAccountID>8909a639-d3a8-4b62-9074-79b128541f8a</ToAccountID> </ActionAddDto> </ArrayOfActionAddDto>
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-05T21:13:44.8893229+03:00","credit":5.0,"debt":6.0,"currencyRate":7.1,"isCurrencyReverse":true,"currencyAmount":9.0,"kdvAmount":10.0,"currencyID":"c1405244-b294-48e1-b5c0-164f1af0aad8","fromAccountID":"840d8fb9-7c27-4ed5-bef6-220988f0b9ef","toAccountID":"8909a639-d3a8-4b62-9074-79b128541f8a","invoiceID":"5647fa2e-6936-4564-a7f4-fb96d8c7db8c","productStokActionID":"6600c697-0f1e-41e8-84b0-d1785a75ce1f","checkAndBillID":"46fe9ea2-3097-4265-8391-572183979d71","creditActionID":"62ba1f37-b890-4e85-8ad7-5e856e04c5ba","serviceReceiptID":"f0fbb347-b13a-4cbe-b92d-9131e6806bbf","isRepeat":true,"startDate":"2025-08-05T21:13:44.8893229+03:00","endDate":"2025-08-05T21:13:44.8893229+03:00","expenseRepeatType":1,"expenseRepeatDays":"sample string 12","companyID":"7dc4d4f9-6fd6-4e39-a001-fbc61bc5d79d","isOpenAccount":true,"isGivenNewCheckAndBill":true,"code":"sample string 15","safeActionType":1,"safeActionDocumentNumber":"sample string 16","fromServiceReceipt":true,"revertDebtCredit":true},{"actionType":1,"title":"sample string 1","description":"sample string 2","documentNumber":"sample string 3","date":"2025-08-05T21:13:44.8893229+03:00","credit":5.0,"debt":6.0,"currencyRate":7.1,"isCurrencyReverse":true,"currencyAmount":9.0,"kdvAmount":10.0,"currencyID":"c1405244-b294-48e1-b5c0-164f1af0aad8","fromAccountID":"840d8fb9-7c27-4ed5-bef6-220988f0b9ef","toAccountID":"8909a639-d3a8-4b62-9074-79b128541f8a","invoiceID":"5647fa2e-6936-4564-a7f4-fb96d8c7db8c","productStokActionID":"6600c697-0f1e-41e8-84b0-d1785a75ce1f","checkAndBillID":"46fe9ea2-3097-4265-8391-572183979d71","creditActionID":"62ba1f37-b890-4e85-8ad7-5e856e04c5ba","serviceReceiptID":"f0fbb347-b13a-4cbe-b92d-9131e6806bbf","isRepeat":true,"startDate":"2025-08-05T21:13:44.8893229+03:00","endDate":"2025-08-05T21:13:44.8893229+03:00","expenseRepeatType":1,"expenseRepeatDays":"sample string 12","companyID":"7dc4d4f9-6fd6-4e39-a001-fbc61bc5d79d","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.