POST api/InventoryMasters/PutInventoryMaster
Request Information
URI Parameters
None.
Body Parameters
InventoryMaster| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| BranchId | integer |
None. |
|
| MainCategory | integer |
None. |
|
| MainCategoryName | string |
None. |
|
| SubCategory | integer |
None. |
|
| SubCategoryName | string |
None. |
|
| AssetCode | string |
None. |
|
| IsBarcodeGenerated | boolean |
None. |
|
| IsBarcoded | boolean |
None. |
|
| IsInwarded | boolean |
None. |
|
| CreatedOn | date |
None. |
|
| CreatedBy | integer |
None. |
|
| NameoftheCreator | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"BranchId": 1,
"MainCategory": 1,
"MainCategoryName": "sample string 2",
"SubCategory": 1,
"SubCategoryName": "sample string 3",
"AssetCode": "sample string 4",
"IsBarcodeGenerated": true,
"IsBarcoded": true,
"IsInwarded": true,
"CreatedOn": "2026-07-31T15:19:02.4761128-07:00",
"CreatedBy": 1,
"NameoftheCreator": "sample string 5"
}
application/xml, text/xml
Sample:
<InventoryMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BILLING.DAL.DataModel"> <AssetCode>sample string 4</AssetCode> <BranchId>1</BranchId> <CreatedBy>1</CreatedBy> <CreatedOn>2026-07-31T15:19:02.4761128-07:00</CreatedOn> <Id>1</Id> <IsBarcodeGenerated>true</IsBarcodeGenerated> <IsBarcoded>true</IsBarcoded> <IsInwarded>true</IsInwarded> <MainCategory>1</MainCategory> <MainCategoryName>sample string 2</MainCategoryName> <NameoftheCreator>sample string 5</NameoftheCreator> <SubCategory>1</SubCategory> <SubCategoryName>sample string 3</SubCategoryName> </InventoryMaster>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.