changeState
Url
/V2.0/services/data/changeState
HTTP Method
POST
Description
Changes the state of an object 
Parameters
Name Type Description
ids entityId[] List of objects to perform the operation on
state* string The desired state.

Available options:

  • WorkItem
    • Requested
    • Draft
    • Active
    • OnHold
    • Cancelled
    • Completed
  • ExpenseSheet
    • Draft
    • Submitted
    • Approved
    • Deferred
  • Customer
    • Active
  • Timesheet
    • UnSubmitted
    • Submitted
    • Approved
Result
Name Type Description
In case of failure an error object will be returned
* indicates required fields