| POST,DELETE,OPTIONS | /v1/terminology/override |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| TermKey | body | string | No | |
| Label | body | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Packs | form | List<IndustryPack> | No | |
| SelectedPackId | form | Guid? | No | |
| Terms | form | Dictionary<string, string> | No | |
| Overrides | form | List<TermOverride> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| PackId | form | Guid | No | |
| Code | form | string | No | |
| Name | form | string | No | |
| IsActive | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| TermKey | form | string | No | |
| Label | form | string | No | |
| CreatedBy | form | string | No | |
| CreatedAt | form | DateTime? | No | |
| UpdatedAt | form | DateTime? | 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.
POST /v1/terminology/override HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
TermKey: String,
Label: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
},
Packs:
[
{
PackId: 00000000000000000000000000000000,
Code: String,
Name: String,
IsActive: False
}
],
SelectedPackId: 00000000000000000000000000000000,
Terms:
{
String: String
},
Overrides:
[
{
TermKey: String,
Label: String,
CreatedBy: String,
CreatedAt: 0001-01-01,
UpdatedAt: 0001-01-01
}
]
}