Expense Line Resubmit

Resubmits an expense line.

Expense Line Resubmit

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areaexpenselines.json
GeneralYesParameters described in overviewAuthorization: Bearer <access_token> header — see Synergist API AuthenticationStructure of an API call
CompanyYesThe company numbercompany=1
ActionYesThe action to performaction=expenselineresubmit
IdentifierYesExpense line ID or UUIDexpenseline=3462
ResubmitReasonNoReason for resubmissionresubmitreason=resubmitreason

Example request (OAuth 2.0):

Authorization: Bearer <access_token>
http://<SERVER>/jsonapi/expenselines.json?&version=6&company=1&action=expenselineresubmit&expenseline=3462&resubmitreason=resubmitreason

Example request (legacy username/password):

http://<SERVER>/jsonapi/expenselines.json?&version=6&company=1&action=expenselineresubmit&expenseline=3462&resubmitreason=resubmitreason&user=<username>&password=<password>

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "responsemessage": "Expense line re-submitted.",
  "warningmessage": "",
  "success": true,
  "data": [
    {
      "expensesheetInternalRef": 1824,
      "expensesheetUuid": "A500CC58C6D2C741A3B02674BE2B3576"
    }
  ]
}