POST api/InventoryItemsOther/Save

Request Information

URI Parameters

None.

Body Parameters

InventoryItemsOther
NameDescriptionTypeAdditional information
BranchesId

integer

None.

CogsGLAcId

integer

None.

CompanyId

integer

None.

Id

integer

None.

OrganizationId

integer

None.

ProjectsId

integer

None.

SaleGLAcId

integer

None.

StockGLAcId

integer

None.

OtherItemName

string

None.

OtherItemType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BranchesId": 1,
  "CogsGLAcId": 2,
  "CompanyId": 3,
  "Id": 4,
  "OrganizationId": 5,
  "ProjectsId": 6,
  "SaleGLAcId": 7,
  "StockGLAcId": 8,
  "OtherItemName": "sample string 9",
  "OtherItemType": "sample string 10"
}

application/xml, text/xml

Sample:
<InventoryItemsOther xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model.Inventory">
  <BranchesId>1</BranchesId>
  <CogsGLAcId>2</CogsGLAcId>
  <CompanyId>3</CompanyId>
  <Id>4</Id>
  <OrganizationId>5</OrganizationId>
  <OtherItemName>sample string 9</OtherItemName>
  <OtherItemType>sample string 10</OtherItemType>
  <ProjectsId>6</ProjectsId>
  <SaleGLAcId>7</SaleGLAcId>
  <StockGLAcId>8</StockGLAcId>
</InventoryItemsOther>

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 'InventoryItemsOther'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>