POST api/WsRmIncentivePolicyHeader/CalculateIncentivesForCreditNotes

Request Information

URI Parameters

None.

Body Parameters

WsRmIncentivePolicyHeader
NameDescriptionTypeAdditional information
IsApproved

boolean

None.

ApprovedDate

date

None.

EntryDate

date

None.

ModifyDate

date

None.

SchemeDateFrom

date

None.

SchemeDateTo

date

None.

ApprovedUserId

integer

None.

BranchesId

integer

None.

CompanyId

integer

None.

CrAdvoiceTerms

integer

None.

EntryUser

integer

None.

Id

integer

None.

ModifyUser

integer

None.

OrganizationId

integer

None.

ProjectsId

integer

None.

RemarksHeader

string

None.

SchemeDescription

string

None.

GlAccountId

integer

None.

WsRmIncentivePolicyDetailsList

Collection of WsRmIncentivePolicyDetail

None.

Request Formats

application/json, text/json

Sample:
{
  "IsApproved": true,
  "ApprovedDate": "2025-10-29T13:14:37.3537319+05:00",
  "EntryDate": "2025-10-29T13:14:37.3537319+05:00",
  "ModifyDate": "2025-10-29T13:14:37.3537319+05:00",
  "SchemeDateFrom": "2025-10-29T13:14:37.3537319+05:00",
  "SchemeDateTo": "2025-10-29T13:14:37.3537319+05:00",
  "ApprovedUserId": 7,
  "BranchesId": 8,
  "CompanyId": 9,
  "CrAdvoiceTerms": 10,
  "EntryUser": 11,
  "Id": 12,
  "ModifyUser": 13,
  "OrganizationId": 14,
  "ProjectsId": 15,
  "RemarksHeader": "sample string 16",
  "SchemeDescription": "sample string 17",
  "GlAccountId": 18,
  "WsRmIncentivePolicyDetailsList": [
    {
      "IncentiveRate": 1.1,
      "TargetRangeFrom": 2.1,
      "TargetRangeTo": 3.1,
      "Id": 4,
      "IncentiveTypeId": 5,
      "ItemId": 6,
      "TargetBaseTypeId": 7,
      "WsRmIncentivePolicyHeaderId": 8,
      "IncentiveCalcTypeId": 9,
      "RemarksDetail": "sample string 10",
      "ItemName": "sample string 11",
      "TargetBaseType": "sample string 12",
      "IncentiveType": "sample string 13",
      "IncentiveCalType": "sample string 14"
    },
    {
      "IncentiveRate": 1.1,
      "TargetRangeFrom": 2.1,
      "TargetRangeTo": 3.1,
      "Id": 4,
      "IncentiveTypeId": 5,
      "ItemId": 6,
      "TargetBaseTypeId": 7,
      "WsRmIncentivePolicyHeaderId": 8,
      "IncentiveCalcTypeId": 9,
      "RemarksDetail": "sample string 10",
      "ItemName": "sample string 11",
      "TargetBaseType": "sample string 12",
      "IncentiveType": "sample string 13",
      "IncentiveCalType": "sample string 14"
    }
  ]
}

application/xml, text/xml

Sample:
<WsRmIncentivePolicyHeader xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model.POS">
  <ApprovedDate>2025-10-29T13:14:37.3537319+05:00</ApprovedDate>
  <ApprovedUserId>7</ApprovedUserId>
  <BranchesId>8</BranchesId>
  <CompanyId>9</CompanyId>
  <CrAdvoiceTerms>10</CrAdvoiceTerms>
  <EntryDate>2025-10-29T13:14:37.3537319+05:00</EntryDate>
  <EntryUser>11</EntryUser>
  <GlAccountId>18</GlAccountId>
  <Id>12</Id>
  <IsApproved>true</IsApproved>
  <ModifyDate>2025-10-29T13:14:37.3537319+05:00</ModifyDate>
  <ModifyUser>13</ModifyUser>
  <OrganizationId>14</OrganizationId>
  <ProjectsId>15</ProjectsId>
  <RemarksHeader>sample string 16</RemarksHeader>
  <SchemeDateFrom>2025-10-29T13:14:37.3537319+05:00</SchemeDateFrom>
  <SchemeDateTo>2025-10-29T13:14:37.3537319+05:00</SchemeDateTo>
  <SchemeDescription>sample string 17</SchemeDescription>
  <WsRmIncentivePolicyDetailsList>
    <WsRmIncentivePolicyDetail>
      <Id>4</Id>
      <IncentiveCalType>sample string 14</IncentiveCalType>
      <IncentiveCalcTypeId>9</IncentiveCalcTypeId>
      <IncentiveRate>1.1</IncentiveRate>
      <IncentiveType>sample string 13</IncentiveType>
      <IncentiveTypeId>5</IncentiveTypeId>
      <ItemId>6</ItemId>
      <ItemName>sample string 11</ItemName>
      <RemarksDetail>sample string 10</RemarksDetail>
      <TargetBaseType>sample string 12</TargetBaseType>
      <TargetBaseTypeId>7</TargetBaseTypeId>
      <TargetRangeFrom>2.1</TargetRangeFrom>
      <TargetRangeTo>3.1</TargetRangeTo>
      <WsRmIncentivePolicyHeaderId>8</WsRmIncentivePolicyHeaderId>
    </WsRmIncentivePolicyDetail>
    <WsRmIncentivePolicyDetail>
      <Id>4</Id>
      <IncentiveCalType>sample string 14</IncentiveCalType>
      <IncentiveCalcTypeId>9</IncentiveCalcTypeId>
      <IncentiveRate>1.1</IncentiveRate>
      <IncentiveType>sample string 13</IncentiveType>
      <IncentiveTypeId>5</IncentiveTypeId>
      <ItemId>6</ItemId>
      <ItemName>sample string 11</ItemName>
      <RemarksDetail>sample string 10</RemarksDetail>
      <TargetBaseType>sample string 12</TargetBaseType>
      <TargetBaseTypeId>7</TargetBaseTypeId>
      <TargetRangeFrom>2.1</TargetRangeFrom>
      <TargetRangeTo>3.1</TargetRangeTo>
      <WsRmIncentivePolicyHeaderId>8</WsRmIncentivePolicyHeaderId>
    </WsRmIncentivePolicyDetail>
  </WsRmIncentivePolicyDetailsList>
</WsRmIncentivePolicyHeader>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.