POST api/Mobile/EmployeeStatus
Send engineer update.
Request Information
URI Parameters
None.
Body Parameters
IBMS_Cloud_API.Controllers.EmployeeController+EmployeeStatus| Name | Description | Type | Additional information |
|---|---|---|---|
| DiaryID | integer |
None. |
|
| StatusID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"DiaryID": 1,
"StatusID": 2
}
text/html
Sample:
{"DiaryID":1,"StatusID":2}
application/xml, text/xml
Sample:
<EmployeeController.EmployeeStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IBMS_Cloud_API.Controllers"> <DiaryID>1</DiaryID> <StatusID>2</StatusID> </EmployeeController.EmployeeStatus>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of IBMS_Cloud_API.Controllers.EmployeeController+EmployeeStatusResponseFields| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | string |
None. |
|
| Message | string |
None. |
|
| DiaryID | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Result": "sample string 1",
"Message": "sample string 2",
"DiaryID": 3
},
{
"Result": "sample string 1",
"Message": "sample string 2",
"DiaryID": 3
}
]
text/html
Sample:
[{"Result":"sample string 1","Message":"sample string 2","DiaryID":3},{"Result":"sample string 1","Message":"sample string 2","DiaryID":3}]
application/xml, text/xml
Sample:
<ArrayOfEmployeeController.EmployeeStatusResponseFields xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IBMS_Cloud_API.Controllers">
<EmployeeController.EmployeeStatusResponseFields>
<DiaryID>3</DiaryID>
<Message>sample string 2</Message>
<Result>sample string 1</Result>
</EmployeeController.EmployeeStatusResponseFields>
<EmployeeController.EmployeeStatusResponseFields>
<DiaryID>3</DiaryID>
<Message>sample string 2</Message>
<Result>sample string 1</Result>
</EmployeeController.EmployeeStatusResponseFields>
</ArrayOfEmployeeController.EmployeeStatusResponseFields>