POST api/Company/AddEditCompanyScheduling
Request Information
URI Parameters
None.
Body Parameters
CompanyScheduling| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyShortInfo | CompanyShortInfo |
None. |
|
| SchedulingID | integer |
None. |
|
| CompanyID | integer |
None. |
|
| TimeAllowance | decimal number |
None. |
|
| CrewAvalVar | decimal number |
None. |
|
| FirstHouseInspected | integer |
None. |
|
| PerMileReimbursment | decimal number |
None. |
|
| MinimumWage | decimal number |
None. |
|
| HourlyRate | decimal number |
None. |
|
| MinHourstoClean | decimal number |
None. |
|
| RoomRate | decimal number |
None. |
|
| MinRoomPrice | decimal number |
None. |
|
| MinSqFtAdjust | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"CompanyShortInfo": {
"CompanyID": 1,
"BusinessID": "sample string 2",
"BusinessName": "sample string 3",
"DatabaseName": "sample string 4"
},
"SchedulingID": 1,
"CompanyID": 2,
"TimeAllowance": 3.0,
"CrewAvalVar": 4.0,
"FirstHouseInspected": 5,
"PerMileReimbursment": 6.0,
"MinimumWage": 7.0,
"HourlyRate": 8.0,
"MinHourstoClean": 9.0,
"RoomRate": 10.0,
"MinRoomPrice": 11.0,
"MinSqFtAdjust": 12.0
}
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
}
}