Methods

  • Submit (create and submit) an activity based on the activity ID and filled in fields

    Parameters

    • casePath: string

      Path or Id of case

    • activity: string

      ID of activity

    • OptionalrequestBody: Record<string, any>

    Returns CancelablePromise<
        {
            createdCase?: string;
            jumpToCase?: boolean;
            jumpToCase_case?: string;
            jumpToCase_view?: string;
            redirectToURL?: string;
            redirectToURL_data?: string;
            redirectToURL_encoding?: string;
            redirectToURL_method?: string;
            reloadCaches?: string;
            returnResult?: MapStringObject;
            status?: string;
            submitMessageBody?: string;
            submitMessageButtonText?: string;
            submitMessageStyle?: string;
        },
    >

    any Submit (create and submit) an activity based on the activity ID and filled in fields

    ApiError

  • Parameters

    • caseId: string

      ID of case

    • activity: string

      ID of activity

    • OptionalrequestBody: Record<string, any>

    Returns CancelablePromise<
        {
            createdCase?: string;
            jumpToCase?: boolean;
            jumpToCase_case?: string;
            jumpToCase_view?: string;
            redirectToURL?: string;
            redirectToURL_data?: string;
            redirectToURL_encoding?: string;
            redirectToURL_method?: string;
            reloadCaches?: string;
            returnResult?: MapStringObject;
            status?: string;
            submitMessageBody?: string;
            submitMessageButtonText?: string;
            submitMessageStyle?: string;
        },
    >

    any Submit (create and submit) an activity based on the activity ID and filled in fields

    Submit (create and submit) an activity based on the activity ID and filled in fields

    ApiError

  • Retrieve information on a case

    Parameters

    • casePath: string

      Path or Id of case

    • Optionalcss: boolean

      Set css

    • Optionalrootline: boolean

      Set rootline

    • Optionalviews: boolean

      Set views

    Returns CancelablePromise<
        {
            caseRedirect?: string;
            casetype: {
                cssTemplates?: CasetypeCss[];
                defaultView?: string;
                name: string;
                platformCssTemplates?: CasetypeCss[];
                platformTheme?: any;
                views?: any[];
            };
            devParentCase?: string;
            id: string;
            jumpToCase?: boolean;
            jumpToCase_case?: string;
            jumpToCase_view?: string;
            redirectToURL?: string;
            redirectToURL_data?: string;
            redirectToURL_encoding?: string;
            redirectToURL_method?: string;
            reference?: string;
            reference_encodehtml?: string;
            reloadCaches?: string;
            rootline?: { id: string; reference?: string }[];
            submitMessageBody?: string;
            submitMessageButtonText?: string;
            submitMessageStyle?: string;
            userCaseLocale?: string;
        },
    >

    any Retrieve information on a case

    ApiError

  • Parameters

    • caseId: string

      ID of case

    • activity: string

      ID of activity

    • format: "simple" | "full" = 'full'

      Format of the result

    • OptionalrequestBody:
          | {
              activity: string;
              autoProgress?: boolean;
              skipCheckRights?: boolean;
              type: "optional";
          }
          | {
              activityTag: string;
              autoProgress?: boolean;
              skipCheckRights?: boolean;
              type: "optionalByTag";
          }
          | {
              autoProgress?: boolean;
              skipCheckRights?: boolean;
              task?: number;
              type: "task"
              | "mandatory"
              | "required"
              | "optionalTask";
          }

    Returns CancelablePromise<
        {
            activity?: Activity;
            dateSuggested?: string;
            form?: any;
            formCondition?: | FormFieldSimpleCondition
            | FormFieldConditionList
            | FormFieldNotCondition;
            name?: string;
            parentCase?: string;
            startActivity?: Activity;
            suggested?: { formField?: string; value?: FilledInValue[] }[];
            suggestedBy?: {
                caseId?: string;
                caseReference?: string;
                casetypeCaseId?: string;
                casetypeDevRef?: string;
                casetypeName?: string;
                hasAnyRight?: boolean;
            };
            task?: number;
        },
    >

    any Create a new optional task based on an activity ID

    Create a new optional task based on an activity ID

    ApiError

  • Parameters

    • caseId: string

      ID of case

    • task: number

      ID of task

    • format: "simple" | "full" = 'full'

      Format of the result

    Returns CancelablePromise<
        {
            activity?: Activity;
            dateSuggested?: string;
            form?: any;
            formCondition?: | FormFieldSimpleCondition
            | FormFieldConditionList
            | FormFieldNotCondition;
            name?: string;
            parentCase?: string;
            startActivity?: Activity;
            suggested?: { formField?: string; value?: FilledInValue[] }[];
            suggestedBy?: {
                caseId?: string;
                caseReference?: string;
                casetypeCaseId?: string;
                casetypeDevRef?: string;
                casetypeName?: string;
                hasAnyRight?: boolean;
            };
            task?: number;
        },
    >

    any Retrieve an existing task based on the task ID

    Retrieve an existing task based on the task ID

    ApiError

  • Parameters

    • caseId: string

      ID of case

    • task: number

      ID of task

    • OptionalrequestBody:
          | {
              activity: string;
              autoProgress?: boolean;
              fields?: MapStringObject;
              returnResult?: boolean;
              skipCheckRights?: boolean;
              type?: "optional";
          }
          | {
              autoProgress?: boolean;
              fields?: {
                  devref?: string;
                  externalReference?: string;
                  id?: string;
                  name?: string;
                  value?: any;
              }[];
              returnResult?: boolean;
              skipCheckRights?: boolean;
              task?: number;
              type?: "task-array";
          }
          | {
              autoProgress?: boolean;
              fields?: MapStringObject;
              returnResult?: boolean;
              skipCheckRights?: boolean;
              task?: number;
              type?: "task-json";
          }

    Returns CancelablePromise<
        {
            createdCase?: string;
            jumpToCase?: boolean;
            jumpToCase_case?: string;
            jumpToCase_view?: string;
            redirectToURL?: string;
            redirectToURL_data?: string;
            redirectToURL_encoding?: string;
            redirectToURL_method?: string;
            reloadCaches?: string;
            returnResult?: MapStringObject;
            status?: string;
            submitMessageBody?: string;
            submitMessageButtonText?: string;
            submitMessageStyle?: string;
        },
    >

    any Submit an existing task based on the task ID and filled in fields

    Submit an existing task based on the task ID and filled in fields

    ApiError

  • Parameters

    • caseId: string

      ID of case

    • Optionalcss: boolean

      Set css

    • Optionalrootline: boolean

      Set rootline

    • Optionalviews: boolean

      Set views

    Returns CancelablePromise<
        {
            caseRedirect?: string;
            casetype: {
                cssTemplates?: CasetypeCss[];
                defaultView?: string;
                name: string;
                platformCssTemplates?: CasetypeCss[];
                platformTheme?: any;
                views?: any[];
            };
            devParentCase?: string;
            id: string;
            jumpToCase?: boolean;
            jumpToCase_case?: string;
            jumpToCase_view?: string;
            redirectToURL?: string;
            redirectToURL_data?: string;
            redirectToURL_encoding?: string;
            redirectToURL_method?: string;
            reference?: string;
            reference_encodehtml?: string;
            reloadCaches?: string;
            rootline?: { id: string; reference?: string }[];
            submitMessageBody?: string;
            submitMessageButtonText?: string;
            submitMessageStyle?: string;
            userCaseLocale?: string;
        },
    >

    any Retrieve information on a case

    Retrieve information on a case

    ApiError

  • Parameters

    • caseId: string

      ID of case

    • dataset: string

      ID of dataset

    • format: "simple" | "full" = 'simple'

      Format of the result

    • OptionalrequestBody: {
          additionalColumns?: (
              | AdditionalAggregateColumn
              | AdditionalDataHistoryColumn
              | AdditionalDerivedColumn
              | AdditionalExternalColumn
              | AdditionalGroupbyColumn
              | AdditionalMetaColumn
              | AdditionalTemplateColumn
          )[];
          allowHtmlAlways?: boolean;
          calculateFullCount?: boolean;
          columns?: string[];
          dataset: string;
          doAnalysis?: boolean;
          forceCount?: boolean;
          identifier?: ColumnIdentifier;
          limit?: number;
          search?: SortConfigSearchCondition
          | SortConfigSearchList;
          skip?: number;
          sort?: SortConfigSort[];
          unAggregatedAdditionalColumns?: (
              | AdditionalAggregateColumn
              | AdditionalDataHistoryColumn
              | AdditionalDerivedColumn
              | AdditionalExternalColumn
              | AdditionalGroupbyColumn
              | AdditionalMetaColumn
              | AdditionalTemplateColumn
          )[];
          unAggregatedSearch?: SortConfigSearchCondition
          | SortConfigSearchList;
      }

    Returns CancelablePromise<DatasetResult>

    DatasetResult Retrieve the contents of a dataset. Rights are checked via dataset rights, unless called from a Scripted System Service.

    Retrieve the contents of a dataset. Rights are checked via dataset rights, unless called from a Scripted System Service.

    ApiError

  • Parameters

    • caseId: string

      ID of case

    • dataset: string

      ID of dataset

    • widget: string

      ID of widget

    • format: "simple" | "full" = 'full'

      Format of the result

    • OptionalrequestBody: {
          additionalColumns?: (
              | AdditionalAggregateColumn
              | AdditionalDataHistoryColumn
              | AdditionalDerivedColumn
              | AdditionalExternalColumn
              | AdditionalGroupbyColumn
              | AdditionalMetaColumn
              | AdditionalTemplateColumn
          )[];
          allowHtmlAlways?: boolean;
          calculateFullCount?: boolean;
          columns?: string[];
          dataset: string;
          doAnalysis?: boolean;
          forceCount?: boolean;
          identifier?: ColumnIdentifier;
          limit?: number;
          search?: SortConfigSearchCondition
          | SortConfigSearchList;
          skip?: number;
          sort?: SortConfigSort[];
          unAggregatedAdditionalColumns?: (
              | AdditionalAggregateColumn
              | AdditionalDataHistoryColumn
              | AdditionalDerivedColumn
              | AdditionalExternalColumn
              | AdditionalGroupbyColumn
              | AdditionalMetaColumn
              | AdditionalTemplateColumn
          )[];
          unAggregatedSearch?: SortConfigSearchCondition
          | SortConfigSearchList;
          widget: string;
          widgetCaseid?: string;
      }

    Returns CancelablePromise<DatasetResult>

    DatasetResult Retrieve the contents of a dataset. Rights are checked via widget rights, unless called from a Scripted System Service.

    Retrieve the contents of a dataset. Rights are checked via widget rights, unless called from a Scripted System Service.

    ApiError

  • Retrieve the contents of a dataset. Rights are checked via dataset rights, unless called from a Scripted System Service.

    Parameters

    • casePath: string

      Path or Id of case

    • dataset: string

      ID of dataset

    • format: "simple" | "full" = 'simple'

      Format of the result

    • OptionalrequestBody: {
          additionalColumns?: (
              | AdditionalAggregateColumn
              | AdditionalDataHistoryColumn
              | AdditionalDerivedColumn
              | AdditionalExternalColumn
              | AdditionalGroupbyColumn
              | AdditionalMetaColumn
              | AdditionalTemplateColumn
          )[];
          allowHtmlAlways?: boolean;
          calculateFullCount?: boolean;
          columns?: string[];
          dataset: string;
          doAnalysis?: boolean;
          forceCount?: boolean;
          identifier?: ColumnIdentifier;
          limit?: number;
          search?: SortConfigSearchCondition
          | SortConfigSearchList;
          skip?: number;
          sort?: SortConfigSort[];
          unAggregatedAdditionalColumns?: (
              | AdditionalAggregateColumn
              | AdditionalDataHistoryColumn
              | AdditionalDerivedColumn
              | AdditionalExternalColumn
              | AdditionalGroupbyColumn
              | AdditionalMetaColumn
              | AdditionalTemplateColumn
          )[];
          unAggregatedSearch?: SortConfigSearchCondition
          | SortConfigSearchList;
      }

    Returns CancelablePromise<DatasetResult>

    DatasetResult Retrieve the contents of a dataset. Rights are checked via dataset rights, unless called from a Scripted System Service.

    ApiError

  • Retrieve the contents of a dataset. Rights are checked via widget rights, unless called from a Scripted System Service.

    Parameters

    • casePath: string

      Path or Id of case

    • dataset: string

      ID of dataset

    • widget: string

      ID of widget

    • format: "simple" | "full" = 'full'

      Format of the result

    • OptionalrequestBody: {
          additionalColumns?: (
              | AdditionalAggregateColumn
              | AdditionalDataHistoryColumn
              | AdditionalDerivedColumn
              | AdditionalExternalColumn
              | AdditionalGroupbyColumn
              | AdditionalMetaColumn
              | AdditionalTemplateColumn
          )[];
          allowHtmlAlways?: boolean;
          calculateFullCount?: boolean;
          columns?: string[];
          dataset: string;
          doAnalysis?: boolean;
          forceCount?: boolean;
          identifier?: ColumnIdentifier;
          limit?: number;
          search?: SortConfigSearchCondition
          | SortConfigSearchList;
          skip?: number;
          sort?: SortConfigSort[];
          unAggregatedAdditionalColumns?: (
              | AdditionalAggregateColumn
              | AdditionalDataHistoryColumn
              | AdditionalDerivedColumn
              | AdditionalExternalColumn
              | AdditionalGroupbyColumn
              | AdditionalMetaColumn
              | AdditionalTemplateColumn
          )[];
          unAggregatedSearch?: SortConfigSearchCondition
          | SortConfigSearchList;
          widget: string;
          widgetCaseid?: string;
      }

    Returns CancelablePromise<DatasetResult>

    DatasetResult Retrieve the contents of a dataset. Rights are checked via widget rights, unless called from a Scripted System Service.

    ApiError

  • Parameters

    • caseId: string

      ID of case

    • formId: string

      ID of form

    • format: "simple" | "full" | "extended" = 'simple'

      Format of the result

    Returns CancelablePromise<any>

    any Retrieve the contents of a form. Rights are checked via form rights, unless called from a Scripted System Service.

    Retrieve the contents of a form. Rights are checked via form rights, unless called from a Scripted System Service.

    ApiError

  • Retrieve the contents of a form. Rights are checked via form rights, unless called from a Scripted System Service.

    Parameters

    • casePath: string

      Path or Id of case

    • formId: string

      ID of form

    • format: "simple" | "full" | "extended" = 'simple'

      Format of the result

    Returns CancelablePromise<any>

    any Retrieve the contents of a form. Rights are checked via form rights, unless called from a Scripted System Service.

    ApiError

  • Create a new optional task based on an activity ID

    Parameters

    • casePath: string

      Path or Id of case

    • activity: string

      ID of activity

    • format: "simple" | "full" = 'full'

      Format of the result

    • OptionalrequestBody:
          | {
              activity: string;
              autoProgress?: boolean;
              skipCheckRights?: boolean;
              type: "optional";
          }
          | {
              activityTag: string;
              autoProgress?: boolean;
              skipCheckRights?: boolean;
              type: "optionalByTag";
          }
          | {
              autoProgress?: boolean;
              skipCheckRights?: boolean;
              task?: number;
              type: "task"
              | "mandatory"
              | "required"
              | "optionalTask";
          }

    Returns CancelablePromise<
        {
            activity?: Activity;
            dateSuggested?: string;
            form?: any;
            formCondition?: | FormFieldSimpleCondition
            | FormFieldConditionList
            | FormFieldNotCondition;
            name?: string;
            parentCase?: string;
            startActivity?: Activity;
            suggested?: { formField?: string; value?: FilledInValue[] }[];
            suggestedBy?: {
                caseId?: string;
                caseReference?: string;
                casetypeCaseId?: string;
                casetypeDevRef?: string;
                casetypeName?: string;
                hasAnyRight?: boolean;
            };
            task?: number;
        },
    >

    any Create a new optional task based on an activity ID

    ApiError

  • Retrieve an existing task based on the task ID

    Parameters

    • casePath: string

      Path or Id of case

    • task: number

      ID of task

    • format: "simple" | "full" = 'full'

      Format of the result

    Returns CancelablePromise<
        {
            activity?: Activity;
            dateSuggested?: string;
            form?: any;
            formCondition?: | FormFieldSimpleCondition
            | FormFieldConditionList
            | FormFieldNotCondition;
            name?: string;
            parentCase?: string;
            startActivity?: Activity;
            suggested?: { formField?: string; value?: FilledInValue[] }[];
            suggestedBy?: {
                caseId?: string;
                caseReference?: string;
                casetypeCaseId?: string;
                casetypeDevRef?: string;
                casetypeName?: string;
                hasAnyRight?: boolean;
            };
            task?: number;
        },
    >

    any Retrieve an existing task based on the task ID

    ApiError

  • Submit an existing task based on the task ID and filled in fields

    Parameters

    • casePath: string

      Path or Id of case

    • task: number

      ID of task

    • OptionalrequestBody:
          | {
              activity: string;
              autoProgress?: boolean;
              fields?: MapStringObject;
              returnResult?: boolean;
              skipCheckRights?: boolean;
              type?: "optional";
          }
          | {
              autoProgress?: boolean;
              fields?: {
                  devref?: string;
                  externalReference?: string;
                  id?: string;
                  name?: string;
                  value?: any;
              }[];
              returnResult?: boolean;
              skipCheckRights?: boolean;
              task?: number;
              type?: "task-array";
          }
          | {
              autoProgress?: boolean;
              fields?: MapStringObject;
              returnResult?: boolean;
              skipCheckRights?: boolean;
              task?: number;
              type?: "task-json";
          }

    Returns CancelablePromise<
        {
            createdCase?: string;
            jumpToCase?: boolean;
            jumpToCase_case?: string;
            jumpToCase_view?: string;
            redirectToURL?: string;
            redirectToURL_data?: string;
            redirectToURL_encoding?: string;
            redirectToURL_method?: string;
            reloadCaches?: string;
            returnResult?: MapStringObject;
            status?: string;
            submitMessageBody?: string;
            submitMessageButtonText?: string;
            submitMessageStyle?: string;
        },
    >

    any Submit an existing task based on the task ID and filled in fields

    ApiError