POST api/Suppliers
Request Information
URI Parameters
None.
Body Parameters
Collection of SupplierStockModelName | Description | Type | Additional 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. |
|
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:11:57.8924242+08:00", "Barcode": "sample string 16", "Cabinet": "sample string 17", "CreatedBy": "sample string 18" }, { "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:11:57.8924242+08:00", "Barcode": "sample string 16", "Cabinet": "sample string 17", "CreatedBy": "sample string 18" } ]
application/xml, text/xml
Sample:
<ArrayOfSupplierStockModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/com.AquaFeb.WebAPI.Models"> <SupplierStockModel> <Barcode>sample string 16</Barcode> <BrandName>sample string 5</BrandName> <BrandNo>sample string 4</BrandNo> <Cabinet>sample string 17</Cabinet> <CategoryNo>sample string 6</CategoryNo> <CreatedBy>sample string 18</CreatedBy> <ItemNo>sample string 8</ItemNo> <Name>sample string 11</Name> <Price>12</Price> <PurchasedAt>2024-11-15T11:11:57.8924242+08:00</PurchasedAt> <Quantity>14</Quantity> <RequestID>sample string 1</RequestID> <SKU>sample string 7</SKU> <SalePrice>13</SalePrice> <Size>sample string 9</Size> <SizeType>sample string 10</SizeType> <StoreNo>sample string 3</StoreNo> <SupplierNo>sample string 2</SupplierNo> </SupplierStockModel> <SupplierStockModel> <Barcode>sample string 16</Barcode> <BrandName>sample string 5</BrandName> <BrandNo>sample string 4</BrandNo> <Cabinet>sample string 17</Cabinet> <CategoryNo>sample string 6</CategoryNo> <CreatedBy>sample string 18</CreatedBy> <ItemNo>sample string 8</ItemNo> <Name>sample string 11</Name> <Price>12</Price> <PurchasedAt>2024-11-15T11:11:57.8924242+08:00</PurchasedAt> <Quantity>14</Quantity> <RequestID>sample string 1</RequestID> <SKU>sample string 7</SKU> <SalePrice>13</SalePrice> <Size>sample string 9</Size> <SizeType>sample string 10</SizeType> <StoreNo>sample string 3</StoreNo> <SupplierNo>sample string 2</SupplierNo> </SupplierStockModel> </ArrayOfSupplierStockModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.