Set a project champion model

post/projects/{projectId}/champion
Internal-Use Only

Sets the model role to champion for the specified project ID and model ID.

Request Samples

1

Response Samples

1{
2 "createdBy": "string",
3 "modifiedBy": "string",
4 "creationTimeStamp": "2019-08-24T14:15:22Z",
5 "modifiedTimeStamp": "2019-08-24T14:15:22Z",
6 "id": "string",
7 "name": "string",
8 "description": "string",
9 "function": "string",
10 "algorithm": "string",
11 "tool": "string",
12 "modeler": "string",
13 "scoreCodeType": "string",
14 "trainTable": "string",
15 "eventProbVar": "string",
16 "targetEvent": "string",
17 "champion": true,
18 "role": "string",
19 "location": "string",
20 "targetLevel": "string",
21 "targetVariable": "string",
22 "projectId": "string",
23 "projectName": "string",
24 "projectVersionId": "string",
25 "projectVersionName": "string",
26 "folderId": "string",
27 "repositoryId": "string",
28 "championStartTime": "string",
29 "championEndTime": "string",
30 "suggestedChampion": true,
31 "retrainable": true,
32 "immutable": true,
33 "modelVersionName": "string",
34 "dataUris": [
35 "string"
36 ],
37 "properties": [
38 {
39 "name": "string",
40 "value": "string",
41 "type": "string"
42 }
43 ],
44 "inputVariables": [
45 {
46 "createdBy": "string",
47 "modifiedBy": "string",
48 "creationTimeStamp": "2019-08-24T14:15:22Z",
49 "modifiedTimeStamp": "2019-08-24T14:15:22Z",
50 "name": "string",
51 "description": "string",
52 "role": "string",
53 "type": "string",
54 "level": "string",
55 "format": "string",
56 "length": 0,
57 "version": 2
58 }
59 ],
60 "outputVariables": [
61 {
62 "createdBy": "string",
63 "modifiedBy": "string",
64 "creationTimeStamp": "2019-08-24T14:15:22Z",
65 "modifiedTimeStamp": "2019-08-24T14:15:22Z",
66 "name": "string",
67 "description": "string",
68 "role": "string",
69 "type": "string",
70 "level": "string",
71 "format": "string",
72 "length": 0,
73 "version": 2
74 }
75 ],
76 "version": 2
77}

Path Parameters

NameTypeRequiredDescription
projectId
string
true

Query Parameters

NameTypeRequiredDescription
modelId
string
false

The unique identifier for the model.

Responses

StatusMeaningDescription
201CreatedThe model was set as the project champion.HeadersSchema
400Bad RequestThe request was invalid.Schema
404Not FoundIf there is not a champion set for the project. The error message is "No model is currently set as the project champion." If there is invalid project ID, the error message is "The project ID is not valid."Schema