A finalidade deste método é possibilitar por meio de um método do tipo POST a realização de lançamentos de entrada da contabilidade.
POST api/v2/abaci/accountingentry
...
...
Não Há.
...
AccountingEntryPOSTV2DTO
Nome (Name) | Descrição (Description) | Tipo (Type) | Informações Adicionais (Adittional Information) |
accounting_date | Data da Contabilização | string | Não há |
cod_user | Código do usuário | string | Não há |
allotment_number | Número do lote | integer | Não há |
standard_historic | Histórico padrão | string | Não há |
company_number | Número da empresa | integer | Não há |
process_number | Número do processo | string | Não há |
module | Módulo | string | Não há |
managerial | Gerencial | string | Não há |
extemporaneous | Extemporâneo | string | Não há |
extemporaneous_date | Data Extemporâneo | string | Não há |
accountt_transactions | Transações | Collection of AccountTransactionPOSTV2DTO | Não há |
_pageNo | Sem página | integer | Não há |
_pageSize | Tamanho da página | integer | Não há |
...
application/json, text/json
Exemplo Exemplo (Sample):
{
"accounting_date": "sample string 1",
"cod_user": "sample string 2",
"allotment_number": 3,
"standard_historic": "sample string 4",
"company_number": 5,
"process_number": "sample string 6",
"module": "sample string 7",
"managerial": "sample string 8",
"extemporaneous": "sample string 9",
"extemporaneous_date": "sample string 10",
"accountt_transactions": [
{
"account": "sample string 1",
"type": "sample string 2",
"value": 3.0,
"full_historic": "sample string 4",
"seq_account": 1,
"account_transaction_params": [
{
"parameter": "sample string 1",
"parameter_value": "sample string 2"
},
{
"parameter": "sample string 1",
"parameter_value": "sample string 2"
}
]
},
{
"account": "sample string 1",
"type": "sample string 2",
"value": 3.0,
"full_historic": "sample string 4",
"seq_account": 1,
"account_transaction_params": [
{
"parameter": "sample string 1",
"parameter_value": "sample string 2"
},
{
"parameter": "sample string 1",
"parameter_value": "sample string 2"
}
]
}
],
"_pageNo": 11,
"_pageSize": 12
}
application/xml, text/xml
Exemplo Exemplo (Sample):
<AccountingEntryPOSTV2DTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Abaci.API.Entities.Entities.v2.AccountingEntry">
<_pageNo xmlns="http://schemas.datacontract.org/2004/07/Abaci.API.Entities">11</_pageNo>
<_pageSize xmlns="http://schemas.datacontract.org/2004/07/Abaci.API.Entities">12</_pageSize>
<ACCOUNTING_DATE>sample string 1</ACCOUNTING_DATE>
<ACCOUNTT_TRANSACTIONS>
<AccountTransactionPOSTV2DTO>
<ACCOUNT>sample string 1</ACCOUNT>
<ACCOUNT_TRANSACTION_PARAMS>
<AccountTransactionParamPOSTV2DTO>
<PARAMETER>sample string 1</PARAMETER>
<PARAMETER_VALUE>sample string 2</PARAMETER_VALUE>
</AccountTransactionParamPOSTV2DTO>
<AccountTransactionParamPOSTV2DTO>
<PARAMETER>sample string 1</PARAMETER>
<PARAMETER_VALUE>sample string 2</PARAMETER_VALUE>
</AccountTransactionParamPOSTV2DTO>
</ACCOUNT_TRANSACTION_PARAMS>
<FULL_HISTORIC>sample string 4</FULL_HISTORIC>
<SEQ_ACCOUNT>1</SEQ_ACCOUNT>
<TYPE>sample string 2</TYPE>
<VALUE>3</VALUE>
</AccountTransactionPOSTV2DTO>
<AccountTransactionPOSTV2DTO>
<ACCOUNT>sample string 1</ACCOUNT>
<ACCOUNT_TRANSACTION_PARAMS>
<AccountTransactionParamPOSTV2DTO>
<PARAMETER>sample string 1</PARAMETER>
<PARAMETER_VALUE>sample string 2</PARAMETER_VALUE>
</AccountTransactionParamPOSTV2DTO>
<AccountTransactionParamPOSTV2DTO>
<PARAMETER>sample string 1</PARAMETER>
<PARAMETER_VALUE>sample string 2</PARAMETER_VALUE>
</AccountTransactionParamPOSTV2DTO>
</ACCOUNT_TRANSACTION_PARAMS>
<FULL_HISTORIC>sample string 4</FULL_HISTORIC>
<SEQ_ACCOUNT>1</SEQ_ACCOUNT>
<TYPE>sample string 2</TYPE>
<VALUE>3</VALUE>
</AccountTransactionPOSTV2DTO>
</ACCOUNTT_TRANSACTIONS>
<ALLOTMENT_NUMBER>3</ALLOTMENT_NUMBER>
<COD_USER>sample string 2</COD_USER>
<COMPANY_NUMBER>5</COMPANY_NUMBER>
<EXTEMPORANEOUS>sample string 9</EXTEMPORANEOUS>
<EXTEMPORANEOUS_DATE>sample string 10</EXTEMPORANEOUS_DATE>
<MANAGERIAL>sample string 8</MANAGERIAL>
<MODULE>sample string 7</MODULE>
<PROCESS_NUMBER>sample string 6</PROCESS_NUMBER>
<STANDARD_HISTORIC>sample string 4</STANDARD_HISTORIC>
</AccountingEntryPOSTV2DTO>
application/x-www-form-urlencoded
Exemplo (Sample):
Exemplo não disponível.
...
...
AccountingEntryV2DTO
Collection of AccountingEntryResponceV2DTO
Nome (Name) |
Descrição (Description) |
Tipo (Type) | Informações |
Adicionais (Adittional Information) | |||
seq_accounting_entry | Código numérico sequencial do registro | integer | Não há |
accounting_date | Data da Contabilização | date | Não há |
addition_date | Data da Inclusão | date | Não há |
seq_allotment | Código numérico sequencial do lote | integer | Não há |
allotment_number | Número do Lote | integer | Não há |
seq_historic | Código numérico sequencial do histórico (opcional) | integer | Não há |
value | Valor da Entrada | decimal number | Não há |
seq_standard_historic | Código numérico sequencial padrão do histórico (opcional) | integer | Não há |
standard_historic | Histórico padrão | string | Não há |
company_number | Número da empresa | integer | Não há |
process_number | Número do processo | string | Não há |
settlement | Liquidação | string | Não há |
module | Módulo | string | Não há |
transaction_quantity | Quantidade da Transação | integer | Não há |
seq_status | Código sequencial do Status | string | Não há |
extemporaneous | Valor “S” para extemporâneo: retorna apenas os registros extemporâneos da contabilização. Valor “N”: Todos os registros. | string | Não há |
extemporaneous_date | Retorna apenas os registros extemporâneos da contabilidade com data igual a informada. | date | Não há |
type | Tipo | string | Não há |
managerial | Gerencial | string | Não há |
account_transactions | Collection of AccountTransactionV2DTO | Não há. |
...
application/json, text/json
Exemplo Exemplo (Sample):
[
{
"seq_accounting_entry": 1,
"accounting_date": "2020-04-01T13:53:58.4835319-03:00",
"addition_date": "2020-04-01T13:53:58.4835319-03:00",
"seq_allotment": 4,
"allotment_number": 5,
"seq_historic": 6,
"value": 7.0,
"seq_standard_historic": 8,
"standard_historic": "sample string 9",
"company_number": 10,
"process_number": "sample string 11",
"settlement": "sample string 12",
"module": "sample string 13",
"transaction_quantity": 14,
"seq_status": "sample string 15",
"extemporaneous": "sample string 16",
"extemporaneous_date": "2020-04-01T13:53:58.4835319-03:00",
"type": "sample string 17",
"managerial": "sample string 18",
"account_transactions": [
{
"seq_account_transaction": 1,
"seq_account": 2,
"account": "sample string 3",
"type": "sample string 4",
"value": 5.0,
"account_transaction_parameters": [
{
"seq_account_parameter": 1,
"seq_parameter": "sample string 2",
"parameter": "sample string 3",
"ref_code": "sample string 4"
},
{
"seq_account_parameter": 1,
"seq_parameter": "sample string 2",
"parameter": "sample string 3",
"ref_code": "sample string 4"
}
]
},
{
"seq_account_transaction": 1,
"seq_account": 2,
"account": "sample string 3",
"type": "sample string 4",
"value": 5.0,
"account_transaction_parameters": [
{
"seq_account_parameter": 1,
"seq_parameter": "sample string 2",
"parameter": "sample string 3",
"ref_code": "sample string 4"
},
{
"seq_account_parameter": 1,
"seq_parameter": "sample string 2",
"parameter": "sample string 3",
"ref_code": "sample string 4"
}
]
}
]
},
{
"seq_accounting_entry": 1,
"accounting_date": "2020-04-01T13:53:58.4835319-03:00",
"addition_date": "2020-04-01T13:53:58.4835319-03:00",
"seq_allotment": 4,
"allotment_number": 5,
"seq_historic": 6,
"value": 7.0,
"seq_standard_historic": 8,
"standard_historic": "sample string 9",
"company_number": 10,
"process_number": "sample string 11",
"settlement": "sample string 12",
"module": "sample string 13",
"transaction_quantity": 14,
"seq_status": "sample string 15",
"extemporaneous": "sample string 16",
"extemporaneous_date": "2020-04-01T13:53:58.4835319-03:00",
"type": "sample string 17",
"managerial": "sample string 18",
"account_transactions": [
{
"seq_account_transaction": 1,
"seq_account": 2,
"account": "sample string 3",
"type": "sample string 4",
"value": 5.0,
"account_transaction_parameters": [
{
"seq_account_parameter": 1,
"seq_parameter": "sample string 2",
"parameter": "sample string 3",
"ref_code": "sample string 4"
},
{
"seq_account_parameter": 1,
"seq_parameter": "sample string 2",
"parameter": "sample string 3",
"ref_code": "sample string 4"
}
]
},
{
"seq_account_transaction": 1,
"seq_account": 2,
"account": "sample string 3",
"type": "sample string 4",
"value": 5.0,
"account_transaction_parameters": [
{
"seq_account_parameter": 1,
"seq_parameter": "sample string 2",
"parameter": "sample string 3",
"ref_code": "sample string 4"
},
{
"seq_account_parameter": 1,
"seq_parameter": "sample string 2",
"parameter": "sample string 3",
"ref_code": "sample string 4"
}
]
}
]
}
]
application/xml, text/xml
Exemplo Exemplo (Sample):
<ArrayOfAccountingEntryResponceV2DTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Abaci.API.Entities.Entities.v2.AccountingEntry">
<AccountingEntryResponceV2DTO>
<ACCOUNTING_DATE>2020-04-01T13:53:58.4835319-03:00</ACCOUNTING_DATE>
<ADDITION_DATE>2020-04-01T13:53:58.4835319-03:00</ADDITION_DATE>
<ALLOTMENT_NUMBER>5</ALLOTMENT_NUMBER>
<AccountTransactions>
<AccountTransactionV2DTO>
<ACCOUNT>sample string 3</ACCOUNT>
<AccountTransactionParameters>
<AccountTransactionParameterV2DTO>
<PARAMETER>sample string 3</PARAMETER>
<REF_CODE>sample string 4</REF_CODE>
<SEQ_ACCOUNT_PARAMETER>1</SEQ_ACCOUNT_PARAMETER>
<SEQ_PARAMETER>sample string 2</SEQ_PARAMETER>
</AccountTransactionParameterV2DTO>
<AccountTransactionParameterV2DTO>
<PARAMETER>sample string 3</PARAMETER>
<REF_CODE>sample string 4</REF_CODE>
<SEQ_ACCOUNT_PARAMETER>1</SEQ_ACCOUNT_PARAMETER>
<SEQ_PARAMETER>sample string 2</SEQ_PARAMETER>
</AccountTransactionParameterV2DTO>
</AccountTransactionParameters>
<SEQ_ACCOUNT>2</SEQ_ACCOUNT>
<SEQ_ACCOUNT_TRANSACTION>1</SEQ_ACCOUNT_TRANSACTION>
<TYPE>sample string 4</TYPE>
<VALUE>5</VALUE>
</AccountTransactionV2DTO>
<AccountTransactionV2DTO>
<ACCOUNT>sample string 3</ACCOUNT>
<AccountTransactionParameters>
<AccountTransactionParameterV2DTO>
<PARAMETER>sample string 3</PARAMETER>
<REF_CODE>sample string 4</REF_CODE>
<SEQ_ACCOUNT_PARAMETER>1</SEQ_ACCOUNT_PARAMETER>
<SEQ_PARAMETER>sample string 2</SEQ_PARAMETER>
</AccountTransactionParameterV2DTO>
<AccountTransactionParameterV2DTO>
<PARAMETER>sample string 3</PARAMETER>
<REF_CODE>sample string 4</REF_CODE>
<SEQ_ACCOUNT_PARAMETER>1</SEQ_ACCOUNT_PARAMETER>
<SEQ_PARAMETER>sample string 2</SEQ_PARAMETER>
</AccountTransactionParameterV2DTO>
</AccountTransactionParameters>
<SEQ_ACCOUNT>2</SEQ_ACCOUNT>
<SEQ_ACCOUNT_TRANSACTION>1</SEQ_ACCOUNT_TRANSACTION>
<TYPE>sample string 4</TYPE>
<VALUE>5</VALUE>
</AccountTransactionV2DTO>
</AccountTransactions>
<COMPANY_NUMBER>10</COMPANY_NUMBER>
<EXTEMPORANEOUS>sample string 16</EXTEMPORANEOUS>
<EXTEMPORANEOUS_DATE>2020-04-01T13:53:58.4835319-03:00</EXTEMPORANEOUS_DATE>
<MANAGERIAL>sample string 18</MANAGERIAL>
<MODULE>sample string 13</MODULE>
<PROCESS_NUMBER>sample string 11</PROCESS_NUMBER>
<SEQ_ACCOUNTING_ENTRY>1</SEQ_ACCOUNTING_ENTRY>
<SEQ_ALLOTMENT>4</SEQ_ALLOTMENT>
<SEQ_HISTORIC>6</SEQ_HISTORIC>
<SEQ_STANDARD_HISTORIC>8</SEQ_STANDARD_HISTORIC>
<SEQ_STATUS>sample string 15</SEQ_STATUS>
<SETTLEMENT>sample string 12</SETTLEMENT>
<STANDARD_HISTORIC>sample string 9</STANDARD_HISTORIC>
<TRANSACTION_QUANTITY>14</TRANSACTION_QUANTITY>
<TYPE>sample string 17</TYPE>
<VALUE>7</VALUE>
</AccountingEntryResponceV2DTO>
<AccountingEntryResponceV2DTO>
<ACCOUNTING_DATE>2020-04-01T13:53:58.4835319-03:00</ACCOUNTING_DATE>
<ADDITION_DATE>2020-04-01T13:53:58.4835319-03:00</ADDITION_DATE>
<ALLOTMENT_NUMBER>5</ALLOTMENT_NUMBER>
<AccountTransactions>
<AccountTransactionV2DTO>
<ACCOUNT>sample string 3</ACCOUNT>
<AccountTransactionParameters>
<AccountTransactionParameterV2DTO>
<PARAMETER>sample string 3</PARAMETER>
<REF_CODE>sample string 4</REF_CODE>
<SEQ_ACCOUNT_PARAMETER>1</SEQ_ACCOUNT_PARAMETER>
<SEQ_PARAMETER>sample string 2</SEQ_PARAMETER>
</AccountTransactionParameterV2DTO>
<AccountTransactionParameterV2DTO>
<PARAMETER>sample string 3</PARAMETER>
<REF_CODE>sample string 4</REF_CODE>
<SEQ_ACCOUNT_PARAMETER>1</SEQ_ACCOUNT_PARAMETER>
<SEQ_PARAMETER>sample string 2</SEQ_PARAMETER>
</AccountTransactionParameterV2DTO>
</AccountTransactionParameters>
<SEQ_ACCOUNT>2</SEQ_ACCOUNT>
<SEQ_ACCOUNT_TRANSACTION>1</SEQ_ACCOUNT_TRANSACTION>
<TYPE>sample string 4</TYPE>
<VALUE>5</VALUE>
</AccountTransactionV2DTO>
<AccountTransactionV2DTO>
<ACCOUNT>sample string 3</ACCOUNT>
<AccountTransactionParameters>
<AccountTransactionParameterV2DTO>
<PARAMETER>sample string 3</PARAMETER>
<REF_CODE>sample string 4</REF_CODE>
<SEQ_ACCOUNT_PARAMETER>1</SEQ_ACCOUNT_PARAMETER>
<SEQ_PARAMETER>sample string 2</SEQ_PARAMETER>
</AccountTransactionParameterV2DTO>
<AccountTransactionParameterV2DTO>
<PARAMETER>sample string 3</PARAMETER>
<REF_CODE>sample string 4</REF_CODE>
<SEQ_ACCOUNT_PARAMETER>1</SEQ_ACCOUNT_PARAMETER>
<SEQ_PARAMETER>sample string 2</SEQ_PARAMETER>
</AccountTransactionParameterV2DTO>
</AccountTransactionParameters>
<SEQ_ACCOUNT>2</SEQ_ACCOUNT>
<SEQ_ACCOUNT_TRANSACTION>1</SEQ_ACCOUNT_TRANSACTION>
<TYPE>sample string 4</TYPE>
<VALUE>5</VALUE>
</AccountTransactionV2DTO>
</AccountTransactions>
<COMPANY_NUMBER>10</COMPANY_NUMBER>
<EXTEMPORANEOUS>sample string 16</EXTEMPORANEOUS>
<EXTEMPORANEOUS_DATE>2020-04-01T13:53:58.4835319-03:00</EXTEMPORANEOUS_DATE>
<MANAGERIAL>sample string 18</MANAGERIAL>
<MODULE>sample string 13</MODULE>
<PROCESS_NUMBER>sample string 11</PROCESS_NUMBER>
<SEQ_ACCOUNTING_ENTRY>1</SEQ_ACCOUNTING_ENTRY>
<SEQ_ALLOTMENT>4</SEQ_ALLOTMENT>
<SEQ_HISTORIC>6</SEQ_HISTORIC>
<SEQ_STANDARD_HISTORIC>8</SEQ_STANDARD_HISTORIC>
<SEQ_STATUS>sample string 15</SEQ_STATUS>
<SETTLEMENT>sample string 12</SETTLEMENT>
<STANDARD_HISTORIC>sample string 9</STANDARD_HISTORIC>
<TRANSACTION_QUANTITY>14</TRANSACTION_QUANTITY>
<TYPE>sample string 17</TYPE>
<VALUE>7</VALUE>
</AccountingEntryResponceV2DTO>
</ArrayOfAccountingEntryResponceV2DTO>