C# Class LinnworksAPI.StockMethods

Afficher le fichier Open project: LinnSystems/LinnworksNetSDK

Méthodes publiques

Méthode Description
AddVariationItems ( System.Guid pkVariationItemId, List pkStockItemIds, String ApiToken, String ApiServer ) : List
BookInStockItem ( BookInStockItem stockItem, String ApiToken, String ApiServer ) : void
CheckVariationParentSKUExists ( String parentSKU, String ApiToken, String ApiServer ) : VariationParentStatus
CreateVariationGroup ( VariationGroupTemplate template, String ApiToken, String ApiServer ) : VariationGroup
DeleteVariationGroup ( System.Guid pkVariationGroupId, String ApiToken, String ApiServer ) : void
DeleteVariationItem ( System.Guid pkVariationItemId, System.Guid pkStockItemId, String ApiToken, String ApiServer ) : void
GetItemChangesHistory ( System.Guid stockItemId, System.Guid locationId, Int32 entriesPerPage, Int32 pageNumber, String ApiToken, String ApiServer ) : GenericPagedResult
GetItemChangesHistoryCSV ( System.Guid stockItemId, System.Guid locationId, String ApiToken, String ApiServer ) : TempFile
GetSoldStat ( System.Guid stockItemId, String ApiToken, String ApiServer ) : List
GetStockConsumption ( System.Guid stockItemId, System.Guid locationId, System.DateTime startDate, System.DateTime endDate, String ApiToken, String ApiServer ) : List
GetStockDuePO ( System.Guid stockItemId, String ApiToken, String ApiServer ) : List
GetStockItemReturnStat ( System.Guid stockItemId, String ApiToken, String ApiServer ) : List
GetStockItemScrapStat ( System.Guid stockItemId, String ApiToken, String ApiServer ) : List
GetStockItems ( String keyWord, System.Guid locationId, Int32 entriesPerPage, Int32 pageNumber, System.Boolean excludeComposites, String ApiToken, String ApiServer ) : GenericPagedResult
GetStockItemsByKey ( Search_Stock_ByKey stockIdentifier, String ApiToken, String ApiServer ) : List
GetStockItemsFull ( String keyword, System.Boolean loadCompositeParents, System.Boolean loadVariationParents, Int32 entriesPerPage, Int32 pageNumber, List dataRequirements, List searchTypes, String ApiToken, String ApiServer ) : List
GetStockLevel ( System.Guid stockItemId, String ApiToken, String ApiServer ) : List
GetStockSold ( System.Guid stockItemId, String ApiToken, String ApiServer ) : List
GetVariationGroupByName ( String variationName, String ApiToken, String ApiServer ) : VariationGroup
GetVariationGroupByParentId ( System.Guid pkStockItemId, String ApiToken, String ApiServer ) : VariationGroup
GetVariationGroupSearchTypes ( String ApiToken, String ApiServer ) : List
GetVariationItems ( System.Guid pkVariationItemId, String ApiToken, String ApiServer ) : List
RenameVariationGroup ( System.Guid pkVariationItemId, String variationName, String ApiToken, String ApiServer ) : void
SKUExists ( String SKU, String ApiToken, String ApiServer ) : System.Boolean
SearchVariationGroups ( VariationSearchType searchType, String searchText, Int32 pageNumber, Int32 entriesPerPage, String ApiToken, String ApiServer ) : GenericPagedResult
SetStockLevel ( List stockLevels, String ApiToken, String ApiServer ) : List
UpdateStockLevelsBySKU ( List stockLevels, String ApiToken, String ApiServer ) : List
UpdateStockMinimumLevel ( System.Guid stockItemId, System.Guid locationId, Int32 minimumLevel, String ApiToken, String ApiServer ) : void
Update_StockItemPartial ( PartialUpdateParameter update, String ApiToken, String ApiServer ) : void

Method Details

AddVariationItems() public static méthode

