Update an Existing Instruction
put
/service/instruction/{id}
This endpoint is used to update an existing sweep instruction record.
Request
Supported Media Types
- application/json
- application/xml
Path Parameters
-
id: string
key of the instruction Maintenance
Request Body that contains data required for updating an existing instruction
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
object
Discriminator:
resource_type
Nested Schema : LmmTmSweepInstructionDTO-allOf[1]
Type:
Show Source
object
-
instructionDescription(optional):
string
Maximum Length:
100
-
instructionId:
string
Minimum Length:
1
Maximum Length:10
Pattern:[a-zA-Z0-9]{0,10}
-
LmmTmSweepInstructionDetailsDTO(optional):
array LmmTmSweepInstructionDetailsDTO
-
productCode:
string
Maximum Length:
10
Nested Schema : LmmTmSweepInstructionDetailsDTO
Type:
Show Source
object
-
id(optional):
string
Maximum Length:
36
-
mandatory(optional):
string
Maximum Length:
1
Pattern:[Y,N]
-
parameterName(optional):
string
Maximum Length:
25
-
parameterValue(optional):
string
Maximum Length:
100
-
sweepInstructionId:
string
Maximum Length:
36
Response
Supported Media Types
- application/json
- application/xml
200 Response
Returns updated instruction
Nested Schema : ResponseResourceSupport
Type:
object
Nested Schema : items
Type:
object
400 Response
Malformed syntax.
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
405 Response
Invalid input
500 Response
Internal error