POST api/Stocks

Request Information

URI Parameters

None.

Body Parameters

Collection of SupplierStock
NameDescriptionTypeAdditional information
RequestID

string

None.

SupplierNo

string

None.

StoreNo

string

None.

BrandNo

string

None.

BrandName

string

None.

CategoryNo

string

None.

SKU

string

None.

ItemNo

string

None.

Size

string

None.

SizeType

string

None.

Name

string

None.

Price

decimal number

None.

SalePrice

decimal number

None.

Quantity

integer

None.

PurchasedAt

date

None.

Barcode

string

None.

SizeAttribute

string

None.

Cabinet

string

None.

CreatedBy

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "RequestID": "sample string 1",
    "SupplierNo": "sample string 2",
    "StoreNo": "sample string 3",
    "BrandNo": "sample string 4",
    "BrandName": "sample string 5",
    "CategoryNo": "sample string 6",
    "SKU": "sample string 7",
    "ItemNo": "sample string 8",
    "Size": "sample string 9",
    "SizeType": "sample string 10",
    "Name": "sample string 11",
    "Price": 12.0,
    "SalePrice": 13.0,
    "Quantity": 14,
    "PurchasedAt": "2024-11-15T11:52:46.005021+08:00",
    "Barcode": "sample string 16",
    "SizeAttribute": "sample string 17",
    "Cabinet": "sample string 18",
    "CreatedBy": "sample string 19"
  },
  {
    "RequestID": "sample string 1",
    "SupplierNo": "sample string 2",
    "StoreNo": "sample string 3",
    "BrandNo": "sample string 4",
    "BrandName": "sample string 5",
    "CategoryNo": "sample string 6",
    "SKU": "sample string 7",
    "ItemNo": "sample string 8",
    "Size": "sample string 9",
    "SizeType": "sample string 10",
    "Name": "sample string 11",
    "Price": 12.0,
    "SalePrice": 13.0,
    "Quantity": 14,
    "PurchasedAt": "2024-11-15T11:52:46.005021+08:00",
    "Barcode": "sample string 16",
    "SizeAttribute": "sample string 17",
    "Cabinet": "sample string 18",
    "CreatedBy": "sample string 19"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSupplierStock xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/com.AquaFeb.StockCenter.Models">
  <SupplierStock>
    <Barcode>sample string 16</Barcode>
    <BrandName>sample string 5</BrandName>
    <BrandNo>sample string 4</BrandNo>
    <Cabinet>sample string 18</Cabinet>
    <CategoryNo>sample string 6</CategoryNo>
    <CreatedBy>sample string 19</CreatedBy>
    <ItemNo>sample string 8</ItemNo>
    <Name>sample string 11</Name>
    <Price>12</Price>
    <PurchasedAt>2024-11-15T11:52:46.005021+08:00</PurchasedAt>
    <Quantity>14</Quantity>
    <RequestID>sample string 1</RequestID>
    <SKU>sample string 7</SKU>
    <SalePrice>13</SalePrice>
    <Size>sample string 9</Size>
    <SizeAttribute>sample string 17</SizeAttribute>
    <SizeType>sample string 10</SizeType>
    <StoreNo>sample string 3</StoreNo>
    <SupplierNo>sample string 2</SupplierNo>
  </SupplierStock>
  <SupplierStock>
    <Barcode>sample string 16</Barcode>
    <BrandName>sample string 5</BrandName>
    <BrandNo>sample string 4</BrandNo>
    <Cabinet>sample string 18</Cabinet>
    <CategoryNo>sample string 6</CategoryNo>
    <CreatedBy>sample string 19</CreatedBy>
    <ItemNo>sample string 8</ItemNo>
    <Name>sample string 11</Name>
    <Price>12</Price>
    <PurchasedAt>2024-11-15T11:52:46.005021+08:00</PurchasedAt>
    <Quantity>14</Quantity>
    <RequestID>sample string 1</RequestID>
    <SKU>sample string 7</SKU>
    <SalePrice>13</SalePrice>
    <Size>sample string 9</Size>
    <SizeAttribute>sample string 17</SizeAttribute>
    <SizeType>sample string 10</SizeType>
    <StoreNo>sample string 3</StoreNo>
    <SupplierNo>sample string 2</SupplierNo>
  </SupplierStock>
</ArrayOfSupplierStock>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.