Copy an analytic store for a model

put/models/{modelId}/analyticStore/{analyticStoreName}
Internal-Use Only

Copy one of the analytic stores for this model to the pre-defined server location (/config/data/modelsvr/astore) that is used for integration with SAS Event Stream Processing and others. This request invokes an asynchronous call to copy the analytic store file. Access the URI again to get the completion state: pending, copying, success, or failure. Please review the SAS Model Manager documentation before using this operation.

Request Samples

1

Response Samples

1{
2 "name": "string",
3 "uri": "string",
4 "key": "string",
5 "caslib": "string",
6 "location": "string",
7 "errorCode": "string",
8 "host": "string",
9 "fullPath": "string",
10 "state": "string",
11 "version": 1,
12 "links": [
13 {
14 "method": "string",
15 "rel": "string",
16 "uri": "string",
17 "href": "string",
18 "title": "string",
19 "type": "string",
20 "itemType": "string",
21 "responseType": "string",
22 "responseItemType": "string"
23 }
24 ]
25}

Path Parameters

NameTypeRequiredDescription
analyticStoreName
string
true
modelId
string
true

Header Parameters

NameTypeRequiredDescription
If-Match
string
false

The client must specify the previously pulled ETag as an If-Match header.

Responses

StatusMeaningDescription
202AcceptedThe analytic store copy request has been accepted for processing, but the processing has not been completed.Schema
400Bad RequestThe request was invalid.Schema
404Not FoundNo model or analytic store name exists at the requested path.Schema
412Precondition FailedThe `If-Match` request header did not match the resource's entity tag, or the `If-Unmodified-Since` request header did not match the resource's last modified timestamp.Schema
428Precondition RequiredThe request headers did not include a `If-Match` or `If-Unmodified-Since` precondition.Schema