v1

latestOpenAPI 3.1.02026-08-0420819698.7 KB
Routes
Parts
Logs

Part Logs

This request returns the log entries for a part.

Note: this endpoint supports pagination. Please refer to the Pagination section for more information.

Return data description

logID | The unique logID of the log. dateCreated | The date the log was created as a UNIX timestamp. partID | The partID the log belongs to. sourceID | The sourceID of the source of the log. The sourceID can be as follows:, 1: Part name was changed., 2: Part Number was changed., 3: Parts were added/removed., 4: Manual log entry., 5: Parts were used on a Task., 6: Part Price was changed., 7: Stale threshold was manually changed., 8: Part Qty threshold was manually changed., 11: Part Qty threshold status was changed., 13: Part Location was changed., 14: Part Vendor was changed., 15: Part Image was changed., 18: Parts were received on a Bill., 19: Part Maximum Part Qty was manually changed., 20: Some of a PO Item Received Qty was used during manual Part Qty adjustment logEntry | The log entry for the part. userID | The ID of the user that created the log. associatedID | The ID of the item associated with this log, if any. Current examples include:, sourceID: 5, associatedID type: Task, sourceID: 18, associatedID type: Bill, sourceID: 20, associatedID type: Bill

get/v2/parts/{partID}/logs

Query parameters

logsinteger

This parameter is used to only get specific logs. This parameter accepts a comma delimited list of logIDs.

sourcesinteger

This parameter is used to only get logs for a specific sourceID. This parameter accepts a comma delimited list of sourceIDs.

usersinteger

This parameter is used to only get logs created by specific users. This parameter accepts a comma delimited list of userIDs.

logEntrystring

This is a parameter used to string search for manual log entry (sourceID: 4). This parameter expects a string with the wildcard %.

startinteger

This parameter is used to only get logs that were last edited after the unix timestamp passed into the start parameter.

endinteger

This parameter is used to only get logs that were last edited before the unix timestamp passed into the end parameter.

pageinteger

This parameter is used to paginate results based on the limit. Refer to Pagination section for more information.

limitinteger

This parameter is a result limiter. The default is set to return no more than 100 results at one time.

cursorstring

This parameter is a cursor that selects what ID you want to start receiving results at.

Response

Part Logs

logIDinteger
dateCreatedinteger
partIDinteger
sourceIDinteger
logEntrystring
userIDinteger
associatedIDinteger