GET api/Stock/StockInformation

Provides Stock Master Data

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of StockViewModel
NameDescriptionTypeAdditional information
ColourGroup

Represents Glass group of the stock

string

None.

Colour

colour of the stock

string

None.

MarketSegment

string

None.

Thickness

thickness of the stock

decimal number

None.

GlassType

Glass type of the stock

string

None.

OrganizationCd

string

None.

SubinventoryCode

string

None.

OrgId

integer

None.

ItemLength

integer

None.

ItemWidth

integer

None.

PckTyp

string

None.

Customer

string

None.

Tons

decimal number

None.

PcsPkg

integer

None.

OnHand

integer

None.

ResStat

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ColourGroup": "sample string 1",
    "Colour": "sample string 2",
    "MarketSegment": "sample string 3",
    "Thickness": 4.0,
    "GlassType": "sample string 5",
    "OrganizationCd": "sample string 6",
    "SubinventoryCode": "sample string 7",
    "OrgId": 8,
    "ItemLength": 9,
    "ItemWidth": 10,
    "PckTyp": "sample string 11",
    "Customer": "sample string 12",
    "Tons": 13.0,
    "PcsPkg": 14,
    "OnHand": 15,
    "ResStat": "sample string 16"
  },
  {
    "ColourGroup": "sample string 1",
    "Colour": "sample string 2",
    "MarketSegment": "sample string 3",
    "Thickness": 4.0,
    "GlassType": "sample string 5",
    "OrganizationCd": "sample string 6",
    "SubinventoryCode": "sample string 7",
    "OrgId": 8,
    "ItemLength": 9,
    "ItemWidth": 10,
    "PckTyp": "sample string 11",
    "Customer": "sample string 12",
    "Tons": 13.0,
    "PcsPkg": 14,
    "OnHand": 15,
    "ResStat": "sample string 16"
  }
]

text/html

Sample:
[{"ColourGroup":"sample string 1","Colour":"sample string 2","MarketSegment":"sample string 3","Thickness":4.0,"GlassType":"sample string 5","OrganizationCd":"sample string 6","SubinventoryCode":"sample string 7","OrgId":8,"ItemLength":9,"ItemWidth":10,"PckTyp":"sample string 11","Customer":"sample string 12","Tons":13.0,"PcsPkg":14,"OnHand":15,"ResStat":"sample string 16"},{"ColourGroup":"sample string 1","Colour":"sample string 2","MarketSegment":"sample string 3","Thickness":4.0,"GlassType":"sample string 5","OrganizationCd":"sample string 6","SubinventoryCode":"sample string 7","OrgId":8,"ItemLength":9,"ItemWidth":10,"PckTyp":"sample string 11","Customer":"sample string 12","Tons":13.0,"PcsPkg":14,"OnHand":15,"ResStat":"sample string 16"}]

application/xml, text/xml

Sample:
<ArrayOfStockViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OMSService.Models">
  <StockViewModel>
    <Colour>sample string 2</Colour>
    <ColourGroup>sample string 1</ColourGroup>
    <Customer>sample string 12</Customer>
    <GlassType>sample string 5</GlassType>
    <ItemLength>9</ItemLength>
    <ItemWidth>10</ItemWidth>
    <MarketSegment>sample string 3</MarketSegment>
    <OnHand>15</OnHand>
    <OrgId>8</OrgId>
    <OrganizationCd>sample string 6</OrganizationCd>
    <PckTyp>sample string 11</PckTyp>
    <PcsPkg>14</PcsPkg>
    <ResStat>sample string 16</ResStat>
    <SubinventoryCode>sample string 7</SubinventoryCode>
    <Thickness>4</Thickness>
    <Tons>13</Tons>
  </StockViewModel>
  <StockViewModel>
    <Colour>sample string 2</Colour>
    <ColourGroup>sample string 1</ColourGroup>
    <Customer>sample string 12</Customer>
    <GlassType>sample string 5</GlassType>
    <ItemLength>9</ItemLength>
    <ItemWidth>10</ItemWidth>
    <MarketSegment>sample string 3</MarketSegment>
    <OnHand>15</OnHand>
    <OrgId>8</OrgId>
    <OrganizationCd>sample string 6</OrganizationCd>
    <PckTyp>sample string 11</PckTyp>
    <PcsPkg>14</PcsPkg>
    <ResStat>sample string 16</ResStat>
    <SubinventoryCode>sample string 7</SubinventoryCode>
    <Thickness>4</Thickness>
    <Tons>13</Tons>
  </StockViewModel>
</ArrayOfStockViewModel>