POST api/Compensation/Add

Request Information

URI Parameters

None.

Body Parameters

CompensationModel
NameDescriptionTypeAdditional information
SalesforceNameId

integer

None.

CompanyId

integer

None.

CountryId

integer

None.

LowSalary

integer

None.

HighSalary

integer

None.

TargetBonus

integer

None.

PeriodId

integer

None.

EmployeeTypeID

integer

None.

AdminLogID

integer

None.

ID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SalesforceNameId": 1,
  "CompanyId": 2,
  "CountryId": 3,
  "LowSalary": 4,
  "HighSalary": 5,
  "TargetBonus": 6,
  "PeriodId": 7,
  "EmployeeTypeID": 8,
  "AdminLogID": 9,
  "ID": 10
}

application/xml, text/xml

Sample:
<CompensationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAWebAPI.Models">
  <AdminLogID>9</AdminLogID>
  <CompanyId>2</CompanyId>
  <CountryId>3</CountryId>
  <EmployeeTypeID>8</EmployeeTypeID>
  <HighSalary>5</HighSalary>
  <ID>10</ID>
  <LowSalary>4</LowSalary>
  <PeriodId>7</PeriodId>
  <SalesforceNameId>1</SalesforceNameId>
  <TargetBonus>6</TargetBonus>
</CompensationModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.