Update Existing Strategy
put
/api/1.0/strategymaintenance/{id}
This endpoint is used to update an existing Strategy.
Request
Supported Media Types
- application/json
- application/xml
Path Parameters
-
id: string
key of the Strategy Maintenance
Header Parameters
-
appId: string
The application ID of host service.
-
branchCode: string
The branch code of requesting branch.
-
contentType(optional): string
The content type of request or response body.
-
userId: string
The user ID of requesting user.
Request Body that contains data required for updating an existing Strategy
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
objectDiscriminator:
resource_typeNested Schema : DmTmStrategymaintenanceDTO-allOf[1]
Type:
Show Source
object-
code(optional):
string
Code
-
description(optional):
string
Description
-
DmTmTaskDTO(optional):
array DmTmTaskDTO
-
effectiveDate(optional):
string
Effective date
-
expiryDate(optional):
string
Expiry date
Nested Schema : DmTmTaskDTO
Type:
Show Source
object-
dependency(optional):
string
Dependency
-
DmTmAdviceDTO(optional):
array DmTmAdviceDTO
-
escalation(optional):
string
Escalation
-
expiration(optional):
string
Expiration
-
id(optional):
string
ID
-
mandatory(optional):
boolean
Mandatory
-
sequence(optional):
integer
Sequence
-
strategymaintenanceMasterId(optional):
string
Strategy maintenance master ID
-
taskName(optional):
string
Task name
-
waitPeriod(optional):
string
Wait Period
Response
Supported Media Types
- application/json
- application/xml
200 Response
Returns updated Strategy
Nested Schema : ResponseResourceSupport
Type:
objectNested Schema : items
Type:
object400 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