POST api/v1/IncentiveSave
Request Information
URI Parameters
None.
Body Parameters
IncentiveSaveInput| Name | Description | Type | Additional information |
|---|---|---|---|
| Mode | string |
None. |
|
| IncentiveID | integer |
None. |
|
| LocID | integer |
None. |
|
| CompID | integer |
None. |
|
| UserID | integer |
None. |
|
| Mon | integer |
None. |
|
| Yr | integer |
None. |
|
| SlabID | integer |
None. |
|
| TargetSlab | decimal number |
None. |
|
| IncentivePer | decimal number |
None. |
|
| IncentiveAmt | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"Mode": "sample string 1",
"IncentiveID": 2,
"LocID": 3,
"CompID": 4,
"UserID": 5,
"Mon": 6,
"Yr": 7,
"SlabID": 8,
"TargetSlab": 9.0,
"IncentivePer": 10.0,
"IncentiveAmt": 11.0
}
application/xml, text/xml
Sample:
<IncentiveSaveInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models"> <CompID>4</CompID> <IncentiveAmt>11</IncentiveAmt> <IncentiveID>2</IncentiveID> <IncentivePer>10</IncentivePer> <LocID>3</LocID> <Mode>sample string 1</Mode> <Mon>6</Mon> <SlabID>8</SlabID> <TargetSlab>9</TargetSlab> <UserID>5</UserID> <Yr>7</Yr> </IncentiveSaveInput>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |