Delete TimeOff Transactions from the company

Query Parameters

ParameterTypeRequiredNotes
TOAccountIDintegerTrue

Parameters

ParameterTypeRequiredNotes
Key string True Denotes how the item will be indexed: Currently only accepts TransID
KeyVal string True The actual index of the item: TransID

Example Query

POST https://api.workschedule.net/WS.exe?Module=API&SessionID=123&SP=12345678&Method=deleteTimeOffTrans&TOAccountID=100

Sample JSON Input

  [
  {
	"Key": "TransID",
	"KeyVal": "109"
  },

  {
	"Key": "TransID",
	"KeyVal": "110"
  }


]  

JSON Response

  {
 "ErrorMessage": "Success",
 "ItemResponses": [
  {
   "ErrorMessage": "Success",
   "ItemNo": "1",
   "ErrorCode": "0"
  },{
   "ErrorMessage": "Success",
   "ItemNo": "2",
   "ErrorCode": "0"
  }],
 "Items": [],
 "ErrorCode": "0"
}  

Resource Information

Response Format JSON
Request Type POST