Add New Strategy
post
/api/1.0/strategymaintenance
This endpoint is used to add a new Strategy
Request
Supported Media Types
- application/json
- application/xml
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 creating a new Strategy
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 : 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
201 Response
Returns message of success or failure
Headers
-
Location: string
URL of newly created Strategy.
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