POST api/StockDeducts

Request Information

URI Parameters

None.

Body Parameters

Collection of StockDeduct
NameDescriptionTypeAdditional information
ID

globally unique identifier

None.

ClientNo

string

None.

SupplierNo

string

None.

StoreNo

string

None.

SKU

string

None.

Quantity

integer

None.

ExpiredAt

date

None.

Description

string

None.

Deleted

boolean

None.

CreatedBy

string

None.

CreatedAt

date

None.

UpdatedBy

string

None.

UpdatedAt

date

None.

PushType

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ID": "ab627325-0565-4e5b-91e2-5272b698fefd",
    "ClientNo": "sample string 2",
    "SupplierNo": "sample string 3",
    "StoreNo": "sample string 4",
    "SKU": "sample string 5",
    "Quantity": 6,
    "ExpiredAt": "2024-11-15T12:00:53.1946354+08:00",
    "Description": "sample string 7",
    "Deleted": true,
    "CreatedBy": "sample string 9",
    "CreatedAt": "2024-11-15T12:00:53.1946354+08:00",
    "UpdatedBy": "sample string 11",
    "UpdatedAt": "2024-11-15T12:00:53.1946354+08:00",
    "PushType": "sample string 12"
  },
  {
    "ID": "ab627325-0565-4e5b-91e2-5272b698fefd",
    "ClientNo": "sample string 2",
    "SupplierNo": "sample string 3",
    "StoreNo": "sample string 4",
    "SKU": "sample string 5",
    "Quantity": 6,
    "ExpiredAt": "2024-11-15T12:00:53.1946354+08:00",
    "Description": "sample string 7",
    "Deleted": true,
    "CreatedBy": "sample string 9",
    "CreatedAt": "2024-11-15T12:00:53.1946354+08:00",
    "UpdatedBy": "sample string 11",
    "UpdatedAt": "2024-11-15T12:00:53.1946354+08:00",
    "PushType": "sample string 12"
  }
]

application/xml, text/xml

Sample:
<ArrayOfStockDeduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/com.AquaFeb.StockCenter.Models">
  <StockDeduct>
    <ClientNo>sample string 2</ClientNo>
    <CreatedAt>2024-11-15T12:00:53.1946354+08:00</CreatedAt>
    <CreatedBy>sample string 9</CreatedBy>
    <Deleted>true</Deleted>
    <Description>sample string 7</Description>
    <ExpiredAt>2024-11-15T12:00:53.1946354+08:00</ExpiredAt>
    <ID>ab627325-0565-4e5b-91e2-5272b698fefd</ID>
    <PushType>sample string 12</PushType>
    <Quantity>6</Quantity>
    <SKU>sample string 5</SKU>
    <StoreNo>sample string 4</StoreNo>
    <SupplierNo>sample string 3</SupplierNo>
    <UpdatedAt>2024-11-15T12:00:53.1946354+08:00</UpdatedAt>
    <UpdatedBy>sample string 11</UpdatedBy>
  </StockDeduct>
  <StockDeduct>
    <ClientNo>sample string 2</ClientNo>
    <CreatedAt>2024-11-15T12:00:53.1946354+08:00</CreatedAt>
    <CreatedBy>sample string 9</CreatedBy>
    <Deleted>true</Deleted>
    <Description>sample string 7</Description>
    <ExpiredAt>2024-11-15T12:00:53.1946354+08:00</ExpiredAt>
    <ID>ab627325-0565-4e5b-91e2-5272b698fefd</ID>
    <PushType>sample string 12</PushType>
    <Quantity>6</Quantity>
    <SKU>sample string 5</SKU>
    <StoreNo>sample string 4</StoreNo>
    <SupplierNo>sample string 3</SupplierNo>
    <UpdatedAt>2024-11-15T12:00:53.1946354+08:00</UpdatedAt>
    <UpdatedBy>sample string 11</UpdatedBy>
  </StockDeduct>
</ArrayOfStockDeduct>

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.