public static AddVariationItems ( System.Guid pkVariationItemId, List pkStockItemIds, String ApiToken, String ApiServer ) : List
pkVariationItemId System.Guid
pkStockItemIds List
ApiToken String
ApiServer String
Résultat List

BookInStockItem() public static méthode

public static BookInStockItem ( BookInStockItem stockItem, String ApiToken, String ApiServer ) : void
stockItem BookInStockItem
ApiToken String
ApiServer String
Résultat void

CheckVariationParentSKUExists() public static méthode

public static CheckVariationParentSKUExists ( String parentSKU, String ApiToken, String ApiServer ) : VariationParentStatus
parentSKU String
ApiToken String
ApiServer String
Résultat VariationParentStatus

CreateVariationGroup() public static méthode

public static CreateVariationGroup ( VariationGroupTemplate template, String ApiToken, String ApiServer ) : VariationGroup
template VariationGroupTemplate
ApiToken String
ApiServer String
Résultat VariationGroup

DeleteVariationGroup() public static méthode

public static DeleteVariationGroup ( System.Guid pkVariationGroupId, String ApiToken, String ApiServer ) : void
pkVariationGroupId System.Guid
ApiToken String
ApiServer String
Résultat void

DeleteVariationItem() public static méthode

public static DeleteVariationItem ( System.Guid pkVariationItemId, System.Guid pkStockItemId, String ApiToken, String ApiServer ) : void
pkVariationItemId System.Guid
pkStockItemId System.Guid
ApiToken String
ApiServer String
Résultat void

GetItemChangesHistory() public static méthode

public static GetItemChangesHistory ( System.Guid stockItemId, System.Guid locationId, Int32 entriesPerPage, Int32 pageNumber, String ApiToken, String ApiServer ) : GenericPagedResult
stockItemId System.Guid
locationId System.Guid
entriesPerPage System.Int32
pageNumber System.Int32
ApiToken String
ApiServer String
Résultat GenericPagedResult

GetItemChangesHistoryCSV() public static méthode

public static GetItemChangesHistoryCSV ( System.Guid stockItemId, System.Guid locationId, String ApiToken, String ApiServer ) : TempFile
stockItemId System.Guid
locationId System.Guid
ApiToken String
ApiServer String
Résultat TempFile

GetSoldStat() public static méthode

public static GetSoldStat ( System.Guid stockItemId, String ApiToken, String ApiServer ) : List
stockItemId System.Guid
ApiToken String
ApiServer String
Résultat List

GetStockConsumption() public static méthode

public static GetStockConsumption ( System.Guid stockItemId, System.Guid locationId, System.DateTime startDate, System.DateTime endDate, String ApiToken, String ApiServer ) : List
stockItemId System.Guid
locationId System.Guid
startDate System.DateTime
endDate System.DateTime
ApiToken String
ApiServer String
Résultat List

GetStockDuePO() public static méthode

public static GetStockDuePO ( System.Guid stockItemId, String ApiToken, String ApiServer ) : List
stockItemId System.Guid
ApiToken String
ApiServer String
Résultat List

GetStockItemReturnStat() public static méthode

public static GetStockItemReturnStat ( System.Guid stockItemId, String ApiToken, String ApiServer ) : List
stockItemId System.Guid
ApiToken String
ApiServer String
Résultat List

GetStockItemScrapStat() public static méthode

public static GetStockItemScrapStat ( System.Guid stockItemId, String ApiToken, String ApiServer ) : List
stockItemId System.Guid
ApiToken String
ApiServer String
Résultat List

GetStockItems() public static méthode

public static GetStockItems ( String keyWord, System.Guid locationId, Int32 entriesPerPage, Int32 pageNumber, System.Boolean excludeComposites, String ApiToken, String ApiServer ) : GenericPagedResult
keyWord String
locationId System.Guid
entriesPerPage System.Int32
pageNumber System.Int32
excludeComposites System.Boolean
ApiToken String
ApiServer String
Résultat GenericPagedResult

GetStockItemsByKey() public static méthode

