POST api/ManufacturerOrderAmmendment/SaveAmendment
Request Information
URI Parameters
None.
Body Parameters
ManufacturerOrderAmendmentSaveModelsName | Description | Type | Additional information |
---|---|---|---|
ManufacturerOrderId | integer |
Required |
|
PurchaseOrdersDetails | Collection of PurchaseOrdersDetailsForManufacturerOrderAmendmentModels |
Required |
|
Note | string |
Required Max length: 200 |
|
UserId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ManufacturerOrderId": 1, "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 } ], "Note": "sample string 2", "UserId": 3 }
application/xml, text/xml
Sample:
<ManufacturerOrderAmendmentSaveModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models"> <ManufacturerOrderId>1</ManufacturerOrderId> <Note>sample string 2</Note> <PurchaseOrdersDetails> <PurchaseOrdersDetailsForManufacturerOrderAmendmentModels> <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> </PurchaseOrdersDetailsForManufacturerOrderAmendmentModels> <PurchaseOrdersDetailsForManufacturerOrderAmendmentModels> <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> </PurchaseOrdersDetailsForManufacturerOrderAmendmentModels> </PurchaseOrdersDetails> <UserId>3</UserId> </ManufacturerOrderAmendmentSaveModels>
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.