Delete users from the company record.
Parameters
Parameter | Type | Required | Notes |
---|---|---|---|
Key | string | True | Denotes how the item will be indexed: UserID, ExternalID, or UserName |
KeyVal | string | True | The actual index of the item: UserID, ExternalID, or UserName |
Example Query
POST | https://api.workschedule.net/WS.exe?Module=API&SessionID=123&SP=12345678&Method=deleteUsers |
Sample JSON Input
[
{
"Key": "UserID",
"KeyVal": "1"
},
{
"Key": "UserName",
"KeyVal": "LCastle"
},
{
"Key": "CatItemID",
"KeyVal": "2"
}
]
JSON Response
{
"ErrorMessage": "Success",
"ItemResponses": [
{
"ErrorMessage": "Success",
"ItemNo": "1",
"ErrorCode": "0"
},{
"ErrorMessage": "Success",
"ItemNo": "2",
"ErrorCode": "0"
},{
"ErrorMessage": "Success",
"ItemNo": "3",
"ErrorCode": "0"
}],
"Items": [],
"ErrorCode": "0"
}
Resource Information
Response Format | JSON |
Request Type | POST |