POST api/Order/OrderInformation

Save the order and provide the current status of the Order

Request Information

URI Parameters

None.

Body Parameters

Collection of OrderRequestViewModel
NameDescriptionTypeAdditional information
OrderNumber

Order Number

string

None.

OrderCreatedDate

Represents Order creation Date

date

None.

WarehouseCode

Warehouse Code

string

None.

OracleCustomer_id

Oracke Customer Id

string

None.

ORACLECUSTOMERNUMBER

Oracle Customer Number

integer

None.

BILLTOSITEUSEID

integer

None.

SHIPTOSITEUSEID

integer

None.

CustomerRemark

string

None.

OrderDetailer_ID

integer

None.

OrderHeader_ID

integer

None.

LineNumber

integer

None.

GlassType

string

None.

ColourGroup

string

None.

Colour

string

None.

ItemLength

integer

None.

ItemWidth

integer

None.

Customer

string

None.

Pck_type

Packing Type

string

None.

Thickness

thickness of the stock

decimal number

None.

Quantity

decimal number

None.

PCSPkgPerbox

integer

None.

AISProposedPrice

decimal number

None.

SALESREP_NAME

string

None.

MKT_SEGMENT

string

None.

SALES_CHANNEL_CODE

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "OrderNumber": "sample string 1",
    "OrderCreatedDate": "2025-01-09T09:09:39.9163586+05:30",
    "WarehouseCode": "sample string 3",
    "OracleCustomer_id": "sample string 4",
    "ORACLECUSTOMERNUMBER": 5,
    "BILLTOSITEUSEID": 6,
    "SHIPTOSITEUSEID": 7,
    "CustomerRemark": "sample string 8",
    "OrderDetailer_ID": 9,
    "OrderHeader_ID": 10,
    "LineNumber": 11,
    "GlassType": "sample string 12",
    "ColourGroup": "sample string 13",
    "Colour": "sample string 14",
    "ItemLength": 15,
    "ItemWidth": 16,
    "Customer": "sample string 17",
    "Pck_type": "sample string 18",
    "Thickness": 19.0,
    "Quantity": 20.0,
    "PCSPkgPerbox": 21,
    "AISProposedPrice": 22.1,
    "SALESREP_NAME": "sample string 23",
    "MKT_SEGMENT": "sample string 24",
    "SALES_CHANNEL_CODE": "sample string 25"
  },
  {
    "OrderNumber": "sample string 1",
    "OrderCreatedDate": "2025-01-09T09:09:39.9163586+05:30",
    "WarehouseCode": "sample string 3",
    "OracleCustomer_id": "sample string 4",
    "ORACLECUSTOMERNUMBER": 5,
    "BILLTOSITEUSEID": 6,
    "SHIPTOSITEUSEID": 7,
    "CustomerRemark": "sample string 8",
    "OrderDetailer_ID": 9,
    "OrderHeader_ID": 10,
    "LineNumber": 11,
    "GlassType": "sample string 12",
    "ColourGroup": "sample string 13",
    "Colour": "sample string 14",
    "ItemLength": 15,
    "ItemWidth": 16,
    "Customer": "sample string 17",
    "Pck_type": "sample string 18",
    "Thickness": 19.0,
    "Quantity": 20.0,
    "PCSPkgPerbox": 21,
    "AISProposedPrice": 22.1,
    "SALESREP_NAME": "sample string 23",
    "MKT_SEGMENT": "sample string 24",
    "SALES_CHANNEL_CODE": "sample string 25"
  }
]

text/html

