Skip to content

Asset List

Paritech.Authority.Control Asset List <Service>

Retrieves the details of all Assets.

FieldDescription
ServiceThe Authority Service to connect to.
OptionDescription
-App <Code>Only returns Assets with specific Application context. Can be specified multiple times.
-Cols <Columns>A comma-separated list of column names. Defaults to type,code.
-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.
-Type <Code>Only returns Assets of this type. Can be specified multiple times.

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

List Assets
Paritech.Authority.Control Asset List XOSP -Type TradingAccount > Assets.csv
Assets.csv
Type,Code
TradingAccount,XS:0001
TradingAccount,XS:0002
TradingAccount,XS:0003
TradingAccount,XS:0004

Utilises the /asset API.