POST api/Company/AddEditCompanyTarget
Request Information
URI Parameters
None.
Body Parameters
CompanyTargetMapper| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyShortInfo | CompanyShortInfo |
None. |
|
| CompanyTargetID | integer |
None. |
|
| CompanyID | integer |
None. |
|
| PayPrTar1 | decimal number |
None. |
|
| PayPrTar2 | decimal number |
None. |
|
| MileagePrTar | decimal number |
None. |
|
| NewCustFollowUp | decimal number |
None. |
|
| OldCustFollowUp | decimal number |
None. |
|
| Inspections | integer |
None. |
|
| MAGrossPr | decimal number |
None. |
|
| MAMilagePr | decimal number |
None. |
|
| CMBonusExPr | decimal number |
None. |
|
| EqSuppliePr | decimal number |
None. |
|
| MiscBrPr | decimal number |
None. |
|
| CleanFollowUpCall | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CompanyShortInfo": {
"CompanyID": 1,
"BusinessID": "sample string 2",
"BusinessName": "sample string 3",
"DatabaseName": "sample string 4"
},
"CompanyTargetID": 1,
"CompanyID": 2,
"PayPrTar1": 3.0,
"PayPrTar2": 4.0,
"MileagePrTar": 5.0,
"NewCustFollowUp": 6.0,
"OldCustFollowUp": 7.0,
"Inspections": 8,
"MAGrossPr": 9.0,
"MAMilagePr": 10.0,
"CMBonusExPr": 11.0,
"EqSuppliePr": 12.0,
"MiscBrPr": 13.0,
"CleanFollowUpCall": 14
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Result| Name | Description | Type | Additional information |
|---|---|---|---|
| HasError | boolean |
None. |
|
| HasSuccess | boolean |
None. |
|
| Status | StatusType |
None. |
|
| MessageTitle | string |
None. |
|
| Message | string |
None. |
|
| ExceptionMessage | string |
None. |
|
| ExceptionStackTrace | string |
None. |
|
| ResultException | Exception |
None. |
|
| ResultObject | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResultObject": {},
"HasError": false,
"HasSuccess": true,
"Status": 200,
"MessageTitle": "sample string 3",
"Message": "sample string 4",
"ExceptionMessage": "sample string 5",
"ExceptionStackTrace": "sample string 6",
"ResultException": {
"ClassName": "System.Exception",
"Message": null,
"Data": null,
"InnerException": null,
"HelpURL": "sample string 1",
"StackTraceString": null,
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": 3,
"Source": "sample string 2",
"WatsonBuckets": null
}
}