EBDN - Community

Articles

Statistics
  • 47 Articles

Full Qualified Name

RestService.CopyObject

Syntax

C#
[OperationBehavior(Impersonation = ImpersonationOption.Allowed)]
public RestItemResponse<ObjectData> CopyObject ( string database ,
	string oid ,
	string oidNewParent ,
	int opMode ,
	string userSid );

Parameters

Parameters Description
string database ...

Full Qualified Name

RestService.CopyObject

Syntax

C#
[OperationBehavior(Impersonation = ImpersonationOption.Allowed)]
public RestItemResponse<ObjectData> CopyObject ( string database ,
	string oid ,
	string oidNewParent ,
	int opMode ,
	string userSid );

Parameters

Parameters Description
string database Name of the database.
string oid The OID of the object to copy.
string oidNewParent The OID of the new parent object.
int opMode The operation mode for the copy operation.
string userSid SID of the user (optional for multilayer scenarios)

Returns

The object data of the copied object.

Description

Copy an object to a new parent

History

Date Dev ID Comment
09.11.17 RLA 172333 Created
17.12.17 rla 180997 added User SID as optional parameter
17.02.18 RLA 139391 added opMode

  1.   07 February 2019
  2.   RestService Class

Full Qualified Name

RestService.CreateObject

Syntax

C#
[OperationBehavior(Impersonation = ImpersonationOption.Allowed)]
public RestItemResponse<ObjectData> CreateObject ( string database ,
	string oidParent ,
	string cid ,
	ObjectData objectData ,
	string userSid );

Parameters

Parameters Description
string...

Full Qualified Name

RestService.CreateObject

Syntax

C#
[OperationBehavior(Impersonation = ImpersonationOption.Allowed)]
public RestItemResponse<ObjectData> CreateObject ( string database ,
	string oidParent ,
	string cid ,
	ObjectData objectData ,
	string userSid );

Parameters

Parameters Description
string database Name of the database.
string oidParent The OID of the object under which the new object will be created.
string cid The cover ID of the object to create
ObjectData objectData The data for the new object.
string userSid SID of the user (optional for multilayer scenarios)

Returns

Response with the created object.

Description

Create a new object.

History

Date Dev ID Comment
17.01.17 mro 163398 Created
17.12.17 rla 180997 added User SID as optional parameter

  1.   07 February 2019
  2.   RestService Class

Full Qualified Name

RestService.GetAttribute

Syntax

C#
[OperationBehavior(Impersonation = ImpersonationOption.Allowed)]
public RestItemResponse<AttributeData> GetAttribute ( string database ,
	string oid ,
	string aid ,
	string lang ,
	string userSid );

Parameters

Parameters Description
string database ...

Full Qualified Name

RestService.GetAttribute

Syntax

C#
[OperationBehavior(Impersonation = ImpersonationOption.Allowed)]
public RestItemResponse<AttributeData> GetAttribute ( string database ,
	string oid ,
	string aid ,
	string lang ,
	string userSid );

Parameters

Parameters Description
string database Name of the database.
string oid The OID of the object.
string aid The attribute ID.
string lang Optional: The language(s) the attribute should be translated. Multiple language are divided by ",". Can be null.
string userSid SID of the user (optional for multilayer scenarios)

Returns

Response with the attribute data.

Description

Get a single attribute from an object.

History

Date Dev ID Comment
17.01.17 mro 163398 Created
17.12.17 rla 180997 added User SID as optional parameter

  1.   07 February 2019
  2.   RestService Class

Full Qualified Name

RestService.GetAttributes

Syntax

C#
[OperationBehavior(Impersonation = ImpersonationOption.Allowed)]
public RestListResponse<AttributeData> GetAttributes ( string database ,
	string oid ,
	bool onlyFromMask ,
	string userSid );

Parameters

Parameters Description
string database ...

Full Qualified Name

RestService.GetAttributes

Syntax

C#
[OperationBehavior(Impersonation = ImpersonationOption.Allowed)]
public RestListResponse<AttributeData> GetAttributes ( string database ,
	string oid ,
	bool onlyFromMask ,
	string userSid );

Parameters

Parameters Description
string database Name of the database.
string oid The OID of the object.
bool onlyFromMask true if only from mask
string userSid SID of the user (optional for multilayer scenarios)

Returns

Response with the attributes.

Description

Get all attributes from an object.

History

Date Dev ID Comment
17.01.17 mro 163398 Created
17.12.17 rla 180997 added User SID as optional parameter

  1.   07 February 2019
  2.   RestService Class

Full Qualified Name

RestService.GetCatalogConfiguration

Syntax

C#
[OperationBehavior(Impersonation = ImpersonationOption.Allowed)]
public RestItemResponse<CatalogConfiguration> GetCatalogConfiguration ( string database ,
	string oid ,
	string userSid );

Parameters

Parameters Description
string database ...

Full Qualified Name

RestService.GetCatalogConfiguration

Syntax

C#
[OperationBehavior(Impersonation = ImpersonationOption.Allowed)]
public RestItemResponse<CatalogConfiguration> GetCatalogConfiguration ( string database ,
	string oid ,
	string userSid );

Parameters

Parameters Description
string database Name of the database.
string oid The OID of the catalog.
string userSid SID of the user (optional for multilayer scenarios)

Returns

Response with the catalog configuration.

Description

Get the configuration for a catalog in the database.

History

Date Dev ID Comment
17.01.17 mro 163398 Created
17.12.17 rla 180997 added User SID as optional parameter

  1.   07 February 2019
  2.   RestService Class
No articles created yet
Unable to load tooltip content.