POST api/DeductStocks

Request Information

URI Parameters

None.

Body Parameters

Collection of DeductStockMD
NameDescriptionTypeAdditional information
ID

globally unique identifier

None.

DeductType

string

None.

ClientNo

string

None.

ECPlatformID

string

None.

OrderNo

string

None.

SKU

string

None.

DeductQty

integer

None.

ExpiredAt

date

None.

Description

string

None.

CreatedBy

string

None.

CreatedAt

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ID": "701a596f-c0bd-4629-8f2f-b672bf545c03",
    "DeductType": "sample string 1",
    "ClientNo": "sample string 2",
    "ECPlatformID": "sample string 3",
    "OrderNo": "sample string 4",
    "SKU": "sample string 5",
    "DeductQty": 6,
    "ExpiredAt": "2024-11-15T12:04:59.3951467+08:00",
    "Description": "sample string 8",
    "CreatedBy": "sample string 9",
    "CreatedAt": "2024-11-15T12:04:59.3951467+08:00"
  },
  {
    "ID": "701a596f-c0bd-4629-8f2f-b672bf545c03",
    "DeductType": "sample string 1",
    "ClientNo": "sample string 2",
    "ECPlatformID": "sample string 3",
    "OrderNo": "sample string 4",
    "SKU": "sample string 5",
    "DeductQty": 6,
    "ExpiredAt": "2024-11-15T12:04:59.3951467+08:00",
    "Description": "sample string 8",
    "CreatedBy": "sample string 9",
    "CreatedAt": "2024-11-15T12:04:59.3951467+08:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDeductStockMD xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/com.AquaFeb.StockCenter.Models">
  <DeductStockMD>
    <ClientNo>sample string 2</ClientNo>
    <CreatedAt>2024-11-15T12:04:59.3951467+08:00</CreatedAt>
    <CreatedBy>sample string 9</CreatedBy>
    <DeductQty>6</DeductQty>
    <DeductType>sample string 1</DeductType>
    <Description>sample string 8</Description>
    <ECPlatformID>sample string 3</ECPlatformID>
    <ExpiredAt>2024-11-15T12:04:59.3951467+08:00</ExpiredAt>
    <ID>701a596f-c0bd-4629-8f2f-b672bf545c03</ID>
    <OrderNo>sample string 4</OrderNo>
    <SKU>sample string 5</SKU>
  </DeductStockMD>
  <DeductStockMD>
    <ClientNo>sample string 2</ClientNo>
    <CreatedAt>2024-11-15T12:04:59.3951467+08:00</CreatedAt>
    <CreatedBy>sample string 9</CreatedBy>
    <DeductQty>6</DeductQty>
    <DeductType>sample string 1</DeductType>
    <Description>sample string 8</Description>
    <ECPlatformID>sample string 3</ECPlatformID>
    <ExpiredAt>2024-11-15T12:04:59.3951467+08:00</ExpiredAt>
    <ID>701a596f-c0bd-4629-8f2f-b672bf545c03</ID>
    <OrderNo>sample string 4</OrderNo>
    <SKU>sample string 5</SKU>
  </DeductStockMD>
</ArrayOfDeductStockMD>

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.