| GET | /Core/Dynamic/DataSources/{DsId} |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| DsId | path | Guid | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| DsId | form | Guid | No | |
| Name | form | string | No | |
| Description | form | string | No | |
| Query | form | string | No | |
| HasDates | form | bool | No | |
| CategoryId | form | Guid | No | |
| Params | form | List<DynamicDataSourceParam> | No | |
| Hccrt | form | string | No | |
| Used | form | bool? | No | |
| HasParams | form | bool? | No | |
| HCode | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | Guid | No | |
| Name | form | string | No | |
| Description | form | string | No | |
| DataSourceId | form | Guid | No | |
| DbType | form | string | No | |
| Size | form | int | No | |
| QueryId | form | Guid? | No | |
| Format | form | string | No | |
| IsNullable | form | bool | No | |
| OrderIndex | form | int | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Core/Dynamic/DataSources/{DsId} HTTP/1.1
Host: 10.10.0.107
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
DsId: 00000000000000000000000000000000,
Name: String,
Description: String,
Query: String,
HasDates: False,
CategoryId: 00000000000000000000000000000000,
Params:
[
{
Id: 00000000000000000000000000000000,
Name: String,
Description: String,
DataSourceId: 00000000000000000000000000000000,
DbType: String,
Size: 0,
QueryId: 00000000000000000000000000000000,
Format: String,
IsNullable: False,
OrderIndex: 0
}
],
Hccrt: String,
Used: False,
HasParams: False,
HCode: String
}