Skip to content

Type Get

Paritech.Authority.Control Type Get <Service> <Code> [...]

Retrieves the details of one or more Asset Types.

FieldDescription
ServiceThe Authority Service to connect to.
CodeThe unique code of the Asset Type. Can be specified multiple times to retrieve multiple Assets Types.
OptionDescription
-Cols <Columns>A comma-separated list of column names. Defaults to 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.

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

List Assets
Paritech.Authority.Control Type Get XOSP User TradingAccount > Types.csv
Types.csv
Code
TradingAccount
User

Utilises the /type API.