dms.GetObjectTypeByID

This job allows determining the type of an object instance.

1. Input Parameters

Name Type Required Description

Flags

INT

Yes

Reserved. Must be 0.

ObjectID

INT

Yes

ID of the object instance

2. Output Parameters

Name Type Dependency Description

ObjectType

INT

Type of the object. Consists of a main type (Highword) and a subtype (Lowword).

3. Return Value

(INT): 0 = Job successful, otherwise error code
Complete list of error codes

Table 1. Supported object types:
Object type Main type Subtype

Folder

0

>=0

Cabinet

99

>=0

Document — Grayscale

1

>=0

Document — Black/White

2

>=0

Document — Color

3

>=0

Document — Windows

4

>=0

Document — Multimedia

5

>=0

Document — E-Mail

6

>=0

Document — XML

7

>=0

Document — Container

8

>=0

Typeless document in user tray

200

17 (see document main type)

Typeless document in workflow tray

300

17 (see document main type)

Portfolio

203

0

Note

32767

14