modifyService
post
/ccstore/v1/services/{id}/modify
Modify a service associated with a user.
Request
Supported Media Types
- application/json
Path Parameters
-
id: string
ID of an asset.
Header Parameters
-
X-CCAsset-Language(optional): string
The asset language of the request
Root Schema : action_request
Type:
Show Source
object
-
transactionDate(optional):
string
The date and time on which the service request was made.
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : modifyService_response
Type:
Show Source
object
-
bomKey(optional):
string
The instance id used by the configurator.
-
configContextKey(optional):
string
Context key passed to configurator session to retrieve bom instance being calculated by ABO process.
-
configuratorUrl(optional):
string
URL to launch configurator with.
-
model(optional):
string
Model variable name for the model to launch configurator ui.
-
productLine(optional):
string
Product line variable name for the model to launch configurator ui.
-
segment(optional):
string
Segment variable name for the model to launch configurator ui.
Example Response (application/json)
{
"productLine":"laptop",
"configContextKey":"string",
"configuratorUrl":"www.example.com",
"bomKey":"string",
"segment":"computer",
"model":"laptopModel"
}
Default Response
The error response.
The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud:
|Error Code|Description|
|------------------|------------------|
|551000|Could not get customers profile.|
|551001|Customer has no service account.|
|551002|Error retrieving customers service account.|
|551003|Error retrieving account assets.|
|551004|Error validating contact account ids in Order.
|551005|Invalid account asset id.
|551006|Account asset authorization error.
|551007|Owner of the account asset could not be determined.
|551008|Error submitting action request.
|551009|Invalid transactionDate.
Root Schema : errorModel
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
errors(optional):
array errors
An optional list of errors if multiple errors were encountered
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code
-
type(optional):
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code