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. |
Request Formats
application/json, text/json
Sample:
[ { "actionType": 1, "title": "sample string 1", "description": "sample string 2", "documentNumber": "sample string 3", "date": "2025-05-24T14:31:12.4657952+03:00", "credit": 5.0, "debt": 6.0, "currencyRate": 7.1, "isCurrencyReverse": true, "currencyAmount": 9.0, "kdvAmount": 10.0, "currencyID": "6d70fd66-1a5d-4fc9-8168-3e8b17e23dee", "fromAccountID": "70fe76ef-8455-4574-82fb-c17ead6b919b", "toAccountID": "c388aa97-5614-4a1b-9376-195f250edc3e", "invoiceID": "e318750d-0367-4220-aa21-aa9e1466ae3a", "productStokActionID": "24c9c75b-250e-456f-85e2-b46df0e2ca53", "checkAndBillID": "da3884d6-e0a8-42c2-a461-abc9f8eb14e3", "creditActionID": "5afeedbf-7dd9-4234-a6a7-f4e2e918efbf", "serviceReceiptID": "f35cecc7-12b5-4508-8a72-3ed497f30071", "isRepeat": true, "startDate": "2025-05-24T14:31:12.4814206+03:00", "endDate": "2025-05-24T14:31:12.4814206+03:00", "expenseRepeatType": 1, "expenseRepeatDays": "sample string 12", "companyID": "62c9807c-4b76-4618-a6a9-9b1f4fbff491", "isOpenAccount": true, "isGivenNewCheckAndBill": true, "code": "sample string 15", "safeActionType": 1, "safeActionDocumentNumber": "sample string 16", "fromServiceReceipt": true }, { "actionType": 1, "title": "sample string 1", "description": "sample string 2", "documentNumber": "sample string 3", "date": "2025-05-24T14:31:12.4657952+03:00", "credit": 5.0, "debt": 6.0, "currencyRate": 7.1, "isCurrencyReverse": true, "currencyAmount": 9.0, "kdvAmount": 10.0, "currencyID": "6d70fd66-1a5d-4fc9-8168-3e8b17e23dee", "fromAccountID": "70fe76ef-8455-4574-82fb-c17ead6b919b", "toAccountID": "c388aa97-5614-4a1b-9376-195f250edc3e", "invoiceID": "e318750d-0367-4220-aa21-aa9e1466ae3a", "productStokActionID": "24c9c75b-250e-456f-85e2-b46df0e2ca53", "checkAndBillID": "da3884d6-e0a8-42c2-a461-abc9f8eb14e3", "creditActionID": "5afeedbf-7dd9-4234-a6a7-f4e2e918efbf", "serviceReceiptID": "f35cecc7-12b5-4508-8a72-3ed497f30071", "isRepeat": true, "startDate": "2025-05-24T14:31:12.4814206+03:00", "endDate": "2025-05-24T14:31:12.4814206+03:00", "expenseRepeatType": 1, "expenseRepeatDays": "sample string 12", "companyID": "62c9807c-4b76-4618-a6a9-9b1f4fbff491", "isOpenAccount": true, "isGivenNewCheckAndBill": true, "code": "sample string 15", "safeActionType": 1, "safeActionDocumentNumber": "sample string 16", "fromServiceReceipt": 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>da3884d6-e0a8-42c2-a461-abc9f8eb14e3</CheckAndBillID> <Code>sample string 15</Code> <CompanyID>62c9807c-4b76-4618-a6a9-9b1f4fbff491</CompanyID> <Credit>5</Credit> <CreditActionID>5afeedbf-7dd9-4234-a6a7-f4e2e918efbf</CreditActionID> <CurrencyAmount>9</CurrencyAmount> <CurrencyID>6d70fd66-1a5d-4fc9-8168-3e8b17e23dee</CurrencyID> <CurrencyRate>7.1</CurrencyRate> <Date>2025-05-24T14:31:12.4657952+03:00</Date> <Debt>6</Debt> <Description>sample string 2</Description> <DocumentNumber>sample string 3</DocumentNumber> <EndDate>2025-05-24T14:31:12.4814206+03:00</EndDate> <ExpenseRepeatDays>sample string 12</ExpenseRepeatDays> <ExpenseRepeatType>Monthly</ExpenseRepeatType> <FromAccountID>70fe76ef-8455-4574-82fb-c17ead6b919b</FromAccountID> <FromServiceReceipt>true</FromServiceReceipt> <InvoiceID>e318750d-0367-4220-aa21-aa9e1466ae3a</InvoiceID> <IsCurrencyReverse>true</IsCurrencyReverse> <IsGivenNewCheckAndBill>true</IsGivenNewCheckAndBill> <IsOpenAccount>true</IsOpenAccount> <IsRepeat>true</IsRepeat> <KDVAmount>10</KDVAmount> <ProductStokActionID>24c9c75b-250e-456f-85e2-b46df0e2ca53</ProductStokActionID> <SafeActionDocumentNumber>sample string 16</SafeActionDocumentNumber> <SafeActionType>CariOdeme</SafeActionType> <ServiceReceiptID>f35cecc7-12b5-4508-8a72-3ed497f30071</ServiceReceiptID> <StartDate>2025-05-24T14:31:12.4814206+03:00</StartDate> <Title>sample string 1</Title> <ToAccountID>c388aa97-5614-4a1b-9376-195f250edc3e</ToAccountID> </ActionAddDto> <ActionAddDto> <ActionType>CashCollection</ActionType> <CheckAndBillID>da3884d6-e0a8-42c2-a461-abc9f8eb14e3</CheckAndBillID> <Code>sample string 15</Code> <CompanyID>62c9807c-4b76-4618-a6a9-9b1f4fbff491</CompanyID> <Credit>5</Credit> <CreditActionID>5afeedbf-7dd9-4234-a6a7-f4e2e918efbf</CreditActionID> <CurrencyAmount>9</CurrencyAmount> <CurrencyID>6d70fd66-1a5d-4fc9-8168-3e8b17e23dee</CurrencyID> <CurrencyRate>7.1</CurrencyRate> <Date>2025-05-24T14:31:12.4657952+03:00</Date> <Debt>6</Debt> <Description>sample string 2</Description> <DocumentNumber>sample string 3</DocumentNumber> <EndDate>2025-05-24T14:31:12.4814206+03:00</EndDate> <ExpenseRepeatDays>sample string 12</ExpenseRepeatDays> <ExpenseRepeatType>Monthly</ExpenseRepeatType> <FromAccountID>70fe76ef-8455-4574-82fb-c17ead6b919b</FromAccountID> <FromServiceReceipt>true</FromServiceReceipt> <InvoiceID>e318750d-0367-4220-aa21-aa9e1466ae3a</InvoiceID> <IsCurrencyReverse>true</IsCurrencyReverse> <IsGivenNewCheckAndBill>true</IsGivenNewCheckAndBill> <IsOpenAccount>true</IsOpenAccount> <IsRepeat>true</IsRepeat> <KDVAmount>10</KDVAmount> <ProductStokActionID>24c9c75b-250e-456f-85e2-b46df0e2ca53</ProductStokActionID> <SafeActionDocumentNumber>sample string 16</SafeActionDocumentNumber> <SafeActionType>CariOdeme</SafeActionType> <ServiceReceiptID>f35cecc7-12b5-4508-8a72-3ed497f30071</ServiceReceiptID> <StartDate>2025-05-24T14:31:12.4814206+03:00</StartDate> <Title>sample string 1</Title> <ToAccountID>c388aa97-5614-4a1b-9376-195f250edc3e</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-05-24T14:31:12.4657952+03:00","credit":5.0,"debt":6.0,"currencyRate":7.1,"isCurrencyReverse":true,"currencyAmount":9.0,"kdvAmount":10.0,"currencyID":"6d70fd66-1a5d-4fc9-8168-3e8b17e23dee","fromAccountID":"70fe76ef-8455-4574-82fb-c17ead6b919b","toAccountID":"c388aa97-5614-4a1b-9376-195f250edc3e","invoiceID":"e318750d-0367-4220-aa21-aa9e1466ae3a","productStokActionID":"24c9c75b-250e-456f-85e2-b46df0e2ca53","checkAndBillID":"da3884d6-e0a8-42c2-a461-abc9f8eb14e3","creditActionID":"5afeedbf-7dd9-4234-a6a7-f4e2e918efbf","serviceReceiptID":"f35cecc7-12b5-4508-8a72-3ed497f30071","isRepeat":true,"startDate":"2025-05-24T14:31:12.4814206+03:00","endDate":"2025-05-24T14:31:12.4814206+03:00","expenseRepeatType":1,"expenseRepeatDays":"sample string 12","companyID":"62c9807c-4b76-4618-a6a9-9b1f4fbff491","isOpenAccount":true,"isGivenNewCheckAndBill":true,"code":"sample string 15","safeActionType":1,"safeActionDocumentNumber":"sample string 16","fromServiceReceipt":true},{"actionType":1,"title":"sample string 1","description":"sample string 2","documentNumber":"sample string 3","date":"2025-05-24T14:31:12.4657952+03:00","credit":5.0,"debt":6.0,"currencyRate":7.1,"isCurrencyReverse":true,"currencyAmount":9.0,"kdvAmount":10.0,"currencyID":"6d70fd66-1a5d-4fc9-8168-3e8b17e23dee","fromAccountID":"70fe76ef-8455-4574-82fb-c17ead6b919b","toAccountID":"c388aa97-5614-4a1b-9376-195f250edc3e","invoiceID":"e318750d-0367-4220-aa21-aa9e1466ae3a","productStokActionID":"24c9c75b-250e-456f-85e2-b46df0e2ca53","checkAndBillID":"da3884d6-e0a8-42c2-a461-abc9f8eb14e3","creditActionID":"5afeedbf-7dd9-4234-a6a7-f4e2e918efbf","serviceReceiptID":"f35cecc7-12b5-4508-8a72-3ed497f30071","isRepeat":true,"startDate":"2025-05-24T14:31:12.4814206+03:00","endDate":"2025-05-24T14:31:12.4814206+03:00","expenseRepeatType":1,"expenseRepeatDays":"sample string 12","companyID":"62c9807c-4b76-4618-a6a9-9b1f4fbff491","isOpenAccount":true,"isGivenNewCheckAndBill":true,"code":"sample string 15","safeActionType":1,"safeActionDocumentNumber":"sample string 16","fromServiceReceipt":true}]
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.