POST Transactions/Import
Request Information
URI Parameters
None.
Body Parameters
BulkImportTransactionDTOName | Description | Type | Additional information |
---|---|---|---|
Transactions | Collection of TransactionDTO |
None. |
|
FunderID | integer |
None. |
|
JournalTypeID | integer |
None. |
|
JournalDescription | string |
None. |
|
ResidentIDType | string |
None. |
|
BillingRateID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "transactions": [ { "isTaxed": true, "rowNumber": 1, "businessUnit": "sample string 2", "residentIdentifier": "sample string 3", "invoiceNumber": "sample string 4", "transactionType": 1, "importTransactionType": "Invoice", "itemDate": "2024-12-04T08:01:41.7811053+00:00", "amount": 1.0, "comments": "sample string 10 sample string 5 for 04/12/2024 to 04/12/2024 at $1 for 1 days.", "userComments": "sample string 5", "paymentMethod": 10, "drawerName": "sample string 6", "bsb": "sample string 7", "bankName": "sample string 8", "chequeNumber": "sample string 9", "feeSubType": "sample string 10", "invoiceDate": "2024-12-04T08:01:41.7811053+00:00", "startDate": "2024-12-04T08:01:41.7811053+00:00", "endDate": "2024-12-04T08:01:41.7811053+00:00", "days": 1, "amountPerDay": 1.0, "taxAmount": 1.0, "client": { "lastName": "sample string 1", "firstName": "sample string 2", "clientID": 3, "feesDefaultPaymentMethod": 10 }, "clientOrderID": 11, "groupID": 12, "buid": 13 }, { "isTaxed": true, "rowNumber": 1, "businessUnit": "sample string 2", "residentIdentifier": "sample string 3", "invoiceNumber": "sample string 4", "transactionType": 1, "importTransactionType": "Invoice", "itemDate": "2024-12-04T08:01:41.7811053+00:00", "amount": 1.0, "comments": "sample string 10 sample string 5 for 04/12/2024 to 04/12/2024 at $1 for 1 days.", "userComments": "sample string 5", "paymentMethod": 10, "drawerName": "sample string 6", "bsb": "sample string 7", "bankName": "sample string 8", "chequeNumber": "sample string 9", "feeSubType": "sample string 10", "invoiceDate": "2024-12-04T08:01:41.7811053+00:00", "startDate": "2024-12-04T08:01:41.7811053+00:00", "endDate": "2024-12-04T08:01:41.7811053+00:00", "days": 1, "amountPerDay": 1.0, "taxAmount": 1.0, "client": { "lastName": "sample string 1", "firstName": "sample string 2", "clientID": 3, "feesDefaultPaymentMethod": 10 }, "clientOrderID": 11, "groupID": 12, "buid": 13 } ], "funderID": 1, "journalTypeID": 2, "journalDescription": "sample string 3", "residentIDType": "sample string 4", "billingRateID": 5 }
application/xml, text/xml
Sample:
<BulkImportTransactionDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Billings.Models"> <BillingRateID>5</BillingRateID> <FunderID>1</FunderID> <JournalDescription>sample string 3</JournalDescription> <JournalTypeID>2</JournalTypeID> <ResidentIDType>sample string 4</ResidentIDType> <Transactions> <TransactionDTO> <Amount>1</Amount> <AmountPerDay>1</AmountPerDay> <BUID>13</BUID> <BankName>sample string 8</BankName> <Bsb>sample string 7</Bsb> <BusinessUnit>sample string 2</BusinessUnit> <ChequeNumber>sample string 9</ChequeNumber> <Client> <ClientID>3</ClientID> <FeesDefaultPaymentMethod>Cash</FeesDefaultPaymentMethod> <FirstName>sample string 2</FirstName> <LastName>sample string 1</LastName> </Client> <ClientOrderID>11</ClientOrderID> <Days>1</Days> <DrawerName>sample string 6</DrawerName> <EndDate>2024-12-04T08:01:41.7811053+00:00</EndDate> <FeeSubType>sample string 10</FeeSubType> <GroupID>12</GroupID> <InvoiceDate>2024-12-04T08:01:41.7811053+00:00</InvoiceDate> <InvoiceNumber>sample string 4</InvoiceNumber> <ItemDate>2024-12-04T08:01:41.7811053+00:00</ItemDate> <PaymentMethod>Cash</PaymentMethod> <ResidentIdentifier>sample string 3</ResidentIdentifier> <RowNumber>1</RowNumber> <StartDate>2024-12-04T08:01:41.7811053+00:00</StartDate> <TaxAmount>1</TaxAmount> <TransactionType>Invoice</TransactionType> <UserComments>sample string 5</UserComments> <ValidationErrors i:nil="true" /> </TransactionDTO> <TransactionDTO> <Amount>1</Amount> <AmountPerDay>1</AmountPerDay> <BUID>13</BUID> <BankName>sample string 8</BankName> <Bsb>sample string 7</Bsb> <BusinessUnit>sample string 2</BusinessUnit> <ChequeNumber>sample string 9</ChequeNumber> <Client> <ClientID>3</ClientID> <FeesDefaultPaymentMethod>Cash</FeesDefaultPaymentMethod> <FirstName>sample string 2</FirstName> <LastName>sample string 1</LastName> </Client> <ClientOrderID>11</ClientOrderID> <Days>1</Days> <DrawerName>sample string 6</DrawerName> <EndDate>2024-12-04T08:01:41.7811053+00:00</EndDate> <FeeSubType>sample string 10</FeeSubType> <GroupID>12</GroupID> <InvoiceDate>2024-12-04T08:01:41.7811053+00:00</InvoiceDate> <InvoiceNumber>sample string 4</InvoiceNumber> <ItemDate>2024-12-04T08:01:41.7811053+00:00</ItemDate> <PaymentMethod>Cash</PaymentMethod> <ResidentIdentifier>sample string 3</ResidentIdentifier> <RowNumber>1</RowNumber> <StartDate>2024-12-04T08:01:41.7811053+00:00</StartDate> <TaxAmount>1</TaxAmount> <TransactionType>Invoice</TransactionType> <UserComments>sample string 5</UserComments> <ValidationErrors i:nil="true" /> </TransactionDTO> </Transactions> </BulkImportTransactionDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/x-compressed-json
Sample:
� �S�r�0�Ɲi�([a� q<�ReRɓ��<bk4�2����q��H�T�q��C��=�����`�P:��eُ�v �X���13���7����J��~Wұ�Yh�#�TwQ���P� }�LR]60��jY�s���^�y��tٴڸi?�&�n��a���`�B$<��q�E����X>�s�q��h��EĀǬ�M��;�mF�L����"��1�ӛ'pљ� "�`na��h>0 �����^�EX�2��ܩ� �-v���{o�8$�{����! f��|�Jl����A�u`�xT�h"�{+-o��0U����-�k�tX���ˑ �9���j2�Y6�ز9����/�r��b*4T wF��;$d'I��2>��仓���w?C+�ְ����(�I�$o�midK�������UȺ�_��{�|?� .�
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, application/x-compressed-json
Sample:
Sample not available.