Skip to main content

Dimension groups

Find

Web service type: Method driven

Resource location: /webservices/finder.asmx?wsdl

Method

public Message[] Search(
string type, // Finder type, See Finder type.
string pattern, // The search pattern. May contain wildcards * and ?
int field, // Fields to search through, see Search fields.
int firstRow, // First row to return, usefull for paging
int maxRows, // Maximum number of rows to return, usefull for paging
string[][] options, // See options below
out FinderData data) // Search results

Finder type

GRP

Search fields

Field IDFields searched
0code and name
1code
2name

The method will return an array containing validation messages. If there are no errors, then the data parameter will contain the actual search result.

Options

OptionTypeDescription
office«office code»Restricts to the office.
prefixstringSpecifies that the search field should start with the given value.
dimtypeenumeration: BAS, PNL, CRD, DEB, KPL, PRJ, AST, ACTSpecifies the dimension type. The result data will only show the dimension groups of the specified dimension type.

Read

Web service type: XML Web Services

XML

Below example reads the settings of dimension group EXAMPLE.

<dimensiongroup>
<office>001</office>
<code>EXAMPLE</code>
</dimensiongroup>

Create/Update/Delete

Root

Element name: dimensiongroup

NameDescription
headerContains information general to the dimension group.
dimensionContains the dimensions part of the dimension group.

Dimension group

Element name: dimensiongroup

NameTypeDescription
@statusactive
deleted
For creating and updating active should be used. For deleting deleted should be used.
officecodeOffice code.
codecodeDimension group code.
namestring(40)Name of the dimension group.
shortnamestring(20)Short name of the dimension group.
dimensionsnodeThe dimensions part of the dimension group.

Dimensions

Element name: dimension

NameTypeDescription
typecodeDimension type.
codecodeCode of the dimension.

XML

<dimensiongroup>
<office>001</office>
<code>EXAMPLE</code>
<name>Example dimension group</name>
<shortname>Dimension group</shortname>
<dimensions>
<dimension>
<type>CRD</type>
<code>2000</code>
</dimension>
<dimension>
<type>CRD</type>
<code>2001</code>
</dimension>
</dimensions>
</dimensiongroup>