POST api/AllocateDiscCategoryToDiscType/Save

Request Information

URI Parameters

None.

Body Parameters

InvAllocateDiscItemToDiscType
NameDescriptionTypeAdditional information
IsActive

boolean

None.

EntryDate

date

None.

ModifyDate

date

None.

CompanyId

integer

None.

DiscountItemId

integer

None.

DiscountTypeId

integer

None.

EntryUserId

integer

None.

FinancialYearId

integer

None.

BranchesId

integer

None.

Id

integer

None.

ModifyUserId

integer

None.

OrganizationId

integer

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

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

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.