POST api/Loneworker
Record an employee as a lone worker
Request Information
URI Parameters
None.
Body Parameters
LoneWorkerPayload| Name | Description | Type | Additional information |
|---|---|---|---|
| Ref | string |
None. |
|
| AuthCode | string |
None. |
|
| PhoneNumber | string |
None. |
|
| Status | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Ref": "sample string 1",
"AuthCode": "sample string 2",
"PhoneNumber": "sample string 3",
"Status": 4
}
text/html
Sample:
{"Ref":"sample string 1","AuthCode":"sample string 2","PhoneNumber":"sample string 3","Status":4}
application/xml, text/xml
Sample:
<LoneworkerController.LoneWorkerPayload xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IBMS_Cloud_API.Controllers"> <AuthCode>sample string 2</AuthCode> <PhoneNumber>sample string 3</PhoneNumber> <Ref>sample string 1</Ref> <Status>4</Status> </LoneworkerController.LoneWorkerPayload>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json, text/html
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />