Skip to content

Latest commit

 

History

History
45 lines (27 loc) · 2.15 KB

AttributeTraitApi.md

File metadata and controls

45 lines (27 loc) · 2.15 KB

AttributeTraitApi

Method HTTP request Description
GetByCategory GET /attributetraits Retrieve all attribute traits of the specified category/categories.
Get GET /attributetraits/{name} Retrieve an attribute trait.

GetByCategory

GetByCategory(List category, string selectedFields = null)

Retrieve all attribute traits of the specified category/categories.

Parameters

Name Type Description Notes
category List The category of the attribute traits. Multiple categories may be specified with multiple instances of the parameter. If the parameter is not specified, or if its value is "all", then all attribute traits of all categories will be returned.. [required]
selectedFields string List of fields to be returned in the response, separated by semicolons (;). If this parameter is not specified, all available fields will be returned.. [optional]

Return type

PIItemsAttributeTrait

[Back to top] [Back to API list] [Back to Model list] [Back to DOCUMENTATION]

Get

Get(string name, string selectedFields = null)

Retrieve an attribute trait.

Parameters

Name Type Description Notes
name string The name or abbreviation of the attribute trait.. [required]
selectedFields string List of fields to be returned in the response, separated by semicolons (;). If this parameter is not specified, all available fields will be returned.. [optional]

Return type

PIAttributeTrait

[Back to top] [Back to API list] [Back to Model list] [Back to DOCUMENTATION]