Version: 21.05 (EOL)
PUT Update Service Parameter
Put a JSON object describing a service parameter to update an existing service parameter.
Request
HTTP request
https://<JM_SERVER>/manager/secure/rest/service-definitions/v1/<SERVICE_ID>/serviceParameters/<SERVICE_PARAMETER_ID>
Parameters
This request takes no parameters.
Request body
You must pass in a service parameter value object containing the new values.
Example
Request
PUT https://transact.maguire.com/manager/secure/rest/service-definitions/v1/215/serviceParameters/953
Request body
{
"name": "myCustomParameter2",
"description": "An updated parameter that our service can use",
"type": "String",
"bindParameterFlag": false,
"unitTestFlag": false,
"value": "Updated Value"
}
Response
If successful, this operation returns a response with a HTTP 200 OK
status code.
Example
An example succcessful response is shown below.
{
"id": 953,
"name": "myCustomParameter2",
"description": "An updated parameter that our service can use",
"type": "String",
"bindParameterFlag": false,
"unitTestFlag": false,
"value": "Updated Value",
"createdAt": "Oct 1, 2015 11:26:08 AM",
"createdBy": "someadmin",
"lastModifiedAt": "Oct 1, 2015 11:35:22 AM",
"lastModifiedBy": "someadmin"
}