Trendsic Platform Service

<back to all web services

SetTenantPackRequest

Requires Authentication
The following routes are available for this service:
PUT,OPTIONS/v1/tenant/pack
SetTenantPackRequest Parameters:
NameParameterData TypeRequiredDescription
PackIdbodyGuidNo
TerminologyAdminResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
PacksformList<IndustryPack>No
SelectedPackIdformGuid?No
TermsformDictionary<string, string>No
OverridesformList<TermOverride>No
IndustryPack Parameters:
NameParameterData TypeRequiredDescription
PackIdformGuidNo
CodeformstringNo
NameformstringNo
IsActiveformboolNo
TermOverride Parameters:
NameParameterData TypeRequiredDescription
TermKeyformstringNo
LabelformstringNo
CreatedByformstringNo
CreatedAtformDateTime?No
UpdatedAtformDateTime?No

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

PUT /v1/tenant/pack HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"PackId":"00000000000000000000000000000000"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
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-01T00:00:00.0000000","UpdatedAt":"0001-01-01T00:00:00.0000000"}]}