Informações |
---|
| Expandir |
---|
title | Order (Retorna os dados ordenados) |
---|
| Informações |
---|
| Order: parâmetro responsável pela ordenação do resultado, podendo ser ascendente ou descendente. O resultado com a ordem descendente deve ser precedida do caractere "-" (menos). Exemplo 1: ?order=campo1 (Ascendente) Exemplo 2: ?order=-campo1 (Descendente) Múltiplos campos de ordenação: ?order=[-]campo1, [-]campo2, [-]campo3 ... |
Informações |
---|
icon | false |
---|
title | Order (Asc) |
---|
| Máscara de Url: http://{domínio}:{porta}/api/ctb/v1/AccountingEntries/{companyId}?order={campo} Informações |
---|
icon | false |
---|
title | Exemplo de Resultado |
---|
| Expandir |
---|
title | Ver resultado JSON... |
---|
| Bloco de código |
---|
language | js |
---|
theme | RDark |
---|
firstline | 1 |
---|
title | Resultado (JSON) |
---|
linenumbers | true |
---|
| {
"hasNext": true,
"items": [
{
"reversal": false,
"companyId": 6,
"entryId": 10,
"batchCode": 0,
"description": "ALTERADO VIA PUT API Alterado eae",
"accountEntry": [
{
"entryNumberId": 9,
"branchId": 12,
"branchName": "ESCOLA EXEMPLO 1",
"date": "2017-04-11T00:00:00-03:00",
"dateInclusion": "2018-04-11T16:01:07-03:00",
"companyIdDebitAccount": 6,
"debitAccount": "1.1.1.1.017",
"debitDescription": "BLOCO K 200 D",
"companyIdCreditAccount": 6,
"creditAccount": "2.1.1.1.015",
"creditDescription": "200,00 C",
"companyIdAgainstEntry": 0,
"value": 300.00,
"value2": 400.00,
"date2": "2017-04-10T00:00:00-03:00",
"historicCode": "011",
"integrateApplication": "C",
"generationType": "O",
"user": "mestre",
"complementaryFields": {
"codlote": 0,
"lctref": 0,
"idpartida": 9
},
"userModified": "mestre",
"operationId": 0,
"reversalAccountId": 0,
"groupAccountId": 0,
"accountId": 0,
"itemAmountRAS": 0,
"apportionmentDebit": [],
"apportionmentCredit": [],
"valuesCurrencies": [],
"apportionmentValuesCurrencies": []
},
{
"entryNumberId": 51,
"branchId": 12,
"branchName": "ESCOLA EXEMPLO 1",
"date": "2017-04-11T00:00:00-03:00",
"dateInclusion": "2024-02-23T09:24:20-03:00",
"companyIdDebitAccount": 6,
"debitAccount": "1.1.1.1.017",
"debitDescription": "BLOCO K 200 D",
"companyIdCreditAccount": 6,
"creditAccount": "2.1.1.1.014",
"creditDescription": "IRRF",
"companyIdAgainstEntry": 0,
"value": 200.00,
"value2": 300.00,
"date2": "2017-04-11T00:00:00-03:00",
"historicCode": "011",
"integrateApplication": "C",
"generationType": "O",
"user": "mestre",
"complementaryFields": {},
"batchCodeOrigin": 0,
"operationId": 0,
"reversalAccountId": 0,
"groupAccountId": 0,
"accountId": 0,
"itemAmountRAS": 0,
"apportionmentDebit": [],
"apportionmentCredit": [],
"valuesCurrencies": [],
"apportionmentValuesCurrencies": []
}
]
},
{
"reversal": false,
"companyId": 6,
"entryId": 11,
"batchCode": 0,
"description": "BLOCO K",
"accountEntry": [
{
"entryNumberId": 10,
"branchId": 12,
"branchName": "ESCOLA EXEMPLO 1",
"date": "2017-04-11T00:00:00-03:00",
"dateInclusion": "2018-04-11T17:06:56-03:00",
"companyIdDebitAccount": 6,
"debitAccount": "2.1.1.1.016",
"debitDescription": "585,76 D",
"companyIdCreditAccount": 6,
"creditAccount": "1.1.1.1.018",
"creditDescription": "585,76 C",
"companyIdAgainstEntry": 0,
"value": 585.76,
"value2": 1171.52,
"date2": "2017-04-11T00:00:00-03:00",
"integrateApplication": "C",
"generationType": "O",
"user": "mestre",
"complementaryFields": {
"codlote": 0,
"lctref": 10,
"idpartida": 10
},
"batchCodeOrigin": 0,
"userModified": "mestre",
"operationId": 0,
"reversalAccountId": 0,
"groupAccountId": 0,
"accountId": 0,
"itemAmountRAS": 0,
"apportionmentDebit": [],
"apportionmentCredit": [],
"valuesCurrencies": [],
"apportionmentValuesCurrencies": []
},
{
"entryNumberId": 11,
"branchId": 12,
"branchName": "ESCOLA EXEMPLO 1",
"costCenterCode": "211",
"date": "2017-04-11T00:00:00-03:00",
"dateInclusion": "2018-04-11T18:10:39-03:00",
"companyIdDebitAccount": 6,
"debitAccount": "2.1.1.1.017",
"debitDescription": "1122,12 D",
"companyIdCreditAccount": 6,
"creditAccount": "1.1.1.1.019",
"creditDescription": "1122,12 C",
"companyIdAgainstEntry": 0,
"value": 1122.12,
"value2": 2244.24,
"date2": "2017-04-11T00:00:00-03:00",
"integrateApplication": "C",
"generationType": "X",
"user": "mestre",
"complementaryFields": {
"codlote": 0,
"lctref": 11,
"idpartida": 11
},
"batchCodeOrigin": 0,
"userModified": "mestre",
"operationId": 0,
"reversalAccountId": 0,
"groupAccountId": 0,
"accountId": 0,
"itemAmountRAS": 0,
"apportionmentDebit": [],
"apportionmentCredit": [],
"valuesCurrencies": [],
"apportionmentValuesCurrencies": []
},
{
"entryNumberId": 12,
"branchId": 12,
"branchName": "ESCOLA EXEMPLO 1",
"date": "2017-04-11T00:00:00-03:00",
"dateInclusion": "2018-04-11T18:26:03-03:00",
"companyIdDebitAccount": 6,
"debitAccount": "1.1.1.1.020",
"debitDescription": "6,00 D",
"companyIdCreditAccount": 6,
"creditAccount": "2.1.1.1.018",
"creditDescription": "6,00 C",
"companyIdAgainstEntry": 0,
"value": 6.00,
"value2": 12.00,
"date2": "2017-04-11T00:00:00-03:00",
"historicCode": "011",
"integrateApplication": "C",
"generationType": "O",
"user": "mestre",
"complementaryFields": {
"codlote": 0,
"lctref": 12,
"idpartida": 12
},
"batchCodeOrigin": 0,
"userModified": "mestre",
"operationId": 0,
"reversalAccountId": 0,
"groupAccountId": 0,
"accountId": 0,
"itemAmountRAS": 0,
"apportionmentDebit": [],
"apportionmentCredit": [],
"valuesCurrencies": [],
"apportionmentValuesCurrencies": []
},
{
"entryNumberId": 13,
"branchId": 12,
"branchName": "ESCOLA EXEMPLO 1",
"costCenterCode": "211",
"date": "2017-04-11T00:00:00-03:00",
"dateInclusion": "2018-04-11T18:36:57-03:00",
"companyIdDebitAccount": 6,
"debitAccount": "2.1.1.1.019",
"debitDescription": "256,00 D",
"companyIdCreditAccount": 6,
"creditAccount": "1.1.1.1.021",
"creditDescription": "256,00 C",
"companyIdAgainstEntry": 0,
"value": 256.00,
"value2": 512.00,
"date2": "2017-04-11T00:00:00-03:00",
"integrateApplication": "C",
"generationType": "O",
"user": "mestre",
"complementaryFields": {
"codlote": 0,
"lctref": 13,
"idpartida": 13
},
"batchCodeOrigin": 0,
"userModified": "mestre",
"operationId": 0,
"reversalAccountId": 0,
"groupAccountId": 0,
"accountId": 0,
"itemAmountRAS": 0,
"apportionmentDebit": [],
"apportionmentCredit": [],
"valuesCurrencies": [],
"apportionmentValuesCurrencies": []
}
]
}
]
} |
|
|
|
|
|
Informações |
---|
| Expandir |
---|
title | Order Desc (Ordena o resultado de forma decrescente) |
---|
| Informações |
---|
icon | false |
---|
title | Order (Desc) |
---|
| Máscara de Url: http://{domínio}:{porta}/api/ctb/v1/AccountingEntries/{companyId}?order=[-]{campo} Informações |
---|
icon | false |
---|
title | Exemplo de Resultado |
---|
| Expandir |
---|
title | Ver resultado JSON... |
---|
| Bloco de código |
---|
language | js |
---|
theme | RDark |
---|
firstline | 1 |
---|
title | Resultado (JSON) |
---|
linenumbers | true |
---|
| {
"hasNext": true,
"items": [
{
"reversal": false,
"companyId": 6,
"entryId": 10,
"batchCode": 0,
"description": "ALTERADO VIA PUT API Alterado eae",
"accountEntry": [
{
"entryNumberId": 9,
"branchId": 12,
"branchName": "ESCOLA EXEMPLO 1",
"date": "2017-04-11T00:00:00-03:00",
"dateInclusion": "2018-04-11T16:01:07-03:00",
"companyIdDebitAccount": 6,
"debitAccount": "1.1.1.1.017",
"debitDescription": "BLOCO K 200 D",
"companyIdCreditAccount": 6,
"creditAccount": "2.1.1.1.015",
"creditDescription": "200,00 C",
"companyIdAgainstEntry": 0,
"value": 300.00,
"value2": 400.00,
"date2": "2017-04-10T00:00:00-03:00",
"historicCode": "011",
"integrateApplication": "C",
"generationType": "O",
"user": "mestre",
"complementaryFields": {
"codlote": 0,
"lctref": 0,
"idpartida": 9
},
"userModified": "mestre",
"operationId": 0,
"reversalAccountId": 0,
"groupAccountId": 0,
"accountId": 0,
"itemAmountRAS": 0,
"apportionmentDebit": [],
"apportionmentCredit": [],
"valuesCurrencies": [],
"apportionmentValuesCurrencies": []
},
{
"entryNumberId": 51,
"branchId": 12,
"branchName": "ESCOLA EXEMPLO 1",
"date": "2017-04-11T00:00:00-03:00",
"dateInclusion": "2024-02-23T09:24:20-03:00",
"companyIdDebitAccount": 6,
"debitAccount": "1.1.1.1.017",
"debitDescription": "BLOCO K 200 D",
"companyIdCreditAccount": 6,
"creditAccount": "2.1.1.1.014",
"creditDescription": "IRRF",
"companyIdAgainstEntry": 0,
"value": 200.00,
"value2": 300.00,
"date2": "2017-04-11T00:00:00-03:00",
"historicCode": "011",
"integrateApplication": "C",
"generationType": "O",
"user": "mestre",
"complementaryFields": {},
"batchCodeOrigin": 0,
"operationId": 0,
"reversalAccountId": 0,
"groupAccountId": 0,
"accountId": 0,
"itemAmountRAS": 0,
"apportionmentDebit": [],
"apportionmentCredit": [],
"valuesCurrencies": [],
"apportionmentValuesCurrencies": []
}
]
},
{
"reversal": false,
"companyId": 6,
"entryId": 11,
"batchCode": 0,
"description": "BLOCO K",
"accountEntry": [
{
"entryNumberId": 10,
"branchId": 12,
"branchName": "ESCOLA EXEMPLO 1",
"date": "2017-04-11T00:00:00-03:00",
"dateInclusion": "2018-04-11T17:06:56-03:00",
"companyIdDebitAccount": 6,
"debitAccount": "2.1.1.1.016",
"debitDescription": "585,76 D",
"companyIdCreditAccount": 6,
"creditAccount": "1.1.1.1.018",
"creditDescription": "585,76 C",
"companyIdAgainstEntry": 0,
"value": 585.76,
"value2": 1171.52,
"date2": "2017-04-11T00:00:00-03:00",
"integrateApplication": "C",
"generationType": "O",
"user": "mestre",
"complementaryFields": {
"codlote": 0,
"lctref": 10,
"idpartida": 10
},
"batchCodeOrigin": 0,
"userModified": "mestre",
"operationId": 0,
"reversalAccountId": 0,
"groupAccountId": 0,
"accountId": 0,
"itemAmountRAS": 0,
"apportionmentDebit": [],
"apportionmentCredit": [],
"valuesCurrencies": [],
"apportionmentValuesCurrencies": []
},
{
"entryNumberId": 11,
"branchId": 12,
"branchName": "ESCOLA EXEMPLO 1",
"costCenterCode": "211",
"date": "2017-04-11T00:00:00-03:00",
"dateInclusion": "2018-04-11T18:10:39-03:00",
"companyIdDebitAccount": 6,
"debitAccount": "2.1.1.1.017",
"debitDescription": "1122,12 D",
"companyIdCreditAccount": 6,
"creditAccount": "1.1.1.1.019",
"creditDescription": "1122,12 C",
"companyIdAgainstEntry": 0,
"value": 1122.12,
"value2": 2244.24,
"date2": "2017-04-11T00:00:00-03:00",
"integrateApplication": "C",
"generationType": "X",
"user": "mestre",
"complementaryFields": {
"codlote": 0,
"lctref": 11,
"idpartida": 11
},
"batchCodeOrigin": 0,
"userModified": "mestre",
"operationId": 0,
"reversalAccountId": 0,
"groupAccountId": 0,
"accountId": 0,
"itemAmountRAS": 0,
"apportionmentDebit": [],
"apportionmentCredit": [],
"valuesCurrencies": [],
"apportionmentValuesCurrencies": []
},
{
"entryNumberId": 12,
"branchId": 12,
"branchName": "ESCOLA EXEMPLO 1",
"date": "2017-04-11T00:00:00-03:00",
"dateInclusion": "2018-04-11T18:26:03-03:00",
"companyIdDebitAccount": 6,
"debitAccount": "1.1.1.1.020",
"debitDescription": "6,00 D",
"companyIdCreditAccount": 6,
"creditAccount": "2.1.1.1.018",
"creditDescription": "6,00 C",
"companyIdAgainstEntry": 0,
"value": 6.00,
"value2": 12.00,
"date2": "2017-04-11T00:00:00-03:00",
"historicCode": "011",
"integrateApplication": "C",
"generationType": "O",
"user": "mestre",
"complementaryFields": {
"codlote": 0,
"lctref": 12,
"idpartida": 12
},
"batchCodeOrigin": 0,
"userModified": "mestre",
"operationId": 0,
"reversalAccountId": 0,
"groupAccountId": 0,
"accountId": 0,
"itemAmountRAS": 0,
"apportionmentDebit": [],
"apportionmentCredit": [],
"valuesCurrencies": [],
"apportionmentValuesCurrencies": []
},
{
"entryNumberId": 13,
"branchId": 12,
"branchName": "ESCOLA EXEMPLO 1",
"costCenterCode": "211",
"date": "2017-04-11T00:00:00-03:00",
"dateInclusion": "2018-04-11T18:36:57-03:00",
"companyIdDebitAccount": 6,
"debitAccount": "2.1.1.1.019",
"debitDescription": "256,00 D",
"companyIdCreditAccount": 6,
"creditAccount": "1.1.1.1.021",
"creditDescription": "256,00 C",
"companyIdAgainstEntry": 0,
"value": 256.00,
"value2": 512.00,
"date2": "2017-04-11T00:00:00-03:00",
"integrateApplication": "C",
"generationType": "O",
"user": "mestre",
"complementaryFields": {
"codlote": 0,
"lctref": 13,
"idpartida": 13
},
"batchCodeOrigin": 0,
"userModified": "mestre",
"operationId": 0,
"reversalAccountId": 0,
"groupAccountId": 0,
"accountId": 0,
"itemAmountRAS": 0,
"apportionmentDebit": [],
"apportionmentCredit": [],
"valuesCurrencies": [],
"apportionmentValuesCurrencies": []
}
]
}
]
} |
|
|
|
|
|
|
|
|