GET api/Accounts/GetItem?pItemNum={pItemNum}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pItemNum

integer

Required

Body Parameters

None.

Response Information

Resource Description

Item
NameDescriptionTypeAdditional information
code

integer

None.

item_name

string

Required

String length: inclusive between 0 and 60

main_barcode

string

String length: inclusive between 0 and 30

type_group_item

integer

None.

file_name

string

String length: inclusive between 0 and 30

expenses_income_clause

integer

None.

sale_price

decimal number

None.

remark

string

String length: inclusive between 0 and 200

creation_date

date

Required

inventory_management

string

Required

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

VAT_required

string

Required

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

VAT_percent

decimal number

None.

allow_discount

string

Required

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

remove_sticker

string

Required

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

minimum_balance

decimal number

None.

maximum_balance

decimal number

None.

production_type

string

Matching regular expression pattern: ^[12]{1}$

String length: inclusive between 0 and 1

manufacturer_code

integer

None.

model_code

integer

None.

color_code

integer

None.

width

decimal number

None.

length

decimal number

None.

height

decimal number

None.

weight

decimal number

None.

active

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

interface_code

string

String length: inclusive between 0 and 10

old_code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "item_name": "sample string 2",
  "main_barcode": "sample string 3",
  "type_group_item": 1,
  "file_name": "sample string 4",
  "expenses_income_clause": 1,
  "sale_price": 1.0,
  "remark": "sample string 5",
  "creation_date": "2024-11-21T11:42:16.9270988+02:00",
  "inventory_management": "sample string 7",
  "VAT_required": "sample string 8",
  "VAT_percent": 1.0,
  "allow_discount": "sample string 9",
  "remove_sticker": "sample string 10",
  "minimum_balance": 1.0,
  "maximum_balance": 1.0,
  "production_type": "sample string 11",
  "manufacturer_code": 1,
  "model_code": 1,
  "color_code": 1,
  "width": 1.0,
  "length": 1.0,
  "height": 1.0,
  "weight": 1.0,
  "active": "sample string 12",
  "interface_code": "sample string 13",
  "old_code": 1
}

application/xml, text/xml

Sample:
<Item xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <VAT_percent>1</VAT_percent>
  <VAT_required>sample string 8</VAT_required>
  <active>sample string 12</active>
  <allow_discount>sample string 9</allow_discount>
  <code>1</code>
  <color_code>1</color_code>
  <creation_date>2024-11-21T11:42:16.9270988+02:00</creation_date>
  <expenses_income_clause>1</expenses_income_clause>
  <file_name>sample string 4</file_name>
  <height>1</height>
  <interface_code>sample string 13</interface_code>
  <inventory_management>sample string 7</inventory_management>
  <item_name>sample string 2</item_name>
  <length>1</length>
  <main_barcode>sample string 3</main_barcode>
  <manufacturer_code>1</manufacturer_code>
  <maximum_balance>1</maximum_balance>
  <minimum_balance>1</minimum_balance>
  <model_code>1</model_code>
  <old_code>1</old_code>
  <production_type>sample string 11</production_type>
  <remark>sample string 5</remark>
  <remove_sticker>sample string 10</remove_sticker>
  <sale_price>1</sale_price>
  <type_group_item>1</type_group_item>
  <weight>1</weight>
  <width>1</width>
</Item>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.