POST api/incentive/target/config/add

Request Information

URI Parameters

None.

Body Parameters

Collection of IncentiveTargetConfigEntity
NameDescriptionTypeAdditional information
IncentiveConfigId

integer

None.

ConfigName

string

None.

IncentiveTarget

decimal number

None.

IncentivePercentage

decimal number

None.

Incentive

decimal number

None.

StaffId

integer

None.

StaffName

string

None.

IncentiveFor

string

None.

VendorId

integer

None.

LocationId

integer

None.

Active

boolean

None.

CreatedTime

date

None.

UpdatedTime

date

None.

IsApplicable

boolean

None.

Collection

decimal number

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "IncentiveConfigId": 1,
    "ConfigName": "sample string 2",
    "IncentiveTarget": 3.0,
    "IncentivePercentage": 4.0,
    "Incentive": 5.0,
    "StaffId": 6,
    "StaffName": "sample string 7",
    "IncentiveFor": "sample string 8",
    "VendorId": 9,
    "LocationId": 10,
    "Active": true,
    "CreatedTime": "2025-12-31T16:39:07.1276834+05:30",
    "UpdatedTime": "2025-12-31T16:39:07.1276834+05:30",
    "IsApplicable": true,
    "Collection": 14.0
  },
  {
    "IncentiveConfigId": 1,
    "ConfigName": "sample string 2",
    "IncentiveTarget": 3.0,
    "IncentivePercentage": 4.0,
    "Incentive": 5.0,
    "StaffId": 6,
    "StaffName": "sample string 7",
    "IncentiveFor": "sample string 8",
    "VendorId": 9,
    "LocationId": 10,
    "Active": true,
    "CreatedTime": "2025-12-31T16:39:07.1276834+05:30",
    "UpdatedTime": "2025-12-31T16:39:07.1276834+05:30",
    "IsApplicable": true,
    "Collection": 14.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfIncentiveTargetConfigEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pos_crm_api_DAL.Entities">
  <IncentiveTargetConfigEntity>
    <Active>true</Active>
    <Collection>14</Collection>
    <ConfigName>sample string 2</ConfigName>
    <CreatedTime>2025-12-31T16:39:07.1276834+05:30</CreatedTime>
    <Incentive>5</Incentive>
    <IncentiveConfigId>1</IncentiveConfigId>
    <IncentiveFor>sample string 8</IncentiveFor>
    <IncentivePercentage>4</IncentivePercentage>
    <IncentiveTarget>3</IncentiveTarget>
    <IsApplicable>true</IsApplicable>
    <LocationId>10</LocationId>
    <StaffId>6</StaffId>
    <StaffName>sample string 7</StaffName>
    <UpdatedTime>2025-12-31T16:39:07.1276834+05:30</UpdatedTime>
    <VendorId>9</VendorId>
  </IncentiveTargetConfigEntity>
  <IncentiveTargetConfigEntity>
    <Active>true</Active>
    <Collection>14</Collection>
    <ConfigName>sample string 2</ConfigName>
    <CreatedTime>2025-12-31T16:39:07.1276834+05:30</CreatedTime>
    <Incentive>5</Incentive>
    <IncentiveConfigId>1</IncentiveConfigId>
    <IncentiveFor>sample string 8</IncentiveFor>
    <IncentivePercentage>4</IncentivePercentage>
    <IncentiveTarget>3</IncentiveTarget>
    <IsApplicable>true</IsApplicable>
    <LocationId>10</LocationId>
    <StaffId>6</StaffId>
    <StaffName>sample string 7</StaffName>
    <UpdatedTime>2025-12-31T16:39:07.1276834+05:30</UpdatedTime>
    <VendorId>9</VendorId>
  </IncentiveTargetConfigEntity>
</ArrayOfIncentiveTargetConfigEntity>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.