POST api/GoodInwards/InsertUpdateGoodInwards
Request Information
URI Parameters
None.
Body Parameters
GoodInwardsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| InwardId | integer |
None. |
|
| InwardDate | date |
None. |
|
| ItemId | integer |
None. |
|
| GoodsInwardNo | string |
None. |
|
| ReferenceType | string |
None. |
|
| PurchaseOrderNo | string |
None. |
|
| PurchaseOrderId | integer |
None. |
|
| CompanyId | integer |
None. |
|
| Status | string |
None. |
|
| VendorId | integer |
None. |
|
| VendorCode | string |
None. |
|
| VendorName | string |
None. |
|
| ToDate | date |
None. |
|
| FromDate | date |
None. |
|
| Remarks | string |
None. |
|
| StatusDate | date |
None. |
|
| TotalAmount | decimal number |
None. |
|
| CreatedBy | integer |
None. |
|
| UpdatedBy | integer |
None. |
|
| OceanCompanyName | string |
None. |
|
| OceanInvoiceNumber | string |
None. |
|
| TruckingCompanyName | string |
None. |
|
| TruckingInvoiceNumber | string |
None. |
|
| BrokingCompanyName | string |
None. |
|
| BrokingInvoiceNumber | string |
None. |
|
| FreightCostByCode | string |
None. |
|
| OceanFreightCost | decimal number |
None. |
|
| TruckingFreightCost | decimal number |
None. |
|
| BrokingFreightCost | decimal number |
None. |
|
| ListLineItemDetail | Collection of LineItemDetailModel |
None. |
|
| PageSize | integer |
None. |
|
| PageNumber | integer |
None. |
|
| SortBy | string |
None. |
|
| SortType | string |
None. |
|
| Filter | string |
None. |
|
| FilterType | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"InwardId": 1,
"InwardDate": "2026-10-05T13:48:33.4186318-04:00",
"ItemId": 3,
"GoodsInwardNo": "sample string 4",
"ReferenceType": "sample string 5",
"PurchaseOrderNo": "sample string 6",
"PurchaseOrderId": 7,
"CompanyId": 8,
"Status": "sample string 9",
"VendorId": 10,
"VendorCode": "sample string 11",
"VendorName": "sample string 12",
"ToDate": "2026-10-05T13:48:33.4186318-04:00",
"FromDate": "2026-10-05T13:48:33.4186318-04:00",
"Remarks": "sample string 15",
"StatusDate": "2026-10-05T13:48:33.4186318-04:00",
"TotalAmount": 17.0,
"CreatedBy": 18,
"UpdatedBy": 19,
"OceanCompanyName": "sample string 20",
"OceanInvoiceNumber": "sample string 21",
"TruckingCompanyName": "sample string 22",
"TruckingInvoiceNumber": "sample string 23",
"BrokingCompanyName": "sample string 24",
"BrokingInvoiceNumber": "sample string 25",
"FreightCostByCode": "sample string 26",
"OceanFreightCost": 27.0,
"TruckingFreightCost": 28.0,
"BrokingFreightCost": 29.0,
"ListLineItemDetail": [
{
"LINEITEMID": 1,
"REFERENCEID": 2,
"ITEMID": 3,
"QUANTITY": 4,
"COSTPRICE": 5.0,
"REFERENCETYPE": "sample string 6",
"SALESTAX": 7.0,
"EXCISETAX": 8.0,
"RECEIVEDQTY": 9,
"OPENQTY": 10,
"VALIDITEMIMAGE": "sample string 11",
"DeliveryDate": "2026-10-05T13:48:33.4186318-04:00",
"COMPANYID": 13,
"WEIGHT": 14.0,
"VOLUME": 15.0,
"SECTIONID": 16,
"SellingPrice": 17.0,
"PickUpPrice": 18.0,
"IsVendorTabAvail": true,
"VendorId": 20,
"CreatedBy": "sample string 21"
},
{
"LINEITEMID": 1,
"REFERENCEID": 2,
"ITEMID": 3,
"QUANTITY": 4,
"COSTPRICE": 5.0,
"REFERENCETYPE": "sample string 6",
"SALESTAX": 7.0,
"EXCISETAX": 8.0,
"RECEIVEDQTY": 9,
"OPENQTY": 10,
"VALIDITEMIMAGE": "sample string 11",
"DeliveryDate": "2026-10-05T13:48:33.4186318-04:00",
"COMPANYID": 13,
"WEIGHT": 14.0,
"VOLUME": 15.0,
"SECTIONID": 16,
"SellingPrice": 17.0,
"PickUpPrice": 18.0,
"IsVendorTabAvail": true,
"VendorId": 20,
"CreatedBy": "sample string 21"
}
],
"PageSize": 30,
"PageNumber": 31,
"SortBy": "sample string 32",
"SortType": "sample string 33",
"Filter": "sample string 34",
"FilterType": "sample string 35"
}
application/xml, text/xml
Sample:
<GoodInwardsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OMSWebApi.Models">
<Filter>sample string 34</Filter>
<FilterType>sample string 35</FilterType>
<FromDate>0001-01-01T00:00:00</FromDate>
<PageNumber>31</PageNumber>
<PageSize>30</PageSize>
<SortBy>sample string 32</SortBy>
<SortType>sample string 33</SortType>
<ToDate>0001-01-01T00:00:00</ToDate>
<BrokingCompanyName>sample string 24</BrokingCompanyName>
<BrokingFreightCost>29</BrokingFreightCost>
<BrokingInvoiceNumber>sample string 25</BrokingInvoiceNumber>
<CompanyId>8</CompanyId>
<CreatedBy>18</CreatedBy>
<FreightCostByCode>sample string 26</FreightCostByCode>
<FromDate>2026-10-05T13:48:33.4186318-04:00</FromDate>
<GoodsInwardNo>sample string 4</GoodsInwardNo>
<InwardDate>2026-10-05T13:48:33.4186318-04:00</InwardDate>
<InwardId>1</InwardId>
<ItemId>3</ItemId>
<ListLineItemDetail>
<LineItemDetailModel>
<COMPANYID>13</COMPANYID>
<COSTPRICE>5</COSTPRICE>
<CreatedBy>sample string 21</CreatedBy>
<DeliveryDate>2026-10-05T13:48:33.4186318-04:00</DeliveryDate>
<EXCISETAX>8</EXCISETAX>
<ITEMID>3</ITEMID>
<IsVendorTabAvail>true</IsVendorTabAvail>
<LINEITEMID>1</LINEITEMID>
<OPENQTY>10</OPENQTY>
<PickUpPrice>18</PickUpPrice>
<QUANTITY>4</QUANTITY>
<RECEIVEDQTY>9</RECEIVEDQTY>
<REFERENCEID>2</REFERENCEID>
<REFERENCETYPE>sample string 6</REFERENCETYPE>
<SALESTAX>7</SALESTAX>
<SECTIONID>16</SECTIONID>
<SellingPrice>17</SellingPrice>
<VALIDITEMIMAGE>sample string 11</VALIDITEMIMAGE>
<VOLUME>15</VOLUME>
<VendorId>20</VendorId>
<WEIGHT>14</WEIGHT>
</LineItemDetailModel>
<LineItemDetailModel>
<COMPANYID>13</COMPANYID>
<COSTPRICE>5</COSTPRICE>
<CreatedBy>sample string 21</CreatedBy>
<DeliveryDate>2026-10-05T13:48:33.4186318-04:00</DeliveryDate>
<EXCISETAX>8</EXCISETAX>
<ITEMID>3</ITEMID>
<IsVendorTabAvail>true</IsVendorTabAvail>
<LINEITEMID>1</LINEITEMID>
<OPENQTY>10</OPENQTY>
<PickUpPrice>18</PickUpPrice>
<QUANTITY>4</QUANTITY>
<RECEIVEDQTY>9</RECEIVEDQTY>
<REFERENCEID>2</REFERENCEID>
<REFERENCETYPE>sample string 6</REFERENCETYPE>
<SALESTAX>7</SALESTAX>
<SECTIONID>16</SECTIONID>
<SellingPrice>17</SellingPrice>
<VALIDITEMIMAGE>sample string 11</VALIDITEMIMAGE>
<VOLUME>15</VOLUME>
<VendorId>20</VendorId>
<WEIGHT>14</WEIGHT>
</LineItemDetailModel>
</ListLineItemDetail>
<OceanCompanyName>sample string 20</OceanCompanyName>
<OceanFreightCost>27</OceanFreightCost>
<OceanInvoiceNumber>sample string 21</OceanInvoiceNumber>
<PurchaseOrderId>7</PurchaseOrderId>
<PurchaseOrderNo>sample string 6</PurchaseOrderNo>
<ReferenceType>sample string 5</ReferenceType>
<Remarks>sample string 15</Remarks>
<Status>sample string 9</Status>
<StatusDate>2026-10-05T13:48:33.4186318-04:00</StatusDate>
<ToDate>2026-10-05T13:48:33.4186318-04:00</ToDate>
<TotalAmount>17</TotalAmount>
<TruckingCompanyName>sample string 22</TruckingCompanyName>
<TruckingFreightCost>28</TruckingFreightCost>
<TruckingInvoiceNumber>sample string 23</TruckingInvoiceNumber>
<UpdatedBy>19</UpdatedBy>
<VendorCode>sample string 11</VendorCode>
<VendorId>10</VendorId>
<VendorName>sample string 12</VendorName>
</GoodInwardsModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |