POST api/OrderItemFulfillment?companycode={companycode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companycode

string

Required

Body Parameters

OrderItemFulfillment
NameDescriptionTypeAdditional information
FulfillmentId

integer

None.

BranchId

integer

None.

OrderItemId

integer

None.

StationId

integer

None.

CollectId

integer

None.

StockOption

integer

None.

Status

integer

None.

CreatedAt

date

None.

FulfilledAt

date

None.

Quantity

integer

None.

FulFilledQuantity

integer

None.

FulfilledBy

integer

None.

ReceiptNo

string

None.

ItemName

string

None.

Customer

string

None.

Mobile

string

None.

ItemNo

string

None.

CustomerRefNo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "FulfillmentId": 1,
  "BranchId": 2,
  "OrderItemId": 3,
  "StationId": 4,
  "CollectId": 5,
  "StockOption": 6,
  "Status": 7,
  "CreatedAt": "2024-05-12T01:06:25.1544235+08:00",
  "FulfilledAt": "2024-05-12T01:06:25.1544235+08:00",
  "Quantity": 10,
  "FulFilledQuantity": 11,
  "FulfilledBy": 12,
  "ReceiptNo": "sample string 13",
  "ItemName": "sample string 14",
  "Customer": "sample string 15",
  "Mobile": "sample string 16",
  "ItemNo": "sample string 17",
  "CustomerRefNo": "sample string 18"
}

text/xml

Sample:
<OrderItemFulfillment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CloudSysPOSWeb.Models">
  <BranchId>2</BranchId>
  <CollectId>5</CollectId>
  <CreatedAt>2024-05-12T01:06:25.1544235+08:00</CreatedAt>
  <Customer>sample string 15</Customer>
  <CustomerRefNo>sample string 18</CustomerRefNo>
  <FulFilledQuantity>11</FulFilledQuantity>
  <FulfilledAt>2024-05-12T01:06:25.1544235+08:00</FulfilledAt>
  <FulfilledBy>12</FulfilledBy>
  <FulfillmentId>1</FulfillmentId>
  <ItemName>sample string 14</ItemName>
  <ItemNo>sample string 17</ItemNo>
  <Mobile>sample string 16</Mobile>
  <OrderItemId>3</OrderItemId>
  <Quantity>10</Quantity>
  <ReceiptNo>sample string 13</ReceiptNo>
  <StationId>4</StationId>
  <Status>7</Status>
  <StockOption>6</StockOption>
</OrderItemFulfillment>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'OrderItemFulfillment'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.