public static GetStockItemsByKey ( Search_Stock_ByKey stockIdentifier, String ApiToken, String ApiServer ) : List
stockIdentifier Search_Stock_ByKey
ApiToken String
ApiServer String
Résultat List

GetStockItemsFull() public static méthode

public static GetStockItemsFull ( String keyword, System.Boolean loadCompositeParents, System.Boolean loadVariationParents, Int32 entriesPerPage, Int32 pageNumber, List dataRequirements, List searchTypes, String ApiToken, String ApiServer ) : List
keyword String
loadCompositeParents System.Boolean
loadVariationParents System.Boolean
entriesPerPage System.Int32
pageNumber System.Int32
dataRequirements List
searchTypes List
ApiToken String
ApiServer String
Résultat List

GetStockLevel() public static méthode

public static GetStockLevel ( System.Guid stockItemId, String ApiToken, String ApiServer ) : List
stockItemId System.Guid
ApiToken String
ApiServer String
Résultat List

GetStockSold() public static méthode

public static GetStockSold ( System.Guid stockItemId, String ApiToken, String ApiServer ) : List
stockItemId System.Guid
ApiToken String
ApiServer String
Résultat List

GetVariationGroupByName() public static méthode

public static GetVariationGroupByName ( String variationName, String ApiToken, String ApiServer ) : VariationGroup
variationName String
ApiToken String
ApiServer String
Résultat VariationGroup

GetVariationGroupByParentId() public static méthode

public static GetVariationGroupByParentId ( System.Guid pkStockItemId, String ApiToken, String ApiServer ) : VariationGroup
pkStockItemId System.Guid
ApiToken String
ApiServer String
Résultat VariationGroup

GetVariationGroupSearchTypes() public static méthode

public static GetVariationGroupSearchTypes ( String ApiToken, String ApiServer ) : List
ApiToken String
ApiServer String
Résultat List

GetVariationItems() public static méthode

public static GetVariationItems ( System.Guid pkVariationItemId, String ApiToken, String ApiServer ) : List
pkVariationItemId System.Guid
ApiToken String
ApiServer String
Résultat List

RenameVariationGroup() public static méthode

public static RenameVariationGroup ( System.Guid pkVariationItemId, String variationName, String ApiToken, String ApiServer ) : void
pkVariationItemId System.Guid
variationName String
ApiToken String
ApiServer String
Résultat void

SKUExists() public static méthode

public static SKUExists ( String SKU, String ApiToken, String ApiServer ) : System.Boolean
SKU String
ApiToken String
ApiServer String
Résultat System.Boolean

SearchVariationGroups() public static méthode

public static SearchVariationGroups ( VariationSearchType searchType, String searchText, Int32 pageNumber, Int32 entriesPerPage, String ApiToken, String ApiServer ) : GenericPagedResult
searchType VariationSearchType
searchText String
pageNumber System.Int32
entriesPerPage System.Int32
ApiToken String
ApiServer String
Résultat GenericPagedResult

SetStockLevel() public static méthode

public static SetStockLevel ( List stockLevels, String ApiToken, String ApiServer ) : List
stockLevels List
ApiToken String
ApiServer String
Résultat List

UpdateStockLevelsBySKU() public static méthode

public static UpdateStockLevelsBySKU ( List stockLevels, String ApiToken, String ApiServer ) : List
stockLevels List
ApiToken String
ApiServer String
Résultat List

UpdateStockMinimumLevel() public static méthode

public static UpdateStockMinimumLevel ( System.Guid stockItemId, System.Guid locationId, Int32 minimumLevel, String ApiToken, String ApiServer ) : void
stockItemId System.Guid
locationId System.Guid
minimumLevel System.Int32
ApiToken String
ApiServer String
Résultat void

Update_StockItemPartial() public static méthode

public static Update_StockItemPartial ( PartialUpdateParameter update, String ApiToken, String ApiServer ) : void
update PartialUpdateParameter
ApiToken String
ApiServer String
Résultat void