This web method returns a list of reasons for moving items into the passed status. If one or more reasons are returned, then one of these reason ids is to be passed into the MoveStockItemEinBatch web method.
Method | /ProCloudWS.asmx/StatusReasonsGet |
The request body is of type StatusReasonsGet.
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 | This is the status id to obtain the status reasons for. Integer | xml:int |
|
The response body is of type StatusReasonsGetResponse.
Name | Description | Data Type |
---|---|---|
StatusReasonsGetResult | objStatusReasonsGetReturn |
|
<?xml version="1.0" encoding="UTF-8"?> <objStatusReasonsGetReturn 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=""> <StatusReasons> <StatusReasonUId>1</StatusReasonUId> <Code>Test</Code> <Description>Test Reason</Description> <ddlText>Test Test Reason</ddlText> <Enabled>true</Enabled> <ProviderId>34</ProviderId> <ProviderBranchId>45</ProviderBranchId> </StatusReasons> </NewDataSet> </xmlDataSet> </objStatusReasonsGetReturn>