Update Package that has been imported into a Digital Assistant Instance
PUT {{baseUrl}}/odaInstances/:odaInstanceId/importedPackages/:packageId?isReplaceSkills=false
Starts an asynchronous job to update a package within a Digital Assistant instance.
To monitor the status of the job, take the opc-work-request-id
response
header value and use it to call GET /workRequests/{workRequestId}
.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
isReplaceSkills | boolean | Should old skills be replaced by new skills if packageId differs from already imported package? |
Request Body
{"currentPackageId"=>"sit esse", "parameterValues"=>{"utad"=>"in", "officia_b7"=>"esse sed elit id"}, "freeformTags"=>{"reprehenderit_6"=>"do", "consectetur_79"=>"deserunt laboris do", "reprehenderitf"=>"ad"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-retry-token | string | A token that uniquely identifies a request so that you can retry the request if there's | |
a timeout or server error without the risk of executing that same action again. |
Retry tokens expire after 24 hours, but they can become invalid before then if there are
conflicting operations. For example, if an instance was deleted and purged from the system,
then the service might reject a retry of the original creation request.
|
| if-match
| string | | For optimistic concurrency control in a PUT or DELETE call for
a Digital Assistant instance, set the if-match
query parameter
to the value of the ETAG
header from a previous GET or POST
response for that instance. The service updates or deletes the
instance only if the etag that you provide matches the instance's
current etag value.
|
| opc-request-id
| string | | The client request ID for tracing. This value is included in the opc-request-id response header. |
| Content-Type
| string | | |
| Accept
| string | | |