| GET | /Core/Dynamic/DataSources |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CatId | query | Guid? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | List<DynamicDataSource> | 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 .wire suffix or ?format=wire
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Core/Dynamic/DataSources HTTP/1.1 Host: 10.10.0.107 Accept: application/x-wire
HTTP/1.1 200 OK
Content-Type: application/x-wire
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Result":[{"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"}]}