POST DataMartInstalledModels/InsertOrUpdate
Inserts or updates a list of datamarts associated with a project.
Request Information
URI Parameters
None.
Body Parameters
UpdateDataMartInstalledModelsDTOName | Description | Type | Additional information |
---|---|---|---|
DataMartID |
ID of DataMart |
globally unique identifier |
None. |
Models |
Available Models |
Collection of DataMartInstalledModelDTO |
None. |
Request Formats
application/json, text/json
Sample:
{ "results": [ { "DataMartID": "9d30b396-ce53-40bb-96cf-7cb7cfd16bce", "Models": [ { "DataMartID": "ffe9d7a2-ed1e-487f-9747-fb1b1d1b970f", "ModelID": "cf59ab9e-7aeb-4cf7-b9b0-123aa1209661", "Model": "sample string 3", "Properties": "sample string 4" }, { "DataMartID": "ffe9d7a2-ed1e-487f-9747-fb1b1d1b970f", "ModelID": "cf59ab9e-7aeb-4cf7-b9b0-123aa1209661", "Model": "sample string 3", "Properties": "sample string 4" } ] } ] }
text/javascript
Sample:
{"results":[{"DataMartID":"9d30b396-ce53-40bb-96cf-7cb7cfd16bce","Models":[{"DataMartID":"ffe9d7a2-ed1e-487f-9747-fb1b1d1b970f","ModelID":"cf59ab9e-7aeb-4cf7-b9b0-123aa1209661","Model":"sample string 3","Properties":"sample string 4"},{"DataMartID":"ffe9d7a2-ed1e-487f-9747-fb1b1d1b970f","ModelID":"cf59ab9e-7aeb-4cf7-b9b0-123aa1209661","Model":"sample string 3","Properties":"sample string 4"}]}]}
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
application/xml, text/xml
Sample:
<UpdateDataMartInstalledModelsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lpp.Dns.DTO"> <DataMartID>9d30b396-ce53-40bb-96cf-7cb7cfd16bce</DataMartID> <Models> <DataMartInstalledModelDTO> <DataMartID>ffe9d7a2-ed1e-487f-9747-fb1b1d1b970f</DataMartID> <Model>sample string 3</Model> <ModelID>cf59ab9e-7aeb-4cf7-b9b0-123aa1209661</ModelID> <Properties>sample string 4</Properties> </DataMartInstalledModelDTO> <DataMartInstalledModelDTO> <DataMartID>ffe9d7a2-ed1e-487f-9747-fb1b1d1b970f</DataMartID> <Model>sample string 3</Model> <ModelID>cf59ab9e-7aeb-4cf7-b9b0-123aa1209661</ModelID> <Properties>sample string 4</Properties> </DataMartInstalledModelDTO> </Models> </UpdateDataMartInstalledModelsDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |