POST api/ItemCategory/FormHistoryForAssetsCategory

Request Information

URI Parameters

None.

Body Parameters

ItemCategory
NameDescriptionTypeAdditional information
CategoryStatus

boolean

None.

EntryDate

date

None.

ModifyDate

date

None.

CGSAccountId

integer

None.

CompanyId

integer

None.

EntryUser

integer

None.

Id

integer

None.

InventoryAccountId

integer

None.

ModifyUser

integer

None.

OrganizationId

integer

None.

RevenueAccountId

integer

None.

SerialFrom

integer

None.

SerialTo

integer

None.

InventoryParentCategoriesId

integer

None.

accumulatedDepreciationAcId

integer

None.

DepreciationExpenseAcId

integer

None.

CapitalWipAcId

integer

None.

ItemClassGroupId

integer

None.

CategoryCode

string

None.

CategoryDescription

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CategoryStatus": true,
  "EntryDate": "2025-10-29T13:05:51.2708908+05:00",
  "ModifyDate": "2025-10-29T13:05:51.2708908+05:00",
  "CGSAccountId": 4,
  "CompanyId": 5,
  "EntryUser": 6,
  "Id": 7,
  "InventoryAccountId": 8,
  "ModifyUser": 9,
  "OrganizationId": 10,
  "RevenueAccountId": 11,
  "SerialFrom": 12,
  "SerialTo": 13,
  "InventoryParentCategoriesId": 14,
  "accumulatedDepreciationAcId": 15,
  "DepreciationExpenseAcId": 16,
  "CapitalWipAcId": 17,
  "ItemClassGroupId": 18,
  "CategoryCode": "sample string 19",
  "CategoryDescription": "sample string 20"
}

application/xml, text/xml

Sample:
<ItemCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model.Inventory">
  <CGSAccountId>4</CGSAccountId>
  <CapitalWipAcId>17</CapitalWipAcId>
  <CategoryCode>sample string 19</CategoryCode>
  <CategoryDescription>sample string 20</CategoryDescription>
  <CategoryStatus>true</CategoryStatus>
  <CompanyId>5</CompanyId>
  <DepreciationExpenseAcId>16</DepreciationExpenseAcId>
  <EntryDate>2025-10-29T13:05:51.2708908+05:00</EntryDate>
  <EntryUser>6</EntryUser>
  <Id>7</Id>
  <InventoryAccountId>8</InventoryAccountId>
  <InventoryParentCategoriesId>14</InventoryParentCategoriesId>
  <ItemClassGroupId>18</ItemClassGroupId>
  <ModifyDate>2025-10-29T13:05:51.2708908+05:00</ModifyDate>
  <ModifyUser>9</ModifyUser>
  <OrganizationId>10</OrganizationId>
  <RevenueAccountId>11</RevenueAccountId>
  <SerialFrom>12</SerialFrom>
  <SerialTo>13</SerialTo>
  <accumulatedDepreciationAcId>15</accumulatedDepreciationAcId>
</ItemCategory>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ItemCategory'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.