X4 Produktdokumentation

Operation: Get Project Parameter Ids

The Get Project Parameter Ids operation returns the IDs of the projects containing parameters with workspaces and project names.

Input

The adapter does not expect any input during this operation.

Example

Output

The adapter generates an XML document as output:

XML
<?xml version="1.0" encoding="UTF-8"?>
<ProjectParameters xmlns:ns2="http://softproject.de/parameter/1.0">
   <ProjectParameter>
      <Id>f96a6444-2331-445d-ad56-83287df56e68</Id>
      <Workspace>1</Workspace>
      <ProjectName>Project_1</ProjectName>
   </ProjectParameter>
   <ProjectParameter>
      <Id>f86fa741-a4ad-40a8-88de-d0a279b592a3</Id>
      <Workspace>1</Workspace>
      <ProjectName>Project_2</ProjectName>
   </ProjectParameter>
   <ProjectParameter>
      <Id>316874e3-636b-4475-a6c4-e3601d998be9</Id>
      <Workspace>2</Workspace>
      <ProjectName>Project_1</ProjectName>
   </ProjectParameter>
   <ProjectParameter>
      <Id>410e950e-f48b-41a1-8d49-777fa15a9f67</Id>
      <Workspace>2</Workspace>
      <ProjectName>Project_2</ProjectName>
   </ProjectParameter>  
</ProjectParameters>


The following elements can be included in the output:


Element

Attribute

Description

ProjectParameter


Project parameter with ID, name and workspace


Id

UUID of the project containing a .param file with project parameters


Workspace

Name of the workspace in which the project is stored


ProjectName

Name of the project in the X4 repository

The data displayed by the operation can be further utilized in a mapping (e.g. reading out the ID of the current project).