PUT api/Mobile/Employee
Update employee external code
Request Information
URI Parameters
None.
Body Parameters
IBMS_Cloud_API.Controllers.EmployeeController+EmployeeUpdateFieldsName | Description | Type | Additional information |
---|---|---|---|
EmployeeID | integer |
None. |
|
ExternalCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "EmployeeID": 1, "ExternalCode": "sample string 2" }
text/html
Sample:
{"EmployeeID":1,"ExternalCode":"sample string 2"}
application/xml, text/xml
Sample:
<EmployeeController.EmployeeUpdateFields xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IBMS_Cloud_API.Controllers"> <EmployeeID>1</EmployeeID> <ExternalCode>sample string 2</ExternalCode> </EmployeeController.EmployeeUpdateFields>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of IBMS_Cloud_API.Controllers.EmployeeController+EmployeeStatusResponseFieldsName | 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>