list_item_departments


GET /list_item_departments

To get a list of item departments.

/list_item_departments?token=XXXXX

field description
token Credentials provided by Powersoft that allow access to the API

Returns

      {
        "api_response": {
            "response_code": "1",
            "response_msg": "OK",
            "response_id": ""
        },
        "list_item_departments": [
            {
                "item_department_parent_code_365": "",
                "item_department_parent_name": "",
                "item_department_parent_other_name": "",
                "item_department_parent_secondary_code": "",
                "item_department_code_365": "",
                "item_department_name": "DEPARTMENT",
                "item_department_other_name": "",
                "item_department_secondary_code": ""
            },
            {
                "item_department_parent_code_365": "",
                "item_department_parent_name": "DEPARTMENT",
                "item_department_parent_other_name": "",
                "item_department_parent_secondary_code": "",
                "item_department_code_365": "MENC",
                "item_department_name": "MENS CLOTHING",
                "item_department_other_name": "",
                "item_department_secondary_code": ""
            },
            {
                "item_department_parent_code_365": "",
                "item_department_parent_name": "DEPARTMENT",
                "item_department_parent_other_name": "",
                "item_department_parent_secondary_code": "",
                "item_department_code_365": "WOMC",
                "item_department_name": "WOMENS CLOTHING",
                "item_department_other_name": "",
                "item_department_secondary_code": ""
            },
            {
                "item_department_parent_code_365": "",
                "item_department_parent_name": "DEPARTMENT",
                "item_department_parent_other_name": "",
                "item_department_parent_secondary_code": "",
                "item_department_code_365": "EB",
                "item_department_name": "EV BAR",
                "item_department_other_name": "",
                "item_department_secondary_code": "",
                "list_modifiers_groups": [
                    {
                        "modifier_group_header": {
                            "modifier_group_code": "COFFE",
                            "modifier_group_description": "COFFEES",
                            "modifier_group_position": 1,
                            "allow_multiple_selection": true,
                            "force_selection": true
                        },
                        "list_modifiers": [
                            {
                                "modifier_code_365": "AM",
                                "modifier_name": "AMARETTO SHOT",
                                "item_department_code_365": "BAR",
                                "item_department_name": "BAR",
                                "item_category_code_365": "N/A",
                                "item_category_name": "N/A",
                                "charge_amount": 0.0000,
                                "vat_code_365": "",
                                "vat_value": 0.0000,
                                "display_on_invoice": false,
                                "item_code_365": "N/A",
                                "item_name": "N/A",
                                "display_colour": "#FFDAB9",
                                "to_delete": false,
                                "position_inside_group": 999
                            },
                            {
                                "modifier_code_365": "BRA",
                                "modifier_name": "Brazil Beta",
                                "item_department_code_365": "N/A",
                                "item_department_name": "N/A",
                                "item_category_code_365": "ITA",
                                "item_category_name": "ICE COFFEE",
                                "charge_amount": 0.3000,
                                "vat_code_365": "009",
                                "vat_value": 0.0900,
                                "display_on_invoice": true,
                                "item_code_365": "ESYCA",
                                "item_name": "EXTRA SYRUP",
                                "display_colour": "#FFDAB9",
                                "to_delete": false,
                                "position_inside_group": 999
                            },
                            {
                                "modifier_code_365": "CA",
                                "modifier_name": "CARAMEL",
                                "item_department_code_365": "BAR",
                                "item_department_name": "BAR",
                                "item_category_code_365": "N/A",
                                "item_category_name": "N/A",
                                "charge_amount": 0.0000,
                                "vat_code_365": "",
                                "vat_value": 0.0000,
                                "display_on_invoice": false,
                                "item_code_365": "N/A",
                                "item_name": "N/A",
                                "display_colour": "#FFDAB9",
                                "to_delete": false,
                                "position_inside_group": 999
                            },
                            {
                                "modifier_code_365": "CARA",
                                "modifier_name": "EXTRA SHOT",
                                "item_department_code_365": "BAR",
                                "item_department_name": "BAR",
                                "item_category_code_365": "N/A",
                                "item_category_name": "N/A",
                                "charge_amount": 0.5000,
                                "vat_code_365": "009",
                                "vat_value": 0.0900,
                                "display_on_invoice": true,
                                "item_code_365": "EXSCA",
                                "item_name": "EXTRA SHOT",
                                "display_colour": "#FFDAB9",
                                "to_delete": false,
                                "position_inside_group": 999
                            },
                            {
                                "modifier_code_365": "1111",
                                "modifier_name": "GLIKO",
                                "item_department_code_365": "BAR",
                                "item_department_name": "BAR",
                                "item_category_code_365": "N/A",
                                "item_category_name": "N/A",
                                "charge_amount": 0.0000,
                                "vat_code_365": "",
                                "vat_value": 0.0000,
                                "display_on_invoice": false,
                                "item_code_365": "N/A",
                                "item_name": "N/A",
                                "display_colour": "#FFDAB9",
                                "to_delete": false,
                                "position_inside_group": 999
                            },
                            {
                                "modifier_code_365": "MILKLI",
                                "modifier_name": "LIGHT MILK ",
                                "item_department_code_365": "N/A",
                                "item_department_name": "N/A",
                                "item_category_code_365": "ITA",
                                "item_category_name": "ICE COFFEE",
                                "charge_amount": 0.0000,
                                "vat_code_365": "",
                                "vat_value": 0.0000,
                                "display_on_invoice": false,
                                "item_code_365": "N/A",
                                "item_name": "N/A",
                                "display_colour": "#CC99FF",
                                "to_delete": false,
                                "position_inside_group": 999
                            },
                            {
                                "modifier_code_365": "002",
                                "modifier_name": "LITTLE MILK",
                                "item_department_code_365": "BAR",
                                "item_department_name": "BAR",
                                "item_category_code_365": "N/A",
                                "item_category_name": "N/A",
                                "charge_amount": 0.0000,
                                "vat_code_365": "",
                                "vat_value": 0.0000,
                                "display_on_invoice": false,
                                "item_code_365": "N/A",
                                "item_name": "N/A",
                                "display_colour": "#FFFFFF",
                                "to_delete": false,
                                "position_inside_group": 999
                            },
                            {
                                "modifier_code_365": "112345",
                                "modifier_name": "METRIO",
                                "item_department_code_365": "OTHER",
                                "item_department_name": "OTHER STOA",
                                "item_category_code_365": "N/A",
                                "item_category_name": "N/A",
                                "charge_amount": 0.0000,
                                "vat_code_365": "",
                                "vat_value": 0.0000,
                                "display_on_invoice": false,
                                "item_code_365": "N/A",
                                "item_name": "N/A",
                                "display_colour": "#FFDAB9",
                                "to_delete": false,
                                "position_inside_group": 999
                            },
                            {
                                "modifier_code_365": "001",
                                "modifier_name": "MILK",
                                "item_department_code_365": "BAR",
                                "item_department_name": "BAR",
                                "item_category_code_365": "N/A",
                                "item_category_name": "N/A",
                                "charge_amount": 0.0000,
                                "vat_code_365": "",
                                "vat_value": 0.0000,
                                "display_on_invoice": false,
                                "item_code_365": "N/A",
                                "item_name": "N/A",
                                "display_colour": "#FFFFFF",
                                "to_delete": false,
                                "position_inside_group": 999
                            },
                            {
                                "modifier_code_365": "010",
                                "modifier_name": "ΣΚΕΤΤΟ",
                                "item_department_code_365": "BAR",
                                "item_department_name": "BAR",
                                "item_category_code_365": "N/A",
                                "item_category_name": "N/A",
                                "charge_amount": 0.0000,
                                "vat_code_365": "",
                                "vat_value": 0.0000,
                                "display_on_invoice": false,
                                "item_code_365": "N/A",
                                "item_name": "N/A",
                                "display_colour": "#FF6600",
                                "to_delete": false,
                                "position_inside_group": 999
                            }
                        ]
                    }
                ]
            }
        ]
    }