Skip to content

Record Time

Sets Time records to a status of Recorded.

Notes on Recording Time

In PracticeERP, after a Time record is created, it must be recorded in order to eventually create WIP. This endpoint records an individual Time record, just like a user would in the UI.

Base URL

https://{{accountid}}.restlets.api.netsuite.com/app/site/hosting/restlet.nl?script=customscript_prac_api_recordtime&deploy=customdeploy_prac_api_recordtime_v1

HTTP: PUT

Records an existing Time record based on its internal ID set in the JSON payload.

Payload

{
    "id": 39898
}

Response

Depending on the system settings, the underlying Timebill record related to a Time record may or may not be immediately approved (not creating WIP). You can check the approval status in the response.

{
    "success": true,
    "requestId": "I76233134",
    "id": 1473,
    "timeApproved": false
}