TrackRecordPro API Documentation TrackRecordPro

createDepartments()

Summary

Method Name

createDepartments

Minimum Supported API Version3.0

createDepartments

$result = createDepartments($newdata)

Details

This method adds one or more department entries. either an array, or a single object, are acceptable parameters in the $newdata array.

Parameters

$newdataThe new data to apply to the matched records.

Return value

The method returns a status object indicating the number of rows inserted, deleted or added.