Class MauroDataMapperConnection
Inheritance
System.Object
MauroDataMapperConnection
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: mdm-api-dotnet-restful.dll
Syntax
public class MauroDataMapperConnection
Constructors
|
Improve this Doc
View Source
MauroDataMapperConnection()
Declaration
public MauroDataMapperConnection()
|
Improve this Doc
View Source
MauroDataMapperConnection(Properties)
Declaration
public MauroDataMapperConnection(Properties properties)
Parameters
|
Improve this Doc
View Source
MauroDataMapperConnection(String)
Declaration
public MauroDataMapperConnection(string baseUrl)
Parameters
Type |
Name |
Description |
System.String |
baseUrl |
|
|
Improve this Doc
View Source
MauroDataMapperConnection(String, String, String)
Declaration
public MauroDataMapperConnection(string baseUrl, string username, string password)
Parameters
Type |
Name |
Description |
System.String |
baseUrl |
|
System.String |
username |
|
System.String |
password |
|
Fields
|
Improve this Doc
View Source
baseurl
Declaration
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
currentCookie
Declaration
protected string currentCookie
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
loginResponse
Declaration
public HttpResponseMessage loginResponse
Field Value
Type |
Description |
HttpResponseMessage |
|
|
Improve this Doc
View Source
userName
Declaration
protected string userName
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
userPassword
Declaration
protected string userPassword
Field Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
close()
Declaration
|
Improve this Doc
View Source
DELETE(MauroDataMapperEndpoint)
Declaration
public HttpResponseMessage DELETE(MauroDataMapperEndpoint endpoint)
Parameters
Returns
Type |
Description |
HttpResponseMessage |
|
|
Improve this Doc
View Source
DELETE(MauroDataMapperEndpoint, List<String>, HttpStatusCode)
Declaration
public HttpResponseMessage DELETE(MauroDataMapperEndpoint endpoint, List<string> param, HttpStatusCode expected)
Parameters
Type |
Name |
Description |
MauroDataMapperEndpoint |
endpoint |
|
System.Collections.Generic.List<System.String> |
param |
|
System.Net.HttpStatusCode |
expected |
|
Returns
Type |
Description |
HttpResponseMessage |
|
|
Improve this Doc
View Source
exchange(String, String, JObject)
Declaration
public HttpResponseMessage exchange(string url, string method, JObject jObject = null)
Parameters
Type |
Name |
Description |
System.String |
url |
|
System.String |
method |
|
Newtonsoft.Json.Linq.JObject |
jObject |
|
Returns
Type |
Description |
HttpResponseMessage |
|
|
Improve this Doc
View Source
exchange3(String, String, HttpContent, JObject)
Declaration
public HttpResponseMessage exchange3(string url, string method, HttpContent content = null, JObject jObject = null)
Parameters
Type |
Name |
Description |
System.String |
url |
|
System.String |
method |
|
HttpContent |
content |
|
Newtonsoft.Json.Linq.JObject |
jObject |
|
Returns
Type |
Description |
HttpResponseMessage |
|
|
Improve this Doc
View Source
exchangeforContentType(String, String, JObject)
Declaration
public HttpResponseMessage exchangeforContentType(string url, string method, JObject jsonContent = null)
Parameters
Type |
Name |
Description |
System.String |
url |
|
System.String |
method |
|
Newtonsoft.Json.Linq.JObject |
jsonContent |
|
Returns
Type |
Description |
HttpResponseMessage |
|
|
Improve this Doc
View Source
exchangeforContentType2(String, String, JObject)
Declaration
public HttpResponseMessage exchangeforContentType2(string url, string method, JObject jsonContent = null)
Parameters
Type |
Name |
Description |
System.String |
url |
|
System.String |
method |
|
Newtonsoft.Json.Linq.JObject |
jsonContent |
|
Returns
Type |
Description |
HttpResponseMessage |
|
|
Improve this Doc
View Source
exchangeforDM(String, String, ImporterPluginParameters)
Declaration
public HttpResponseMessage exchangeforDM(string url, string method, ImporterPluginParameters jsonContent = null)
Parameters
Returns
Type |
Description |
HttpResponseMessage |
|
|
Improve this Doc
View Source
exchangeold(String, String, HttpContent, JObject)
Declaration
public HttpResponseMessage exchangeold(string url, string method, HttpContent content = null, JObject jObject = null)
Parameters
Type |
Name |
Description |
System.String |
url |
|
System.String |
method |
|
HttpContent |
content |
|
Newtonsoft.Json.Linq.JObject |
jObject |
|
Returns
Type |
Description |
HttpResponseMessage |
|
|
Improve this Doc
View Source
exchangeString(String, String, ByteArrayContent)
Declaration
public HttpResponseMessage exchangeString(string url, string method, ByteArrayContent jArray = null)
Parameters
Type |
Name |
Description |
System.String |
url |
|
System.String |
method |
|
ByteArrayContent |
jArray |
|
Returns
Type |
Description |
HttpResponseMessage |
|
|
Improve this Doc
View Source
exchangeStringContent(String, String, JObject)
Declaration
public HttpResponseMessage exchangeStringContent(string url, string method, JObject jObject = null)
Parameters
Type |
Name |
Description |
System.String |
url |
|
System.String |
method |
|
Newtonsoft.Json.Linq.JObject |
jObject |
|
Returns
Type |
Description |
HttpResponseMessage |
|
|
Improve this Doc
View Source
exchangeWorking(String, String, HttpContent, JObject)
Declaration
public HttpResponseMessage exchangeWorking(string url, string method, HttpContent content = null, JObject jObject = null)
Parameters
Type |
Name |
Description |
System.String |
url |
|
System.String |
method |
|
HttpContent |
content |
|
Newtonsoft.Json.Linq.JObject |
jObject |
|
Returns
Type |
Description |
HttpResponseMessage |
|
|
Improve this Doc
View Source
GET(MauroDataMapperEndpoint, List<String>)
Declaration
public HttpResponseMessage GET(MauroDataMapperEndpoint endpoint, List<string> parameters)
Parameters
Returns
Type |
Description |
HttpResponseMessage |
|
|
Improve this Doc
View Source
isAuthenticatedSession()
Declaration
public HttpResponseMessage isAuthenticatedSession()
Returns
Type |
Description |
HttpResponseMessage |
|
|
Improve this Doc
View Source
login(String, String)
Declaration
public HttpResponseMessage login(string usernameParam, string passwordParam)
Parameters
Type |
Name |
Description |
System.String |
usernameParam |
|
System.String |
passwordParam |
|
Returns
Type |
Description |
HttpResponseMessage |
|
|
Improve this Doc
View Source
login2(String, String)
Declaration
public object login2(string usernameParam, string passwordParam)
Parameters
Type |
Name |
Description |
System.String |
usernameParam |
|
System.String |
passwordParam |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
Notify(JObject, String)
Declaration
public Task Notify(JObject jObject, string url)
Parameters
Type |
Name |
Description |
Newtonsoft.Json.Linq.JObject |
jObject |
|
System.String |
url |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
POST(MauroDataMapperEndpoint, JObject)
Declaration
public HttpResponseMessage POST(MauroDataMapperEndpoint endpoint, JObject jsonContent)
Parameters
Returns
Type |
Description |
HttpResponseMessage |
|
|
Improve this Doc
View Source
POST(MauroDataMapperEndpoint, List<String>, HttpStatusCode, JArray)
Declaration
public HttpResponseMessage POST(MauroDataMapperEndpoint endpoint, List<string> parameters, HttpStatusCode httpStatusCode, JArray jsonContent)
Parameters
Type |
Name |
Description |
MauroDataMapperEndpoint |
endpoint |
|
System.Collections.Generic.List<System.String> |
parameters |
|
System.Net.HttpStatusCode |
httpStatusCode |
|
Newtonsoft.Json.Linq.JArray |
jsonContent |
|
Returns
Type |
Description |
HttpResponseMessage |
|
|
Improve this Doc
View Source
POST(MauroDataMapperEndpoint, List<String>, HttpStatusCode, JObject)
Declaration
public HttpResponseMessage POST(MauroDataMapperEndpoint endpoint, List<string> parameters, HttpStatusCode httpStatusCode, JObject jsonContent)
Parameters
Type |
Name |
Description |
MauroDataMapperEndpoint |
endpoint |
|
System.Collections.Generic.List<System.String> |
parameters |
|
System.Net.HttpStatusCode |
httpStatusCode |
|
Newtonsoft.Json.Linq.JObject |
jsonContent |
|
Returns
Type |
Description |
HttpResponseMessage |
|
|
Improve this Doc
View Source
POST(MauroDataMapperEndpoint, List<String>, HttpStatusCode, String)
Declaration
public HttpResponseMessage POST(MauroDataMapperEndpoint endpoint, List<string> parameters, HttpStatusCode httpStatusCode, string bodyContent)
Parameters
Type |
Name |
Description |
MauroDataMapperEndpoint |
endpoint |
|
System.Collections.Generic.List<System.String> |
parameters |
|
System.Net.HttpStatusCode |
httpStatusCode |
|
System.String |
bodyContent |
|
Returns
Type |
Description |
HttpResponseMessage |
|
|
Improve this Doc
View Source
POSTDM(MauroDataMapperEndpoint, List<String>, HttpStatusCode, ImporterPluginParameters)
Declaration
public HttpResponseMessage POSTDM(MauroDataMapperEndpoint endpoint, List<string> parameters, HttpStatusCode httpStatusCode, ImporterPluginParameters jsonContent)
Parameters
Returns
Type |
Description |
HttpResponseMessage |
|
|
Improve this Doc
View Source
POSTImport(MauroDataMapperEndpoint, List<String>, HttpStatusCode, JObject)
Declaration
public HttpResponseMessage POSTImport(MauroDataMapperEndpoint endpoint, List<string> parameters, HttpStatusCode httpStatusCode, JObject jsonContent)
Parameters
Type |
Name |
Description |
MauroDataMapperEndpoint |
endpoint |
|
System.Collections.Generic.List<System.String> |
parameters |
|
System.Net.HttpStatusCode |
httpStatusCode |
|
Newtonsoft.Json.Linq.JObject |
jsonContent |
|
Returns
Type |
Description |
HttpResponseMessage |
|
|
Improve this Doc
View Source
POSTJson(MauroDataMapperEndpoint, List<String>, HttpStatusCode, JObject)
Declaration
public HttpResponseMessage POSTJson(MauroDataMapperEndpoint endpoint, List<string> parameters, HttpStatusCode httpStatusCode, JObject stringContent)
Parameters
Type |
Name |
Description |
MauroDataMapperEndpoint |
endpoint |
|
System.Collections.Generic.List<System.String> |
parameters |
|
System.Net.HttpStatusCode |
httpStatusCode |
|
Newtonsoft.Json.Linq.JObject |
stringContent |
|
Returns
Type |
Description |
HttpResponseMessage |
|
|
Improve this Doc
View Source
PUT(MauroDataMapperEndpoint, List<String>, HttpStatusCode, JObject)
Declaration
public HttpResponseMessage PUT(MauroDataMapperEndpoint endpoint, List<string> parameters, HttpStatusCode httpStatusCode, JObject jsonContent)
Parameters
Type |
Name |
Description |
MauroDataMapperEndpoint |
endpoint |
|
System.Collections.Generic.List<System.String> |
parameters |
|
System.Net.HttpStatusCode |
httpStatusCode |
|
Newtonsoft.Json.Linq.JObject |
jsonContent |
|
Returns
Type |
Description |
HttpResponseMessage |
|