Skip to main content

Get a List of Stock Movements

Show stock movements within a 24 hour date range.

Query String Parameters

NameTypeDescriptionNote
ActionStringFindStockMovementsRequired
StartDateTimeStart of date range. Must be in format: yyyy-MM-dd HH:mm:ss.Required
EndDateTimeEnd of date range. Must be in format: yyyy-MM-dd HH:mm:ss.

Date range cannot exceed 24 hours.
Required
ResourceIdIntUnique resource Id.Optional
ContactIdIntFilter by contact Id.Optional
MakeStringFilter by make.Optional
ModelStringFilter by model.Optional

Response Codes

CodeMessageInformation
0Response DataSee 'Response' example tab
2Missing or invalid parameter StartDate value is invalid or was not specified (when required)
2Missing or invalid parameter EndDate value is invalid or was not specified (when required)
2Start Date must be before End DateSupplied Date range is invalid
2Start to End time span greater than 24 hoursSupplied Date range is invalid
2Missing or invalid parameter ResourceIdMandatory parameter was not supplied
2Invalid ContactIdInteger value is invalid or was not specified (when required)
2Unable to locate resource with id {resourceId}No record found using the specified parameters

Example

Request URL

https://webservice.bigchange.com/v01/services.ashx?action=FindStockMovements&Start=2024-09-22 09:00:00&End=2024-09-23 09:00:00