Interface IStockServiceContract
%Service for interacting with stock in %Evatic.
Namespace: Evatic.Common.Service.Contract
Assembly: Evatic.Common.dll
Syntax
[IncludeDocumentationInWsdl]
[ServiceContract(Namespace = "http://schema.evatic.com/2012/10/24", Name = "StockService")]
public interface IStockServiceContract
Methods
View SourceGetInternalStockMovements(GetInternalStockMovementsRequestDataContract)
Search for internal stock movements. Results are filtered on properties specified in the request object.
DateFrom is required to avoid retrieving excessive amounts of data, but can be set to an arbritary low date. DateTo needs to be after DateFrom. Only the date values of the DateTime objects is used.
Setting ExcludeExternalStatus to true removes all entries where ExternalStatus is set. Specifying ExternalStatus filters the entries on that value. ExternalStatus will be ignored when ExcludeExternalStatus is used.
Declaration
[OperationContract]
List<GetInternalStockMovementResponseDataContract> GetInternalStockMovements(GetInternalStockMovementsRequestDataContract request)
Parameters
Type | Name | Description |
---|---|---|
GetInternalStockMovementsRequestDataContract | request |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<GetInternalStockMovementResponseDataContract> |
UpdateInternalStockMovementExternalStatus(Int32, Nullable<Char>)
Change the ExternalStatus of an internal stock movement. This can be used to mark entries as processed for an external system.
Declaration
[OperationContract]
void UpdateInternalStockMovementExternalStatus(int id, char? status)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | id | |
System.Nullable<System.Char> | status |