Primary Objects

Primary objects have a system assigned object identifier (OID) that uniquely identifies the object and is the primary way to specify the object instance.

Primary objects can also have an optional ExternalId value provided by the caller. When primary objects are referenced in a request, the request uses a SearchData structure, for example, SubscriberSearchData, that encapsulates the supported methods for identifying the object.

The primary object for SubMan multi-requests is always the specified object, either implicitly by the object in the request (such as the subscriber in MtxRequestSubscriberAddDevice), or explicitly by the ObjectSearchData field (such as the group in GroupSearchData). A maximum of one object is identified in this way for each SubMan API operation.

Note: Some operations do not have a primary object (such as MtxRequestPricingQueryStatus). For these operations, a special NULL object identifier is defined by the operation. The NULL identifier is also generated during operations such as MtxRequestSubscriberDelete. Attempting to use a NULL identifier in a multi-request generates a runtime error.