POST api/ManufacturerOrder
Request Information
URI Parameters
None.
Body Parameters
WarehousePOModelsName | Description | Type | Additional information |
---|---|---|---|
PurchaseOrders | Collection of PurchaseOrdersForWarehouseModels |
Required |
|
PurchaseOrdersDetails | Collection of PurchaseOrdersDetailsForWarehouseModels |
Required |
Request Formats
application/json, text/json
Sample:
{ "PurchaseOrders": [ { "POR_Id": 1, "OrderType": "sample string 2" }, { "POR_Id": 1, "OrderType": "sample string 2" } ], "PurchaseOrdersDetails": [ { "POD_PA_Id_FK": 1, "POD_P_Id_FK": 2, "POD_P_ProductCode_FK": "sample string 3", "POD_P_ProductName_FK": "sample string 4", "POD_P_PackSize": "sample string 5", "POD_P_UOM_FK": "sample string 6", "POD_P_PackType": "sample string 7", "POD_P_Quantity": "sample string 8", "POD_VGSL_BUY_PRICE": "sample string 9", "ProductManufacturerId": 10 }, { "POD_PA_Id_FK": 1, "POD_P_Id_FK": 2, "POD_P_ProductCode_FK": "sample string 3", "POD_P_ProductName_FK": "sample string 4", "POD_P_PackSize": "sample string 5", "POD_P_UOM_FK": "sample string 6", "POD_P_PackType": "sample string 7", "POD_P_Quantity": "sample string 8", "POD_VGSL_BUY_PRICE": "sample string 9", "ProductManufacturerId": 10 } ] }
application/xml, text/xml
Sample:
<WarehousePOModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models"> <PurchaseOrders> <PurchaseOrdersForWarehouseModels> <OrderType>sample string 2</OrderType> <POR_Id>1</POR_Id> </PurchaseOrdersForWarehouseModels> <PurchaseOrdersForWarehouseModels> <OrderType>sample string 2</OrderType> <POR_Id>1</POR_Id> </PurchaseOrdersForWarehouseModels> </PurchaseOrders> <PurchaseOrdersDetails> <PurchaseOrdersDetailsForWarehouseModels> <POD_PA_Id_FK>1</POD_PA_Id_FK> <POD_P_Id_FK>2</POD_P_Id_FK> <POD_P_PackSize>sample string 5</POD_P_PackSize> <POD_P_PackType>sample string 7</POD_P_PackType> <POD_P_ProductCode_FK>sample string 3</POD_P_ProductCode_FK> <POD_P_ProductName_FK>sample string 4</POD_P_ProductName_FK> <POD_P_Quantity>sample string 8</POD_P_Quantity> <POD_P_UOM_FK>sample string 6</POD_P_UOM_FK> <POD_VGSL_BUY_PRICE>sample string 9</POD_VGSL_BUY_PRICE> <ProductManufacturerId>10</ProductManufacturerId> </PurchaseOrdersDetailsForWarehouseModels> <PurchaseOrdersDetailsForWarehouseModels> <POD_PA_Id_FK>1</POD_PA_Id_FK> <POD_P_Id_FK>2</POD_P_Id_FK> <POD_P_PackSize>sample string 5</POD_P_PackSize> <POD_P_PackType>sample string 7</POD_P_PackType> <POD_P_ProductCode_FK>sample string 3</POD_P_ProductCode_FK> <POD_P_ProductName_FK>sample string 4</POD_P_ProductName_FK> <POD_P_Quantity>sample string 8</POD_P_Quantity> <POD_P_UOM_FK>sample string 6</POD_P_UOM_FK> <POD_VGSL_BUY_PRICE>sample string 9</POD_VGSL_BUY_PRICE> <ProductManufacturerId>10</ProductManufacturerId> </PurchaseOrdersDetailsForWarehouseModels> </PurchaseOrdersDetails> </WarehousePOModels>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.