POST api/AllocateBrandItemToDiscType/Save

Request Information

URI Parameters

None.

Body Parameters

InvAllocateBrandItemToDiscType
NameDescriptionTypeAdditional information
IsActive

boolean

None.

EntryDate

date

None.

ModifyDate

date

None.

BrandItemId

integer

None.

CompanyId

integer

None.

DiscountTypeId

integer

None.

EntryUserId

integer

None.

FinancialYearId

integer

None.

Id

integer

None.

ModifyUserId

integer

None.

OrganizationId

integer

None.

BranchesId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "IsActive": true,
  "EntryDate": "2025-10-29T13:11:39.4583385+05:00",
  "ModifyDate": "2025-10-29T13:11:39.4583385+05:00",
  "BrandItemId": 4,
  "CompanyId": 5,
  "DiscountTypeId": 6,
  "EntryUserId": 7,
  "FinancialYearId": 8,
  "Id": 9,
  "ModifyUserId": 10,
  "OrganizationId": 11,
  "BranchesId": 12
}

application/xml, text/xml

Sample:
<InvAllocateBrandItemToDiscType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model.Inventory">
  <BranchesId>12</BranchesId>
  <BrandItemId>4</BrandItemId>
  <CompanyId>5</CompanyId>
  <DiscountTypeId>6</DiscountTypeId>
  <EntryDate>2025-10-29T13:11:39.4583385+05:00</EntryDate>
  <EntryUserId>7</EntryUserId>
  <FinancialYearId>8</FinancialYearId>
  <Id>9</Id>
  <IsActive>true</IsActive>
  <ModifyDate>2025-10-29T13:11:39.4583385+05:00</ModifyDate>
  <ModifyUserId>10</ModifyUserId>
  <OrganizationId>11</OrganizationId>
</InvAllocateBrandItemToDiscType>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.