Adds a new instruction.
post
/api/1.0/service/instruction
This endpoint adds a new instruction.
Request
Supported Media Types
- application/json
- application/xml
Header Parameters
-
sourceCode(required): string
Source from which request is initiated
Request Body that contains data required for creating a new instruction
Root Schema : LmmTmSweepInstructionDTO
Type:
object
Match All
Show Source
-
allOf
GenericDto
-
object
LmmTmSweepInstructionDTO-allOf[1]
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:
string
-
instructionId:
string
-
LmmTmSweepInstructionDetailsDTO:
array LmmTmSweepInstructionDetailsDTO
-
productCode:
string
Nested Schema : LmmTmSweepInstructionDetailsDTO
Type:
Show Source
array
-
Array of:
object LmmTmSweepInstructionDetailsDTO
Response
Supported Media Types
- application/json
- application/xml
201 Response
Returns message of success or failure
Headers
-
Location: string
URL of newly created instruction
Root Schema : ResponseDtoWrapper
Type:
Show Source
object
-
data:
object ResponseResourceSupport
-
messages:
object ResponseDto
Nested Schema : ResponseResourceSupport
Type:
object
Nested Schema : ResponseDto
Type:
Show Source
object
-
codes:
array codes
-
id:
string
-
requestId:
string
-
status:
string
Nested Schema : ResponseCode
Type:
Show Source
object
-
arg:
string
-
args:
array args
-
Code:
string
-
Desc:
string
-
Language:
string
-
Type:
string
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