POST api/StartandFinishJob
Request Information
URI Parameters
None.
Body Parameters
StartJobRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| StatusList | Collection of CommentsStatus |
None. |
|
| routeControlId | integer |
None. |
|
| PropertyId | integer |
None. |
|
| InOutTime | string |
None. |
|
| JobTypeFlag | string |
None. |
|
| DustingEmployeeId | integer |
None. |
|
| BathroomEmployeeId | integer |
None. |
|
| KitchenEmployeeId | integer |
None. |
|
| VacuumingEmployeeId | integer |
None. |
|
| SignInOutTime | time interval |
None. |
|
| FranchiseeCode | integer |
None. |
|
| TeamCode | string |
None. |
|
| DateVisit | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"StatusList": [
{
"Status": true,
"CommentId": 1
},
{
"Status": true,
"CommentId": 1
}
],
"routeControlId": 1,
"PropertyId": 2,
"InOutTime": "sample string 3",
"JobTypeFlag": "sample string 4",
"DustingEmployeeId": 5,
"BathroomEmployeeId": 6,
"KitchenEmployeeId": 7,
"VacuumingEmployeeId": 8,
"SignInOutTime": "00:00:00.1234567",
"FranchiseeCode": 1,
"TeamCode": "sample string 9",
"DateVisit": "sample string 10"
}
application/xml, text/xml
Sample:
<StartJobRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Feild_Models.Requests">
<DateVisit xmlns="http://schemas.datacontract.org/2004/07/Feild_Models.Helper">sample string 10</DateVisit>
<FranchiseeCode xmlns="http://schemas.datacontract.org/2004/07/Feild_Models.Helper">1</FranchiseeCode>
<TeamCode xmlns="http://schemas.datacontract.org/2004/07/Feild_Models.Helper">sample string 9</TeamCode>
<BathroomEmployeeId>6</BathroomEmployeeId>
<DustingEmployeeId>5</DustingEmployeeId>
<InOutTime>sample string 3</InOutTime>
<JobTypeFlag>sample string 4</JobTypeFlag>
<KitchenEmployeeId>7</KitchenEmployeeId>
<PropertyId>2</PropertyId>
<SignInOutTime>PT0.1234567S</SignInOutTime>
<StatusList>
<CommentsStatus>
<CommentId>1</CommentId>
<Status>true</Status>
</CommentsStatus>
<CommentsStatus>
<CommentId>1</CommentId>
<Status>true</Status>
</CommentsStatus>
</StatusList>
<VacuumingEmployeeId>8</VacuumingEmployeeId>
<routeControlId>1</routeControlId>
</StartJobRequest>
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. |