PUT DistDataSources/{id}
Editace nebo synchronizace datového zdroje. Pouze pro výdejce nebo admina.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Id datového zdroje |
integer |
Required |
Body Parameters
Definice datovhé zdroje
DistDataSourceEditDTOName | Description | Type | Additional information |
---|---|---|---|
Sync | boolean |
None. |
|
HostNameOrUrl | string |
None. |
|
UserName | string |
None. |
|
UserPassword | string |
None. |
|
SdeRoleType | SdeRoleType |
None. |
|
SdeDatabasePlatform | DatabasePlatform |
None. |
|
Database | string |
None. |
|
Title | string |
None. |
|
Filter | string |
None. |
|
MapServerType | MapServerType |
None. |
|
AtomType | AtomType |
None. |
Request Formats
application/json, text/json
Sample:
{ "sync": true, "hostNameOrUrl": "sample string 2", "userName": "sample string 3", "userPassword": "sample string 4", "sdeRoleType": "general", "sdeDatabasePlatform": "mssql", "database": "sample string 5", "title": "sample string 6", "filter": "sample string 7", "mapServerType": "ags", "atomType": "file" }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DistDataSourcePlainDTOName | Description | Type | Additional information |
---|---|---|---|
HostNameOrUrl | string |
None. |
|
UserName | string |
None. |
|
UserPassword | string |
None. |
|
LastSync | date |
None. |
|
IsDeleted | boolean |
None. |
|
CreatorId | integer |
None. |
|
EditorId | integer |
None. |
|
Created | date |
None. |
|
Edited | date |
None. |
|
Id | integer |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.