Sample:
[{"OrderNumber":"sample string 1","OrderCreatedDate":"2025-01-09T09:09:39.9163586+05:30","WarehouseCode":"sample string 3","OracleCustomer_id":"sample string 4","ORACLECUSTOMERNUMBER":5,"BILLTOSITEUSEID":6,"SHIPTOSITEUSEID":7,"CustomerRemark":"sample string 8","OrderDetailer_ID":9,"OrderHeader_ID":10,"LineNumber":11,"GlassType":"sample string 12","ColourGroup":"sample string 13","Colour":"sample string 14","ItemLength":15,"ItemWidth":16,"Customer":"sample string 17","Pck_type":"sample string 18","Thickness":19.0,"Quantity":20.0,"PCSPkgPerbox":21,"AISProposedPrice":22.1,"SALESREP_NAME":"sample string 23","MKT_SEGMENT":"sample string 24","SALES_CHANNEL_CODE":"sample string 25"},{"OrderNumber":"sample string 1","OrderCreatedDate":"2025-01-09T09:09:39.9163586+05:30","WarehouseCode":"sample string 3","OracleCustomer_id":"sample string 4","ORACLECUSTOMERNUMBER":5,"BILLTOSITEUSEID":6,"SHIPTOSITEUSEID":7,"CustomerRemark":"sample string 8","OrderDetailer_ID":9,"OrderHeader_ID":10,"LineNumber":11,"GlassType":"sample string 12","ColourGroup":"sample string 13","Colour":"sample string 14","ItemLength":15,"ItemWidth":16,"Customer":"sample string 17","Pck_type":"sample string 18","Thickness":19.0,"Quantity":20.0,"PCSPkgPerbox":21,"AISProposedPrice":22.1,"SALESREP_NAME":"sample string 23","MKT_SEGMENT":"sample string 24","SALES_CHANNEL_CODE":"sample string 25"}]

application/xml, text/xml

Sample:
<ArrayOfOrderRequestViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OMSService.Models">
  <OrderRequestViewModel>
    <AISProposedPrice>22.1</AISProposedPrice>
    <BILLTOSITEUSEID>6</BILLTOSITEUSEID>
    <Colour>sample string 14</Colour>
    <ColourGroup>sample string 13</ColourGroup>
    <Customer>sample string 17</Customer>
    <CustomerRemark>sample string 8</CustomerRemark>
    <GlassType>sample string 12</GlassType>
    <ItemLength>15</ItemLength>
    <ItemWidth>16</ItemWidth>
    <LineNumber>11</LineNumber>
    <MKT_SEGMENT>sample string 24</MKT_SEGMENT>
    <ORACLECUSTOMERNUMBER>5</ORACLECUSTOMERNUMBER>
    <OracleCustomer_id>sample string 4</OracleCustomer_id>
    <OrderCreatedDate>2025-01-09T09:09:39.9163586+05:30</OrderCreatedDate>
    <OrderDetailer_ID>9</OrderDetailer_ID>
    <OrderHeader_ID>10</OrderHeader_ID>
    <OrderNumber>sample string 1</OrderNumber>
    <PCSPkgPerbox>21</PCSPkgPerbox>
    <Pck_type>sample string 18</Pck_type>
    <Quantity>20</Quantity>
    <SALESREP_NAME>sample string 23</SALESREP_NAME>
    <SALES_CHANNEL_CODE>sample string 25</SALES_CHANNEL_CODE>
    <SHIPTOSITEUSEID>7</SHIPTOSITEUSEID>
    <Thickness>19</Thickness>
    <WarehouseCode>sample string 3</WarehouseCode>
  </OrderRequestViewModel>
  <OrderRequestViewModel>
    <AISProposedPrice>22.1</AISProposedPrice>
    <BILLTOSITEUSEID>6</BILLTOSITEUSEID>
    <Colour>sample string 14</Colour>
    <ColourGroup>sample string 13</ColourGroup>
    <Customer>sample string 17</Customer>
    <CustomerRemark>sample string 8</CustomerRemark>
    <GlassType>sample string 12</GlassType>
    <ItemLength>15</ItemLength>
    <ItemWidth>16</ItemWidth>
    <LineNumber>11</LineNumber>
    <MKT_SEGMENT>sample string 24</MKT_SEGMENT>
    <ORACLECUSTOMERNUMBER>5</ORACLECUSTOMERNUMBER>
    <OracleCustomer_id>sample string 4</OracleCustomer_id>
    <OrderCreatedDate>2025-01-09T09:09:39.9163586+05:30</OrderCreatedDate>
    <OrderDetailer_ID>9</OrderDetailer_ID>
    <OrderHeader_ID>10</OrderHeader_ID>
    <OrderNumber>sample string 1</OrderNumber>
    <PCSPkgPerbox>21</PCSPkgPerbox>
    <Pck_type>sample string 18</Pck_type>
    <Quantity>20</Quantity>
    <SALESREP_NAME>sample string 23</SALESREP_NAME>
    <SALES_CHANNEL_CODE>sample string 25</SALES_CHANNEL_CODE>
    <SHIPTOSITEUSEID>7</SHIPTOSITEUSEID>
    <Thickness>19</Thickness>
    <WarehouseCode>sample string 3</WarehouseCode>
  </OrderRequestViewModel>
</ArrayOfOrderRequestViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of OrderResponseViewModel
NameDescriptionTypeAdditional information
OrderDetailer_ID

integer

None.

OrderHeader_ID

integer

None.

OrderStaus

string

None.

OrcleOrderNumber

integer

None.

Order_Date

date

None.

Inventory_Item_Id

integer

None.

InvoiceNumber

string

None.

InvoiceDate

date

None.

ERR_MSG

string

None.

ERROR_CD

integer

None.

CUST_CODE

string

None.

PCS_PKG

integer

None.

COLOUR_GROUP

string

None.

COLOUR

string

None.

MKT_SEGMENT

string

None.

THICKNESS

decimal number

None.

GLS_TYPE

string

None.

ITEM_LENGTH

integer

None.

ITEM_WIDTH

integer

None.

PCK_TYPE

string

None.

Ordered_quantity

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "OrderDetailer_ID": 1,
    "OrderHeader_ID": 2,
    "OrderStaus": "sample string 3",
    "OrcleOrderNumber": 4,
    "Order_Date": "2025-01-09T09:09:39.9234124+05:30",
    "Inventory_Item_Id": 6,
    "InvoiceNumber": "sample string 7",
    "InvoiceDate": "2025-01-09T09:09:39.9234124+05:30",
    "ERR_MSG": "sample string 9",
    "ERROR_CD": 10,
    "CUST_CODE": "sample string 11",
    "PCS_PKG": 12,
    "COLOUR_GROUP": "sample string 13",
    "COLOUR": "sample string 14",
    "MKT_SEGMENT": "sample string 15",
    "THICKNESS": 16.0,
    "GLS_TYPE": "sample string 17",
    "ITEM_LENGTH": 18,
    "ITEM_WIDTH": 19,
    "PCK_TYPE": "sample string 20",
    "Ordered_quantity": 21.0
  },
  {
    "OrderDetailer_ID": 1,
    "OrderHeader_ID": 2,
    "OrderStaus": "sample string 3",
    "OrcleOrderNumber": 4,
    "Order_Date": "2025-01-09T09:09:39.9234124+05:30",
    "Inventory_Item_Id": 6,
    "InvoiceNumber": "sample string 7",
    "InvoiceDate": "2025-01-09T09:09:39.9234124+05:30",
    "ERR_MSG": "sample string 9",
    "ERROR_CD": 10,
    "CUST_CODE": "sample string 11",
    "PCS_PKG": 12,
    "COLOUR_GROUP": "sample string 13",
    "COLOUR": "sample string 14",
    "MKT_SEGMENT": "sample string 15",
    "THICKNESS": 16.0,
    "GLS_TYPE": "sample string 17",
    "ITEM_LENGTH": 18,
    "ITEM_WIDTH": 19,
    "PCK_TYPE": "sample string 20",
    "Ordered_quantity": 21.0
  }
]

text/html

