This documentation supports the 9.1 version of Remedy Action Request System.

To view the latest version, select the version from the Product version menu.

AREncodeDiary

Note

You can continue to use C APIs to customize your application, but C APIs are not enhanced to support new capabilities provided by Java APIs and REST APIs.

Description

Converts an ARDiaryList into a diary string. The resulting string is stored in a DEF file and is used for exporting definitions of ARServer objects.

Privileges

All users.

Synopsis

#include "ar.h"
#include "arerrno.h"
#include "arextern.h"
#include "arstruct.h"

int AREncodeDiary(
   ARControlStruct *control,
   ARDiaryList *diaryList,
   char **diaryString,
   ARStatusList *status)

Input arguments

control

The control record for the operation. It contains information about the user requesting the operation, where that operation is to be performed, and which session is used to perform it. The user and server fields are required.

diaryList

The ARDiaryList to convert.

Return values

diaryString

The resulting diary string.

status

A list of zero or more notes, warnings, or errors generated from a call to this function. For a description of all possible values, see Error checking.

See also

ARDecodeARQualifierStruct, AREncodeARAssignStruct, AREncodeARQualifierStruct, ARDecodeDiary, 257366, ARDecodeStatusHistory, AREncodeStatusHistory. See FreeAR for: FreeARStatusList.

Was this page helpful? Yes No Submitting... Thank you

Comments