Árvore de páginas

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

Exemplo de retorno da requisição:

GET http://<ip:port>/api/bo-ba/v1/insights/stock/rupturealert?cUserId=000001&cBranch=D%20MG%2001&cComGrp=T1&nPage=1&nPageSize=10

Bloco de código
languagejs
themeRDark
titleresponse.json
collapsetrue
{
    "branchs": "D MG 01",
    "coduser": "000000",
    "company": "T1",
    "items": {
        "alerts": [
            {
                "accuracy": 87.69,
                "branch": "D MG 01",
                "code": "000102",
                "company_group": "T1",
                "desc_espec": "",
                "description": "EMBALAGEM - ARROZ PARBOILIZADO SABOR SUL 6X5KG TP1 LF",
                "forecast_value": 518,
                "frequency": "D",
                "graphPoints": [
                    {
                        "code": "000102",
                        "final_reference_date": "2023-12-10T03:00:00-03:00",
                        "frequency": "D",
                        "id": "2b86ef8a63f702aaa59dc397817908b6",
                        "initial_reference_date": "2023-12-10T03:00:00-03:00",
                        "lower_bound": 6176.721,
                        "pb_value": 6407.721,
                        "prediction": true,
                        "tenantid": "20938a01-1e6d-4041-80c5-f4d980603e37",
                        "upper_bound": 6637.721
                    }
                ],
                "group_code": "0191",
                "group_description": "EMBALAGEM",
                "id": "2b86ef8a63f702aaa59dc397817908b6",
                "inventory_periodicity": "0",
                "last_revision_date": "2022-02-04T00:00:00-03:00",
                "max_stock": 0,
                "mdmLastUpdated": "2023-12-05T16:53:26-03:00",
                "minimum_lot": 0,
                "origin": "0",
                "pb_calculate": true,
                "replenishment": 11322,
                "safety_stock": 5627,
                "stock_out_date": "2023-12-02T03:00:00-03:00",
                "stock_quantity": 7475,
                "storage": "01",
                "store": "    ",
                "supplier": "      ",
                "suppliername": "",
                "tenantId": "a066b32a-9565-463b-863d-1cb65562546e",
                "type": "EM",
                "type_description": "EMBALAGEM",
                "unity": "KG"
            }
        ],
        "tenantId": null
    },
    "sessionId": "a16d8a68f2701004480BB7C04F344632"
 }

...