Sample:
[{"OrderDetailer_ID":1,"OrderHeader_ID":2,"OrderStaus":"sample string 3","OrcleOrderNumber":4,"Order_Date":"2025-01-09T09:09:39.9234124+05:30","Inventory_Item_Id":6,"InvoiceNumber":"sample string 7","InvoiceDate":"2025-01-09T09:09:39.9234124+05:30","ERR_MSG":"sample string 9","ERROR_CD":10,"CUST_CODE":"sample string 11","PCS_PKG":12,"COLOUR_GROUP":"sample string 13","COLOUR":"sample string 14","MKT_SEGMENT":"sample string 15","THICKNESS":16.0,"GLS_TYPE":"sample string 17","ITEM_LENGTH":18,"ITEM_WIDTH":19,"PCK_TYPE":"sample string 20","Ordered_quantity":21.0},{"OrderDetailer_ID":1,"OrderHeader_ID":2,"OrderStaus":"sample string 3","OrcleOrderNumber":4,"Order_Date":"2025-01-09T09:09:39.9234124+05:30","Inventory_Item_Id":6,"InvoiceNumber":"sample string 7","InvoiceDate":"2025-01-09T09:09:39.9234124+05:30","ERR_MSG":"sample string 9","ERROR_CD":10,"CUST_CODE":"sample string 11","PCS_PKG":12,"COLOUR_GROUP":"sample string 13","COLOUR":"sample string 14","MKT_SEGMENT":"sample string 15","THICKNESS":16.0,"GLS_TYPE":"sample string 17","ITEM_LENGTH":18,"ITEM_WIDTH":19,"PCK_TYPE":"sample string 20","Ordered_quantity":21.0}]

application/xml, text/xml

Sample:
<ArrayOfOrderResponseViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OMSService.Models">
  <OrderResponseViewModel>
    <COLOUR>sample string 14</COLOUR>
    <COLOUR_GROUP>sample string 13</COLOUR_GROUP>
    <CUST_CODE>sample string 11</CUST_CODE>
    <ERROR_CD>10</ERROR_CD>
    <ERR_MSG>sample string 9</ERR_MSG>
    <GLS_TYPE>sample string 17</GLS_TYPE>
    <ITEM_LENGTH>18</ITEM_LENGTH>
    <ITEM_WIDTH>19</ITEM_WIDTH>
    <Inventory_Item_Id>6</Inventory_Item_Id>
    <InvoiceDate>2025-01-09T09:09:39.9234124+05:30</InvoiceDate>
    <InvoiceNumber>sample string 7</InvoiceNumber>
    <MKT_SEGMENT>sample string 15</MKT_SEGMENT>
    <OrcleOrderNumber>4</OrcleOrderNumber>
    <OrderDetailer_ID>1</OrderDetailer_ID>
    <OrderHeader_ID>2</OrderHeader_ID>
    <OrderStaus>sample string 3</OrderStaus>
    <Order_Date>2025-01-09T09:09:39.9234124+05:30</Order_Date>
    <Ordered_quantity>21</Ordered_quantity>
    <PCK_TYPE>sample string 20</PCK_TYPE>
    <PCS_PKG>12</PCS_PKG>
    <THICKNESS>16</THICKNESS>
  </OrderResponseViewModel>
  <OrderResponseViewModel>
    <COLOUR>sample string 14</COLOUR>
    <COLOUR_GROUP>sample string 13</COLOUR_GROUP>
    <CUST_CODE>sample string 11</CUST_CODE>
    <ERROR_CD>10</ERROR_CD>
    <ERR_MSG>sample string 9</ERR_MSG>
    <GLS_TYPE>sample string 17</GLS_TYPE>
    <ITEM_LENGTH>18</ITEM_LENGTH>
    <ITEM_WIDTH>19</ITEM_WIDTH>
    <Inventory_Item_Id>6</Inventory_Item_Id>
    <InvoiceDate>2025-01-09T09:09:39.9234124+05:30</InvoiceDate>
    <InvoiceNumber>sample string 7</InvoiceNumber>
    <MKT_SEGMENT>sample string 15</MKT_SEGMENT>
    <OrcleOrderNumber>4</OrcleOrderNumber>
    <OrderDetailer_ID>1</OrderDetailer_ID>
    <OrderHeader_ID>2</OrderHeader_ID>
    <OrderStaus>sample string 3</OrderStaus>
    <Order_Date>2025-01-09T09:09:39.9234124+05:30</Order_Date>
    <Ordered_quantity>21</Ordered_quantity>
    <PCK_TYPE>sample string 20</PCK_TYPE>
    <PCS_PKG>12</PCS_PKG>
    <THICKNESS>16</THICKNESS>
  </OrderResponseViewModel>
</ArrayOfOrderResponseViewModel>