Method | /ProCloudWS.asmx/MoveRulesGet |
The request body is of type MoveRulesGet.
Name | Description | Data Type |
---|---|---|
objProviderGUId | This is a unique provider id, which can be obtained from CSS GUId | guid |
strPassword | This is your unique service password which can be obtained from CSS String (min 1 max 50) | xml:string |
intProviderBranchId | This is the providers branch making the web service call (can be obtained via the ProviderBranchesGet web method) Integer | xml:int |
intStatusId | The status id to return the move rules for. Passing -1 returns rules for all statuses Integer | xml:int |
strProductCode | The SKU (STOCKKEEPING UNIT) of the item you wish to find move rules for. Passing an empty string returns rules for all SKU items String (min 1 max 50) | xml:string |
intPage | This is the current page beeing viewed Integer | xml:int |
intItemsPerPage | This is the number of items per page you would like returned. If you would like all data returned on one page then pass -1 Integer | xml:int |
|
The response body is of type MoveRulesGetResponse.
Name | Description | Data Type |
---|---|---|
MoveRulesGetResult | objMoveRulesGetReturn |
|
<?xml version="1.0" encoding="UTF-8"?> <objMoveRulesGetReturn xmlns="http://pro-cloud.org/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <intErrorId>0</intErrorId> <strErrorMsg/> <xmlDataSet> <NewDataSet xmlns=""> <Paging> <SearchText/> <SortColumn>RuleName</SortColumn> <SortOrder/> <ItemsPerPage>2</ItemsPerPage> <Page>1</Page> <Pages>1</Pages> <Items>2</Items> </Paging> <MoveRules> <RuleId>2</RuleId> <RuleName>Customer Site Move</RuleName> <RuleDesc>Stop an item being scanned onto Customer Site if current status is On Customer Site</RuleDesc> <ForProviderId>35</ForProviderId> <FromInProviderBranchId>true</FromInProviderBranchId> <FromProviderBranchId>46</FromProviderBranchId> <FromInStatusId>true</FromInStatusId> <FromStatusId>455</FromStatusId> <FromStatusName>With Customer</FromStatusName> <FromStatusIncSubStatuses>false</FromStatusIncSubStatuses> <ToInProviderBranchId>true</ToInProviderBranchId> <ToProviderBranchId>46</ToProviderBranchId> <ToInStatusId>true</ToInStatusId> <ToStatusId>455</ToStatusId> <ToStatusName>With Customer</ToStatusName> <ToStatusIncSubStatuses>false</ToStatusIncSubStatuses> <IsProductTemplateId>false</IsProductTemplateId> <ProductTemplateId>36370</ProductTemplateId> <ProductTemplateProductCode>RBSOR</ProductTemplateProductCode> <Enabled>true</Enabled> <ReadOnly>false</ReadOnly> <FriendlyText>This rule will block the movement thats not a RBSOR from Healthcare House from With Customer to Healthcare House to With Customer </FriendlyText> </MoveRules> <MoveRules> <RuleId>3</RuleId> <RuleName>Move to Customer Site</RuleName> <RuleDesc>Prevent moving to a second Customer Address is Location is with Customer</RuleDesc> <ForProviderId>35</ForProviderId> <FromInProviderBranchId>true</FromInProviderBranchId> <FromProviderBranchId>46</FromProviderBranchId> <FromInStatusId>true</FromInStatusId> <FromStatusId>455</FromStatusId> <FromStatusName>With Customer</FromStatusName> <FromStatusIncSubStatuses>false</FromStatusIncSubStatuses> <ToInProviderBranchId>true</ToInProviderBranchId> <ToProviderBranchId>46</ToProviderBranchId> <ToInStatusId>true</ToInStatusId> <ToStatusId>455</ToStatusId> <ToStatusName>With Customer</ToStatusName> <ToStatusIncSubStatuses>false</ToStatusIncSubStatuses> <IsProductTemplateId>true</IsProductTemplateId> <ProductTemplateId>36370</ProductTemplateId> <ProductTemplateProductCode>RBSOR</ProductTemplateProductCode> <Enabled>true</Enabled> <ReadOnly>false</ReadOnly> <FriendlyText>This rule will block the movement of RBSOR from Healthcare House from With Customer to Healthcare House to With Customer </FriendlyText> </MoveRules> </NewDataSet> </xmlDataSet> </objMoveRulesGetReturn>