Skip to content

Association List

Paritech.Authority.Control Association List <Service> <FromType> <FromCode>

Retrieves the details of the transitive Associations from an Asset. Will include details of the From and all To Assets.

FieldDescription
ServiceThe Authority Service to connect to.
FromTypeThe type of the Asset the Association is from.
FromCodeThe unique code of the Asset the Association is from.
OptionDescription
-App <Code>Only returns Associations with specific Application context. Can be specified multiple times.
-Cols <Columns>A comma-separated list of column names. Defaults to fromtype,fromcode,totype,tocode.
-Enc <Encoding>Output encoding. One of ASCII, UTF8 (default).
-File <FileName>Write to the given file
-Format <Format>Output data format. One of CSV (default), TSV, JSON.
-NewLine <NewLine>NewLine format. One of CR, LF, CRLF. Defaults to platform specific.
-NoHeaderThe output data does not contain a header line.
-StdoutWrite to STDOUT. Default.
-ToType <Code>Only returns Associations to Assets of this type. Can be specified multiple times.

The process result will be 0 on success, and a negative value on failure.

List Transitive Associations
Paritech.Authority.Control Association Transitive XOSP User 1234 > Associations.csv
Assocations.csv
FromType,FromCode,ToType,ToCode
,,User,1234
User,1234,Group,DTR
User,1234,Market,XSX
Group,DTR,TradingAccount,XS:0001
Group,DTR,TradingAccount,XS:0002
Group,DTR,TradingAccount,XS:0003
Group,DTR,TradingAccount,XS:0004

Utilises the /association API.