{
    "apifoxCli": "2.2.8",
    "info": {
        "name": "最后餐详情单GET只读原表验收"
    },
    "item": [
        {
            "name": "Meal infos",
            "item": [
                {
                    "id": "PILOT_TA_MI_CANDIDATE",
                    "name": "terminal last meal infos candidate",
                    "type": "http",
                    "metaInfo": {
                        "type": "HTTP"
                    },
                    "request": {
                        "method": "GET",
                        "url": "{{base_url}}/terminal/meal.meal/infos?staff_id={{staff_id}}",
                        "header": [
                            {
                                "key": "Host",
                                "value": "analysis-natural.invalid"
                            },
                            {
                                "key": "Access-Token",
                                "value": "{{terminal_token}}"
                            },
                            {
                                "key": "Platform",
                                "value": "POC"
                            },
                            {
                                "key": "X-Pilot-Scenario",
                                "value": "PILOT_TA_MI_CANDIDATE"
                            }
                        ]
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "type": "text/javascript",
                                "exec": [
                                    "pm.test('HTTP200',function(){pm.response.to.have.status(200);});var b=pm.response.json();",
                                    "pm.test('Numeric business200',function(){pm.expect(b.status).to.eql(200);});",
                                    "pm.test('Business status only; full three-table oracle requires private runner',function(){pm.expect(b.status).to.eql(200);});",
                                    "pm.test('Trace contract',function(){pm.expect(b.trace_id).to.match(/^[0-9a-f]{13}$/);});"
                                ]
                            }
                        }
                    ]
                }
            ]
        }
    ]
}