Skip to main content
Omnitracs Knowledge Base

Set or Clear Alternate Company Context

This API is intended for use by PIT customers who have multiple Services Portal accounts (company instances) and would like to use a single instance of the PIT to call web services against each.

This API may be called to override the default (primary) PIT company context to another (alternate) company context for certain (see note) wrapper calls within the given job. The API may also be used to clear (reset) the company context back to the default company. This API is not required or used in standard PIT installations where customers have single Services Portal company accounts.

Note: Alternate company functionality is limited to non-messaging related wrappers only. All wrappers associated with ESS and Text & Macro Messaging will always be forced to operate from the primary company's context. This API will have no impact on the operation of these wrappers.

This API sets or resets the company context for subsequent wrapper calls.

IISETCO Parameter Interface:

 

Direction

 

 

DataType

 

 

Length

 

 

Precision

 

 

Description

 

Input

Character

10

n/a

Company ID (must be defined in IICONFIGP table) or blanks = reset context to primary company

Output

Packed Decimal    

3

0

Return status: 0 = success, 1 = error

  • Was this article helpful?