Pending Resubmit

Re-submit a pending timesheet

Pending Resubmit

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areatspending.json
GeneralYesParameters described in overviewsee overviewStructure of an API call
CompanyYesThe company numbercompany=1
ActionYesThe action to performaction=pendingresubmit
IdentifierYesTimesheet IDtspending=686

Example request (OAuth 2.0):

Authorization: Bearer <access_token>
http://<SERVER>/jsonapi/tspending.json?&version=6&action=pendingresubmit&tspending=686

Example request (legacy username/password):

http://<SERVER>/jsonapi/tspending.json?&version=6&action=pendingresubmit&tspending=686&user=<username>&password=<password>

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "responsemessage": "TS pending record resubmitted",
  "warningmessage": "",
  "success": true
}