| GET,OPTIONS | /v1/ReportManager/api/Objects/{Table}/fields |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Table | path | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ID | form | string | No | |
| Name | form | string | No | |
| Fields | form | List<ReportManagerObjectData> | No | |
| References | form | List<ReportManagerObjectRef> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ID | form | string | No | |
| Name | form | string | No | |
| Filter | form | bool | No | |
| Edit | form | bool | No | |
| TypeName | form | string | No | |
| Ref | form | string | No | |
| IsKey | form | bool | No | |
| IsLabel | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ID | form | int | No | |
| Target | form | string | No | |
| Source | form | string | No | |
| Name | form | string | 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 /v1/ReportManager/api/Objects/{Table}/fields HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
[
{
id: String,
name: String,
data:
[
{
id: String,
name: String,
filter: False,
edit: False,
type: String,
ref: String,
key: False,
show: False
}
],
refs:
[
{
id: 0,
target: String,
source: String,
name: String
}
]
}
]