POST ProjectDataMarts/InsertOrUpdate
Inserts or updates a list of datamarts associated with the project
Request Information
URI Parameters
None.
Body Parameters
ProjectDataMartUpdateDTOName | Description | Type | Additional information |
---|---|---|---|
ProjectID |
Gets or sets the id of the project |
globally unique identifier |
None. |
DataMarts |
Available DataMarts in project |
Collection of ProjectDataMartDTO |
None. |
Request Formats
application/json, text/json
Sample:
{ "results": [ { "ProjectID": "a93d926c-2e66-47a0-8775-94cbc33dbf2a", "DataMarts": [ { "ProjectID": "07f9a0cf-607c-4ee1-801a-3df294211be0", "Project": "sample string 2", "ProjectAcronym": "sample string 3", "DataMartID": "b083584a-9bfe-4592-8989-5baefbbbea2f", "DataMart": "sample string 5", "Organization": "sample string 6" }, { "ProjectID": "07f9a0cf-607c-4ee1-801a-3df294211be0", "Project": "sample string 2", "ProjectAcronym": "sample string 3", "DataMartID": "b083584a-9bfe-4592-8989-5baefbbbea2f", "DataMart": "sample string 5", "Organization": "sample string 6" } ] } ] }
text/javascript
Sample:
{"results":[{"ProjectID":"a93d926c-2e66-47a0-8775-94cbc33dbf2a","DataMarts":[{"ProjectID":"07f9a0cf-607c-4ee1-801a-3df294211be0","Project":"sample string 2","ProjectAcronym":"sample string 3","DataMartID":"b083584a-9bfe-4592-8989-5baefbbbea2f","DataMart":"sample string 5","Organization":"sample string 6"},{"ProjectID":"07f9a0cf-607c-4ee1-801a-3df294211be0","Project":"sample string 2","ProjectAcronym":"sample string 3","DataMartID":"b083584a-9bfe-4592-8989-5baefbbbea2f","DataMart":"sample string 5","Organization":"sample string 6"}]}]}
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
application/xml, text/xml
Sample:
<ProjectDataMartUpdateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lpp.Dns.DTO"> <DataMarts> <ProjectDataMartDTO> <DataMart>sample string 5</DataMart> <DataMartID>b083584a-9bfe-4592-8989-5baefbbbea2f</DataMartID> <Organization>sample string 6</Organization> <Project>sample string 2</Project> <ProjectAcronym>sample string 3</ProjectAcronym> <ProjectID>07f9a0cf-607c-4ee1-801a-3df294211be0</ProjectID> </ProjectDataMartDTO> <ProjectDataMartDTO> <DataMart>sample string 5</DataMart> <DataMartID>b083584a-9bfe-4592-8989-5baefbbbea2f</DataMartID> <Organization>sample string 6</Organization> <Project>sample string 2</Project> <ProjectAcronym>sample string 3</ProjectAcronym> <ProjectID>07f9a0cf-607c-4ee1-801a-3df294211be0</ProjectID> </ProjectDataMartDTO> </DataMarts> <ProjectID>a93d926c-2e66-47a0-8775-94cbc33dbf2a</ProjectID> </ProjectDataMartUpdateDTO>
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. |