PUT HelenaLotNumber/PutHelenaProdLotActiveFlag?locationSubCode={locationSubCode}&productId={productId}&lotNumber={lotNumber}&inactive={inactive}
Updates the Product Lot Numbers "Active" status based on the supplied parameters
Request Information
URI Parameters
| Name | Description | Type | Additional Information |
|---|---|---|---|
| locationSubCode |
SubCode on the location of the department of the product for the lot number to be updated |
string |
Required |
| productId |
Product ID of the lot number to update |
string |
Required |
| lotNumber |
Lot Number to update the status on |
string |
Required |
| inactive |
Sets the value of the active flag on the lot number |
boolean |
Required |
Body Parameters
Response Information
Resource Description
Updates the Product Lot Numbers "Active" status based on the supplied parameters
AgvHelenaLotNumber| Name | Description | Type | Additional Information |
|---|---|---|---|
| Status |
0 - Success; 1 - An error occurred; 2 - An error occurred; 3 - Descriptive message, process was successful |
string | |
| Message |
Informational message that corresponds to the Status returned; 0 - Message will be "OK"; 1 - Detailed message returned to give user an indication of what went wrong; 2 - Less detailed message returned that may not mean anything to the user but that the application might use to take a corrective action; 3 - Not an error but something the user might need to know |
string |
Response Formats
application/json, text/json
{
"Status": "sample string 1",
"Message": "sample string 2"
}
application/xml, text/xml
<AgvHelenaLotNumber xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Custom.Helena"> <Message>sample string 2</Message> <Status>sample string 1</Status> </AgvHelenaLotNumber>