post /dataconnection

Stability index

LOCKED.
This API is extremely reliable and will not be broken unless absolutely necessary.

Request body

item (required)
DataConnection

Query parameters

privileges (optional)

Return type

DataConnection

Example data

Content-Type: application/json

{ "owner" : { "privileges" : [ "privileges", "privileges" ], "userDirectory" : "userDirectory", "userDirectoryConnectorName" : "userDirectoryConnectorName", "name" : "name", "id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "userId" : "userId" }, "privileges" : [ "privileges", "privileges" ], "connectionstring" : "connectionstring", "logOn" : 0, "schemaPath" : "schemaPath", "type" : "type", "tags" : [ { "privileges" : [ "privileges", "privileges" ], "name" : "name", "id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91" }, { "privileges" : [ "privileges", "privileges" ], "name" : "name", "id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91" } ], "password" : "password", "createdDate" : "2000-01-23T04:56:07.000+00:00", "customProperties" : [ { "createdDate" : "2000-01-23T04:56:07.000+00:00", "modifiedByUserName" : "modifiedByUserName", "schemaPath" : "schemaPath", "modifiedDate" : "2000-01-23T04:56:07.000+00:00", "definition" : { "privileges" : [ "privileges", "privileges" ], "valueType" : "valueType", "name" : "name", "choiceValues" : [ "choiceValues", "choiceValues" ], "id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91" }, "id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "value" : "value" }, { "createdDate" : "2000-01-23T04:56:07.000+00:00", "modifiedByUserName" : "modifiedByUserName", "schemaPath" : "schemaPath", "modifiedDate" : "2000-01-23T04:56:07.000+00:00", "definition" : { "privileges" : [ "privileges", "privileges" ], "valueType" : "valueType", "name" : "name", "choiceValues" : [ "choiceValues", "choiceValues" ], "id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91" }, "id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "value" : "value" } ], "modifiedByUserName" : "modifiedByUserName", "modifiedDate" : "2000-01-23T04:56:07.000+00:00", "name" : "name", "id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "engineObjectId" : "engineObjectId", "username" : "username", "architecture" : 6 }

Responses

201
Created