Skip to content

Account Define

Paritech.OMS2.Control Account Define <Hub> <Owner> <Account>

Defines an Account’s metadata in OMS.

FieldDescription
HubThe OMS-2 Hub to connect to.
OwnerThe unique identifier of the Owner for the Account.
AccountThe unique Account identifer.
OptionDescription
-Attrib <Key> <Value>An attribute for this Account. Can be specified multiple times.
-Category <Category>A category code to assign to this Account. Can be specified multiple times.
-Class <Class>A classification for this Account.
-Currency <Comment>The default currency code to use for this Account.
-Name <Name>Friendly name of the Account.

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

Terminal window
Paritech.OMS2.Control Account Define XOSP XS 1234 -Name "New Account 1234" -Class Standard -Currency AUD -Category PRO -Category INT -Attrib VettingMode Limited

Utilises the /account API.