GET api/Mt_Prices_Items?pos_name={pos_name}&id_price_list={id_price_list}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pos_name

string

Required

id_price_list

globally unique identifier

None.

Body Parameters

None.

Response Information

Resource Description

Collection of mt_category_p
NameDescriptionTypeAdditional information
id

globally unique identifier

None.

name

string

None.

order_id

integer

None.

node_id

integer

None.

id_item_type_default

globally unique identifier

None.

colors

_colors

None.

list_items

Collection of mt_items_p

None.

list_items_suply

Collection of mt_items_p

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "id": "0b5182a2-561a-4227-9475-fbea0f0c1308",
    "name": "sample string 2",
    "order_id": 3,
    "node_id": 4,
    "id_item_type_default": "c284a20e-8ff0-4d6e-8a6a-f728c67a0f2b",
    "colors": {
      "$id": "2",
      "back_color": "sample string 1",
      "fore_color": "sample string 2"
    },
    "list_items": [
      {
        "$id": "3",
        "id": "c6b0aa7c-e589-4932-b6b5-4e8803f965c6",
        "name": "sample string 2",
        "tax": 3.1,
        "force_print": true,
        "node_id": 5,
        "change_price": true,
        "exclude_control": true,
        "list_items_sub": [
          {
            "$id": "4",
            "id_item_sub": "23ed655a-80d7-460c-a029-2f8b74352345",
            "id_item_type": "75bc535d-d09a-46b5-9a82-cb674b9cc145",
            "name_type": "sample string 3",
            "price": 4.1,
            "id_price_list": "e5da5893-c81c-47ff-89ea-a93b78c919d3",
            "node_id": 6
          },
          {
            "$ref": "4"
          }
        ]
      },
      {
        "$ref": "3"
      }
    ],
    "list_items_suply": [
      {
        "$ref": "3"
      },
      {
        "$ref": "3"
      }
    ]
  },
  {
    "$ref": "1"
  }
]