Histórico da Página
...
tpesagapi/api/agr/v1/composition
...
tabs | GET-DATA,GET-fields,GET-entityHeader,GET-analysis,GET-discountRangesHE,GET-driver,GET-equipments,GET-product,POST-composition |
---|---|
ids | GET-DATA,GET-fields,GET-entityHeader,GET-analysis,GET-discountRangesHE,GET-driver,GET-equipments,GET-product,POST-composition |
Totvs custom tabs box items | ||||
---|---|---|---|---|
| ||||
Exemplo json /rest/tpesagapi/api/agr/v1/data/NJU deve informar a tabela a ser buscado os dados podenso ser NJU, NJ0, NNR { |
Totvs custom tabs box items | ||||
---|---|---|---|---|
| ||||
Exemplo json tpesagapi/api/agr/v1/composition/fields { |
Totvs custom tabs box items | ||||
---|---|---|---|---|
| ||||
Exemplo json tpesagapi/api/agr/v1/entityHeader { |
Totvs custom tabs box items | ||||
---|---|---|---|---|
| ||||
Exemplo json /rest/tpesagapi/api/agr/v1/analysis { |
...
default | no |
---|---|
referencia | GET-discountRangesHE |
Exemplo json tpesagapi/api/agr/v1/discountRangesHE
{
"items": [
{
"id": "000001",
"analysisHE": {
"idAnalysis": "000001",
"cdAnalysis": "000001",
"deAnalysis": "TABELA PAD SOJA DESC",
"lstAnalysisDe": [
{
"idAnlDe": "000001000001",
"idAnalysesHe": "000001",
"cdAnlDe": "000001",
"deAnlDe": "UMIDADE",
"daAnlDe": "UMIDADE",
"qtSize": "8",
"qtDecimals": "2",
"noInput": 1,
"noSeqTyping": 1,
"noSeqPrint": 1,
"deductNetWei": "S",
"noSeqdeduct": 1,
"required": "N",
"type": "NUMBER",
"roundType": "SEM_ARREDONDAMENTO"
},
{
"idAnlDe": "000001000002",
"idAnalysesHe": "000001",
"cdAnlDe": "000002",
"deAnlDe": "QUEBRADO",
"daAnlDe": "QUEBRADO",
"qtSize": "8",
"qtDecimals": "2",
"noInput": 2,
"noSeqTyping": 2,
"noSeqPrint": 2,
"deductNetWei": "S",
"noSeqdeduct": 2,
"required": "N",
"type": "NUMBER",
"roundType": "SEM_ARREDONDAMENTO"
}
]
},
"description": "SOJA A GRANEL",
"products": ["AGR-SOJA GRANEL"],
"discountProducts": [ {
"id": "000001AGR-SOJA GRANEL",
"idProduct": "AGR-SOJA GRANEL",
"cdProduct": "AGR-SOJA GRANEL",
"idDiscountRange": "000001"
}],
"listDiscountRangesDE": [
{
"id": "0000010000010000010",
"value": 0.99,
"discount": 0,
"discountRangesHE": {
"id": "000002",
"listDiscountRangesDE": [],
"description": "TAB SOJA EXIGE CLASS",
"analysisHE": {
"idAnalysis": "000002",
"cdAnalysis": "000002",
"deAnalysis": "TAB SOJA EXIGE CLASS"
}
},
"analysisDE": {
"idAnlDe": "000002000001",
"idAnalysesHe": "000002",
"cdAnlDe": "000001",
"deAnlDe": "UMIDADE",
"daAnlDe": "UMIDADE",
"qtSize": "8",
"qtDecimals": "2",
"noInput": 1,
"noSeqTyping": 1,
"noSeqPrint": 1,
"deductNetWei": "S",
"noSeqdeduct": 1,
"required": "N",
"type": "NUMBER",
"roundType": "SEM_ARREDONDAMENTO"
}
},
{
"id": "0000010000010000011",
"value": 27,
"discount": 10,
"discountRangesHE": {
"id": "000002",
"listDiscountRangesDE": [],
"description": "TAB SOJA EXIGE CLASS",
"analysisHE": {
"idAnalysis": "000002",
"cdAnalysis": "000002",
"deAnalysis": "TAB SOJA EXIGE CLASS"
}
},
"analysisDE": {
"idAnlDe": "000002000001",
"idAnalysesHe": "000002",
"cdAnlDe": "000001",
"deAnlDe": "UMIDADE",
"daAnlDe": "UMIDADE",
"qtSize": "8",
"qtDecimals": "2",
"noInput": 2,
"noSeqTyping": 2,
"noSeqPrint": 2,
"deductNetWei": "S",
"noSeqdeduct": 2,
"required": "N",
"type": "NUMBER",
"roundType": "SEM_ARREDONDAMENTO"
}
},
{
"id": "0000010000020000010",
"value": 0.99,
"discount": 0,
"discountRangesHE": {
"id": "000002",
"listDiscountRangesDE": [],
"description": "TAB SOJA EXIGE CLASS",
"analysisHE": {
"idAnalysis": "000002",
"cdAnalysis": "000002",
"deAnalysis": "TAB SOJA EXIGE CLASS"
}
},
"analysisDE": {
"idAnlDe": "000002000001",
"idAnalysesHe": "000002",
"cdAnlDe": "000001",
"deAnlDe": "UMIDADE",
"daAnlDe": "UMIDADE",
"qtSize": "8",
"qtDecimals": "2",
"noInput": 3,
"noSeqTyping": 3,
"noSeqPrint": 3,
"deductNetWei": "S",
"noSeqdeduct": 3,
"required": "N",
"type": "NUMBER",
"roundType": "SEM_ARREDONDAMENTO"
}
},
{
"id": "0000010000020000011",
"value": 50,
"discount": 10,
"discountRangesHE": {
"id": "000002",
"listDiscountRangesDE": [],
"description": "TAB SOJA EXIGE CLASS",
"analysisHE": {
"idAnalysis": "000002",
"cdAnalysis": "000002",
"deAnalysis": "TAB SOJA EXIGE CLASS"
}
},
"analysisDE": {
"idAnlDe": "000002000002",
"idAnalysesHe": "000002",
"cdAnlDe": "000002",
"deAnlDe": "QUEBRADO",
"daAnlDe": "QUEBRADO",
"qtSize": "8",
"qtDecimals": "2",
"noInput": 4,
"noSeqTyping": 4,
"noSeqPrint": 4,
"deductNetWei": "S",
"noSeqdeduct": 4,
"required": "N",
"type": "NUMBER",
"roundType": "SEM_ARREDONDAMENTO"
}
}
]
},
{
"id": "000002",
"analysisHE": {
"idAnalysis": "000002",
"cdAnalysis": "000002",
"deAnalysis": "TAB SOJA EXIGE CLASS",
"lstAnalysisDe": [
{
"idAnlDe": "000002000001",
"idAnalysesHe": "000002",
"cdAnlDe": "000001",
"deAnlDe": "UMIDADE",
"daAnlDe": "UMIDADE",
"qtSize": "8",
"qtDecimals": "2",
"noInput": 1,
"noSeqTyping": 1,
"noSeqPrint": 1,
"deductNetWei": "S",
"noSeqdeduct": 1,
"required": "N",
"type": "NUMBER",
"roundType": "SEM_ARREDONDAMENTO"
},
{
"idAnlDe": "000002000001",
"idAnalysesHe": "000002",
"cdAnlDe": "000001",
"deAnlDe": "UMIDADE",
"daAnlDe": "UMIDADE",
"qtSize": "8",
"qtDecimals": "2",
"noInput": 2,
"noSeqTyping": 2,
"noSeqPrint": 2,
"deductNetWei": "S",
"noSeqdeduct": 2,
"required": "N",
"type": "NUMBER",
"roundType": "SEM_ARREDONDAMENTO"
},
{
"idAnlDe": "000002000002",
"idAnalysesHe": "000002",
"cdAnlDe": "000002",
"deAnlDe": "QUEBRADO",
"daAnlDe": "QUEBRADO",
"qtSize": "8",
"qtDecimals": "2",
"noInput": 3,
"noSeqTyping": 3,
"noSeqPrint": 3,
"deductNetWei": "S",
"noSeqdeduct": 3,
"required": "N",
"type": "NUMBER",
"roundType": "SEM_ARREDONDAMENTO"
},
{
"idAnlDe": "000002000002",
"idAnalysesHe": "000002",
"cdAnlDe": "000002",
"deAnlDe": "QUEBRADO",
"daAnlDe": "QUEBRADO",
"qtSize": "8",
"qtDecimals": "2",
"noInput": 4,
"noSeqTyping": 4,
"noSeqPrint": 4,
"deductNetWei": "S",
"noSeqdeduct": 4,
"required": "N",
"type": "NUMBER",
"roundType": "SEM_ARREDONDAMENTO"
},
{
"idAnlDe": "000002000004",
"idAnalysesHe": "000002",
"cdAnlDe": "000004",
"deAnlDe": "ARDIDOS",
"daAnlDe": "ARDIDOS",
"qtSize": "8",
"qtDecimals": "2",
"noInput": 5,
"noSeqTyping": 5,
"noSeqPrint": 5,
"deductNetWei": "S",
"noSeqdeduct": 5,
"required": "N",
"type": "NUMBER",
"roundType": "SEM_ARREDONDAMENTO"
},
{
"idAnlDe": "000002000006",
"idAnalysesHe": "000002",
"cdAnlDe": "000006",
"deAnlDe": "MOFADOS",
"daAnlDe": "MOFADOS",
"qtSize": "8",
"qtDecimals": "2",
"noInput": 6,
"noSeqTyping": 6,
"noSeqPrint": 6,
"deductNetWei": "S",
"noSeqdeduct": 6,
"required": "N",
"type": "NUMBER",
"roundType": "SEM_ARREDONDAMENTO"
},
{
"idAnlDe": "000002000007",
"idAnalysesHe": "000002",
"cdAnlDe": "000007",
"deAnlDe": "ESVERDEADOS",
"daAnlDe": "ESVERDEADO",
"qtSize": "8",
"qtDecimals": "2",
"noInput": 7,
"noSeqTyping": 7,
"noSeqPrint": 7,
"deductNetWei": "S",
"noSeqdeduct": 7,
"required": "N",
"type": "NUMBER",
"roundType": "SEM_ARREDONDAMENTO"
},
{
"idAnlDe": "000002000010",
"idAnalysesHe": "000002",
"cdAnlDe": "000010",
"deAnlDe": "AVARIADOS",
"daAnlDe": "AVARIADOS",
"qtSize": "8",
"qtDecimals": "2",
"noInput": 8,
"noSeqTyping": 8,
"noSeqPrint": 8,
"deductNetWei": "S",
"noSeqdeduct": 8,
"required": "N",
"type": "NUMBER",
"roundType": "SEM_ARREDONDAMENTO"
}
]
},
"description": "SOJA A GRANEL",
"products": ["AGR-SOJA GRANEL"],
"discountProducts": [ {
"id": "000002AGR-SOJA GRANEL",
"idProduct": "AGR-SOJA GRANEL",
"cdProduct": "AGR-SOJA GRANEL",
"idDiscountRange": "000002"
}],
"listDiscountRangesDE": [
{
"id": "0000020000010000010",
"value": 1.99,
"discount": 0,
"discountRangesHE": {
"id": "000002",
"listDiscountRangesDE": [],
"description": "TAB SOJA EXIGE CLASS",
"analysisHE": {
"idAnalysis": "000002",
"cdAnalysis": "000002",
"deAnalysis": "TAB SOJA EXIGE CLASS"
}
},
"analysisDE": {
"idAnlDe": "000002000001",
"idAnalysesHe": "000002",
"cdAnlDe": "000001",
"deAnlDe": "UMIDADE",
"daAnlDe": "UMIDADE",
"qtSize": "8",
"qtDecimals": "2",
"noInput": 1,
"noSeqTyping": 1,
"noSeqPrint": 1,
"deductNetWei": "S",
"noSeqdeduct": 1,
"required": "N",
"type": "NUMBER",
"roundType": "SEM_ARREDONDAMENTO"
}
},
{
"id": "0000020000010000011",
"value": 10,
"discount": 5,
"discountRangesHE": {
"id": "000002",
"listDiscountRangesDE": [],
"description": "TAB SOJA EXIGE CLASS",
"analysisHE": {
"idAnalysis": "000002",
"cdAnalysis": "000002",
"deAnalysis": "TAB SOJA EXIGE CLASS"
}
},
"analysisDE": {
"idAnlDe": "000002000001",
"idAnalysesHe": "000002",
"cdAnlDe": "000001",
"deAnlDe": "UMIDADE",
"daAnlDe": "UMIDADE",
"qtSize": "8",
"qtDecimals": "2",
"noInput": 2,
"noSeqTyping": 2,
"noSeqPrint": 2,
"deductNetWei": "S",
"noSeqdeduct": 2,
"required": "N",
"type": "NUMBER",
"roundType": "SEM_ARREDONDAMENTO"
}
},
{
"id": "0000020000010000021",
"value": 30,
"discount": 10,
"discountRangesHE": {
"id": "000002",
"listDiscountRangesDE": [],
"description": "TAB SOJA EXIGE CLASS",
"analysisHE": {
"idAnalysis": "000002",
"cdAnalysis": "000002",
"deAnalysis": "TAB SOJA EXIGE CLASS"
}
},
"analysisDE": {
"idAnlDe": "000002000001",
"idAnalysesHe": "000002",
"cdAnlDe": "000001",
"deAnlDe": "UMIDADE",
"daAnlDe": "UMIDADE",
"qtSize": "8",
"qtDecimals": "2",
"noInput": 3,
"noSeqTyping": 3,
"noSeqPrint": 3,
"deductNetWei": "S",
"noSeqdeduct": 3,
"required": "N",
"type": "NUMBER",
"roundType": "SEM_ARREDONDAMENTO"
}
},
{
"id": "0000020000020000010",
"value": 1.99,
"discount": 0,
"discountRangesHE": {
"id": "000002",
"listDiscountRangesDE": [],
"description": "TAB SOJA EXIGE CLASS",
"analysisHE": {
"idAnalysis": "000002",
"cdAnalysis": "000002",
"deAnalysis": "TAB SOJA EXIGE CLASS"
}
},
"analysisDE": {
"idAnlDe": "000002000002",
"idAnalysesHe": "000002",
"cdAnlDe": "000002",
"deAnlDe": "QUEBRADO",
"daAnlDe": "QUEBRADO",
"qtSize": "8",
"qtDecimals": "2",
"noInput": 4,
"noSeqTyping": 4,
"noSeqPrint": 4,
"deductNetWei": "S",
"noSeqdeduct": 4,
"required": "N",
"type": "NUMBER",
"roundType": "SEM_ARREDONDAMENTO"
}
},
{
"id": "0000020000020000011",
"value": 10,
"discount": 5,
"discountRangesHE": {
"id": "000002",
"listDiscountRangesDE": [],
"description": "TAB SOJA EXIGE CLASS",
"analysisHE": {
"idAnalysis": "000002",
"cdAnalysis": "000002",
"deAnalysis": "TAB SOJA EXIGE CLASS"
}
},
"analysisDE": {
"idAnlDe": "000002000002",
"idAnalysesHe": "000002",
"cdAnlDe": "000002",
"deAnlDe": "QUEBRADO",
"daAnlDe": "QUEBRADO",
"qtSize": "8",
"qtDecimals": "2",
"noInput": 5,
"noSeqTyping": 5,
"noSeqPrint": 5,
"deductNetWei": "S",
"noSeqdeduct": 5,
"required": "N",
"type": "NUMBER",
"roundType": "SEM_ARREDONDAMENTO"
}
},
{
"id": "0000020000020000021",
"value": 20,
"discount": 10,
"discountRangesHE": {
"id": "000002",
"listDiscountRangesDE": [],
"description": "TAB SOJA EXIGE CLASS",
"analysisHE": {
"idAnalysis": "000002",
"cdAnalysis": "000002",
"deAnalysis": "TAB SOJA EXIGE CLASS"
}
},
"analysisDE": {
"idAnlDe": "000002000002",
"idAnalysesHe": "000002",
"cdAnlDe": "000002",
"deAnlDe": "QUEBRADO",
"daAnlDe": "QUEBRADO",
"qtSize": "8",
"qtDecimals": "2",
"noInput": 6,
"noSeqTyping": 6,
"noSeqPrint": 6,
"deductNetWei": "S",
"noSeqdeduct": 6,
"required": "N",
"type": "NUMBER",
"roundType": "SEM_ARREDONDAMENTO"
}
},
{
"id": "0000020000040000010",
"value": 1.99,
"discount": 0,
"discountRangesHE": {
"id": "000002",
"listDiscountRangesDE": [],
"description": "TAB SOJA EXIGE CLASS",
"analysisHE": {
"idAnalysis": "000002",
"cdAnalysis": "000002",
"deAnalysis": "TAB SOJA EXIGE CLASS"
}
},
"analysisDE": {
"idAnlDe": "000002000004",
"idAnalysesHe": "000002",
"cdAnlDe": "000004",
"deAnlDe": "ARDIDOS",
"daAnlDe": "ARDIDOS",
"qtSize": "8",
"qtDecimals": "2",
"noInput": 7,
"noSeqTyping": 7,
"noSeqPrint": 7,
"deductNetWei": "S",
"noSeqdeduct": 7,
"required": "N",
"type": "NUMBER",
"roundType": "SEM_ARREDONDAMENTO"
}
},
{
"id": "0000020000040000011",
"value": 10,
"discount": 5,
"discountRangesHE": {
"id": "000002",
"listDiscountRangesDE": [],
"description": "TAB SOJA EXIGE CLASS",
"analysisHE": {
"idAnalysis": "000002",
"cdAnalysis": "000002",
"deAnalysis": "TAB SOJA EXIGE CLASS"
}
},
"analysisDE": {
"idAnlDe": "000002000004",
"idAnalysesHe": "000002",
"cdAnlDe": "000004",
"deAnlDe": "ARDIDOS",
"daAnlDe": "ARDIDOS",
"qtSize": "8",
"qtDecimals": "2",
"noInput": 8,
"noSeqTyping": 8,
"noSeqPrint": 8,
"deductNetWei": "S",
"noSeqdeduct": 8,
"required": "N",
"type": "NUMBER",
"roundType": "SEM_ARREDONDAMENTO"
}
},
{
"id": "0000020000060000010",
"value": 1.99,
"discount": 0,
"discountRangesHE": {
"id": "000002",
"listDiscountRangesDE": [],
"description": "TAB SOJA EXIGE CLASS",
"analysisHE": {
"idAnalysis": "000002",
"cdAnalysis": "000002",
"deAnalysis": "TAB SOJA EXIGE CLASS"
}
},
"analysisDE": {
"idAnlDe": "000002000006",
"idAnalysesHe": "000002",
"cdAnlDe": "000006",
"deAnlDe": "MOFADOS",
"daAnlDe": "MOFADOS",
"qtSize": "8",
"qtDecimals": "2",
"noInput": 9,
"noSeqTyping": 9,
"noSeqPrint": 9,
"deductNetWei": "S",
"noSeqdeduct": 9,
"required": "N",
"type": "NUMBER",
"roundType": "SEM_ARREDONDAMENTO"
}
},
{
"id": "0000020000060000011",
"value": 10,
"discount": 5,
"discountRangesHE": {
"id": "000002",
"listDiscountRangesDE": [],
"description": "TAB SOJA EXIGE CLASS",
"analysisHE": {
"idAnalysis": "000002",
"cdAnalysis": "000002",
"deAnalysis": "TAB SOJA EXIGE CLASS"
}
},
"analysisDE": {
"idAnlDe": "000002000006",
"idAnalysesHe": "000002",
"cdAnlDe": "000006",
"deAnlDe": "MOFADOS",
"daAnlDe": "MOFADOS",
"qtSize": "8",
"qtDecimals": "2",
"noInput": 10,
"noSeqTyping": 10,
"noSeqPrint": 10,
"deductNetWei": "S",
"noSeqdeduct": 10,
"required": "N",
"type": "NUMBER",
"roundType": "SEM_ARREDONDAMENTO"
}
},
{
"id": "0000020000070000010",
"value": 1.99,
"discount": 0,
"discountRangesHE": {
"id": "000002",
"listDiscountRangesDE": [],
"description": "TAB SOJA EXIGE CLASS",
"analysisHE": {
"idAnalysis": "000002",
"cdAnalysis": "000002",
"deAnalysis": "TAB SOJA EXIGE CLASS"
}
},
"analysisDE": {
"idAnlDe": "000002000007",
"idAnalysesHe": "000002",
"cdAnlDe": "000007",
"deAnlDe": "ESVERDEADOS",
"daAnlDe": "ESVERDEADO",
"qtSize": "8",
"qtDecimals": "2",
"noInput": 11,
"noSeqTyping": 11,
"noSeqPrint": 11,
"deductNetWei": "S",
"noSeqdeduct": 11,
"required": "N",
"type": "NUMBER",
"roundType": "SEM_ARREDONDAMENTO"
}
},
{
"id": "0000020000070000011",
"value": 10,
"discount": 5,
"discountRangesHE": {
"id": "000002",
"listDiscountRangesDE": [],
"description": "TAB SOJA EXIGE CLASS",
"analysisHE": {
"idAnalysis": "000002",
"cdAnalysis": "000002",
"deAnalysis": "TAB SOJA EXIGE CLASS"
}
},
"analysisDE": {
"idAnlDe": "000002000007",
"idAnalysesHe": "000002",
"cdAnlDe": "000007",
"deAnlDe": "ESVERDEADOS",
"daAnlDe": "ESVERDEADO",
"qtSize": "8",
"qtDecimals": "2",
"noInput": 12,
"noSeqTyping": 12,
"noSeqPrint": 12,
"deductNetWei": "S",
"noSeqdeduct": 12,
"required": "N",
"type": "NUMBER",
"roundType": "SEM_ARREDONDAMENTO"
}
},
{
"id": "0000020000100000010",
"value": 1.99,
"discount": 0,
"discountRangesHE": {
"id": "000002",
"listDiscountRangesDE": [],
"description": "TAB SOJA EXIGE CLASS",
"analysisHE": {
"idAnalysis": "000002",
"cdAnalysis": "000002",
"deAnalysis": "TAB SOJA EXIGE CLASS"
}
},
"analysisDE": {
"idAnlDe": "000002000010",
"idAnalysesHe": "000002",
"cdAnlDe": "000010",
"deAnlDe": "AVARIADOS",
"daAnlDe": "AVARIADOS",
"qtSize": "8",
"qtDecimals": "2",
"noInput": 13,
"noSeqTyping": 13,
"noSeqPrint": 13,
"deductNetWei": "S",
"noSeqdeduct": 13,
"required": "N",
"type": "NUMBER",
"roundType": "SEM_ARREDONDAMENTO"
}
},
{
"id": "0000020000100000011",
"value": 10,
"discount": 5,
"discountRangesHE": {
"id": "000002",
"listDiscountRangesDE": [],
"description": "TAB SOJA EXIGE CLASS",
"analysisHE": {
"idAnalysis": "000002",
"cdAnalysis": "000002",
"deAnalysis": "TAB SOJA EXIGE CLASS"
}
},
"analysisDE": {
"idAnlDe": "000002000010",
"idAnalysesHe": "000002",
"cdAnlDe": "000010",
"deAnlDe": "AVARIADOS",
"daAnlDe": "AVARIADOS",
"qtSize": "8",
"qtDecimals": "2",
"noInput": 14,
"noSeqTyping": 14,
"noSeqPrint": 14,
"deductNetWei": "S",
"noSeqdeduct": 14,
"required": "N",
"type": "NUMBER",
"roundType": "SEM_ARREDONDAMENTO"
}
}
]
}
],
"hasNext": false
}
Totvs custom tabs box items | ||||
---|---|---|---|---|
| ||||
Exemplo json tpesagapi/api/agr/v1/driver { |
Totvs custom tabs box items | ||||
---|---|---|---|---|
| ||||
Exemplo json tpesagapi/api/agr/v1/equipments { |
Totvs custom tabs box items | ||||
---|---|---|---|---|
| ||||
Exemplo json tpesagapi/api/agr/v1/product { |
Totvs custom tabs box items | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||
Exemplo json tpesagapi/api/agr/v1/composition
|
04. DEMAIS INFORMAÇÕES
Não se aplica
...