MainService


Klicken Sie hier, um die vollständige Vorgangsliste anzuzeigen.

GetProjectInfo

Retrieves template information for a project. The data returned here is essential to map values of a specific item (e.g. requirement) to human-readable values.

Test

Das Testformular ist nur für Anforderungen vom lokalen Computer verfügbar.

SOAP 1.1

Es folgt ein Beispiel für eine SOAP 1.1-Anforderung und -Antwort. Die angezeigten Platzhalter müssen durch tatsächliche Werte ersetzt werden.

POST /aquaAPI/mainservice.asmx HTTP/1.1
Host: aqua-demo2.andagon.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://aqua-api.andagon.com/GetProjectInfo"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetProjectInfo xmlns="http://aqua-api.andagon.com/">
      <_session>string</_session>
      <_projectName>string</_projectName>
    </GetProjectInfo>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetProjectInfoResponse xmlns="http://aqua-api.andagon.com/">
      <GetProjectInfoResult>
        <ProjectId>int</ProjectId>
        <ProjectName>string</ProjectName>
        <Folder>
          <ProjectFolder>
            <Id>int</Id>
            <Name>string</Name>
          </ProjectFolder>
          <ProjectFolder>
            <Id>int</Id>
            <Name>string</Name>
          </ProjectFolder>
        </Folder>
        <Users>
          <User>
            <Id>int</Id>
            <FullName>string</FullName>
            <FirstName>string</FirstName>
            <LastName>string</LastName>
            <Email>string</Email>
            <Username>string</Username>
            <UserStatus>Active or Deactivated or LicenseDeactivated</UserStatus>
          </User>
          <User>
            <Id>int</Id>
            <FullName>string</FullName>
            <FirstName>string</FirstName>
            <LastName>string</LastName>
            <Email>string</Email>
            <Username>string</Username>
            <UserStatus>Active or Deactivated or LicenseDeactivated</UserStatus>
          </User>
        </Users>
        <DefectTemplate>
          <StatusFields>
            <Id>int</Id>
            <Name>string</Name>
            <UniqueId>string</UniqueId>
            <DefaultFieldValue xsi:nil="true" />
            <FieldValues xsi:nil="true" />
          </StatusFields>
          <PriorityFields>
            <Id>int</Id>
            <Name>string</Name>
            <UniqueId>string</UniqueId>
            <DefaultFieldValue xsi:nil="true" />
            <FieldValues xsi:nil="true" />
          </PriorityFields>
          <SignificanceFields>
            <Id>int</Id>
            <Name>string</Name>
            <UniqueId>string</UniqueId>
            <DefaultFieldValue xsi:nil="true" />
            <FieldValues xsi:nil="true" />
          </SignificanceFields>
        </DefectTemplate>
        <RequirementTemplate>
          <PriorityFieldValueSet>
            <Id>int</Id>
            <Name>string</Name>
            <UniqueId>string</UniqueId>
            <DefaultFieldValue xsi:nil="true" />
            <FieldValues xsi:nil="true" />
          </PriorityFieldValueSet>
          <RequirementTypeFieldValueSet>
            <Id>int</Id>
            <Name>string</Name>
            <UniqueId>string</UniqueId>
            <DefaultFieldValue xsi:nil="true" />
            <FieldValues xsi:nil="true" />
          </RequirementTypeFieldValueSet>
          <SignificanceFieldValueSet>
            <Id>int</Id>
            <Name>string</Name>
            <UniqueId>string</UniqueId>
            <DefaultFieldValue xsi:nil="true" />
            <FieldValues xsi:nil="true" />
          </SignificanceFieldValueSet>
          <StatusFieldValueSet>
            <Id>int</Id>
            <Name>string</Name>
            <UniqueId>string</UniqueId>
            <DefaultFieldValue xsi:nil="true" />
            <FieldValues xsi:nil="true" />
          </StatusFieldValueSet>
        </RequirementTemplate>
        <TestCaseTemplate>
          <PriorityFieldValueSet>
            <Id>int</Id>
            <Name>string</Name>
            <UniqueId>string</UniqueId>
            <DefaultFieldValue xsi:nil="true" />
            <FieldValues xsi:nil="true" />
          </PriorityFieldValueSet>
          <TestLevelFieldValueSet>
            <Id>int</Id>
            <Name>string</Name>
            <UniqueId>string</UniqueId>
            <DefaultFieldValue xsi:nil="true" />
            <FieldValues xsi:nil="true" />
          </TestLevelFieldValueSet>
          <TestTypeFieldValueSet>
            <Id>int</Id>
            <Name>string</Name>
            <UniqueId>string</UniqueId>
            <DefaultFieldValue xsi:nil="true" />
            <FieldValues xsi:nil="true" />
          </TestTypeFieldValueSet>
          <SignificanceFieldValueSet>
            <Id>int</Id>
            <Name>string</Name>
            <UniqueId>string</UniqueId>
            <DefaultFieldValue xsi:nil="true" />
            <FieldValues xsi:nil="true" />
          </SignificanceFieldValueSet>
          <StatusFieldValueSet>
            <Id>int</Id>
            <Name>string</Name>
            <UniqueId>string</UniqueId>
            <DefaultFieldValue xsi:nil="true" />
            <FieldValues xsi:nil="true" />
          </StatusFieldValueSet>
        </TestCaseTemplate>
        <TestScenarioTemplate>
          <PriorityFieldValueSet>
            <Id>int</Id>
            <Name>string</Name>
            <UniqueId>string</UniqueId>
            <DefaultFieldValue xsi:nil="true" />
            <FieldValues xsi:nil="true" />
          </PriorityFieldValueSet>
          <TypeFieldValueSet>
            <Id>int</Id>
            <Name>string</Name>
            <UniqueId>string</UniqueId>
            <DefaultFieldValue xsi:nil="true" />
            <FieldValues xsi:nil="true" />
          </TypeFieldValueSet>
          <SignificanceFieldValueSet>
            <Id>int</Id>
            <Name>string</Name>
            <UniqueId>string</UniqueId>
            <DefaultFieldValue xsi:nil="true" />
            <FieldValues xsi:nil="true" />
          </SignificanceFieldValueSet>
          <StatusFieldValueSet>
            <Id>int</Id>
            <Name>string</Name>
            <UniqueId>string</UniqueId>
            <DefaultFieldValue xsi:nil="true" />
            <FieldValues xsi:nil="true" />
          </StatusFieldValueSet>
        </TestScenarioTemplate>
        <UserViews>
          <UserView>
            <Id>int</Id>
            <Version>int</Version>
            <ProjectId>int</ProjectId>
            <OwnerId>int</OwnerId>
            <IsPublic>boolean</IsPublic>
            <IsTemporary>boolean</IsTemporary>
            <Name>string</Name>
            <Description>string</Description>
            <Color>string</Color>
            <SortingGroupingXml>string</SortingGroupingXml>
            <UserViewType>Regular or SpecialHomePanel</UserViewType>
            <IsFavorite>boolean</IsFavorite>
          </UserView>
          <UserView>
            <Id>int</Id>
            <Version>int</Version>
            <ProjectId>int</ProjectId>
            <OwnerId>int</OwnerId>
            <IsPublic>boolean</IsPublic>
            <IsTemporary>boolean</IsTemporary>
            <Name>string</Name>
            <Description>string</Description>
            <Color>string</Color>
            <SortingGroupingXml>string</SortingGroupingXml>
            <UserViewType>Regular or SpecialHomePanel</UserViewType>
            <IsFavorite>boolean</IsFavorite>
          </UserView>
        </UserViews>
        <RFSWrapper>
          <DefectFields>
            <RFSField xsi:nil="true" />
            <RFSField xsi:nil="true" />
          </DefectFields>
          <RequirementFields>
            <RFSField xsi:nil="true" />
            <RFSField xsi:nil="true" />
          </RequirementFields>
          <TestCaseFields>
            <RFSField xsi:nil="true" />
            <RFSField xsi:nil="true" />
          </TestCaseFields>
          <TestScenarioFields>
            <RFSField xsi:nil="true" />
            <RFSField xsi:nil="true" />
          </TestScenarioFields>
        </RFSWrapper>
        <CompleteProjectTemplate>
          <DefectTemplate>
            <StatusFields xsi:nil="true" />
            <PriorityFields xsi:nil="true" />
            <SignificanceFields xsi:nil="true" />
          </DefectTemplate>
          <RequirementTemplate>
            <PriorityFieldValueSet xsi:nil="true" />
            <RequirementTypeFieldValueSet xsi:nil="true" />
            <SignificanceFieldValueSet xsi:nil="true" />
            <StatusFieldValueSet xsi:nil="true" />
          </RequirementTemplate>
          <TestCaseTemplate>
            <PriorityFieldValueSet xsi:nil="true" />
            <TestLevelFieldValueSet xsi:nil="true" />
            <TestTypeFieldValueSet xsi:nil="true" />
            <SignificanceFieldValueSet xsi:nil="true" />
            <StatusFieldValueSet xsi:nil="true" />
          </TestCaseTemplate>
          <TestScenarioTemplate>
            <PriorityFieldValueSet xsi:nil="true" />
            <TypeFieldValueSet xsi:nil="true" />
            <SignificanceFieldValueSet xsi:nil="true" />
            <StatusFieldValueSet xsi:nil="true" />
          </TestScenarioTemplate>
        </CompleteProjectTemplate>
        <ProjectFolderTemplates>
          <ProjectFolderTemplate>
            <FolderId>int</FolderId>
            <Template xsi:nil="true" />
          </ProjectFolderTemplate>
          <ProjectFolderTemplate>
            <FolderId>int</FolderId>
            <Template xsi:nil="true" />
          </ProjectFolderTemplate>
        </ProjectFolderTemplates>
        <ProjectAssignments>
          <ProjectAssignment>
            <FolderId>int</FolderId>
            <Permissions xsi:nil="true" />
            <ProjectId>int</ProjectId>
          </ProjectAssignment>
          <ProjectAssignment>
            <FolderId>int</FolderId>
            <Permissions xsi:nil="true" />
            <ProjectId>int</ProjectId>
          </ProjectAssignment>
        </ProjectAssignments>
      </GetProjectInfoResult>
    </GetProjectInfoResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

Es folgt ein Beispiel für eine SOAP 1.2-Anforderung und -Antwort. Die angezeigten Platzhalter müssen durch tatsächliche Werte ersetzt werden.

POST /aquaAPI/mainservice.asmx HTTP/1.1
Host: aqua-demo2.andagon.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetProjectInfo xmlns="http://aqua-api.andagon.com/">
      <_session>string</_session>
      <_projectName>string</_projectName>
    </GetProjectInfo>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetProjectInfoResponse xmlns="http://aqua-api.andagon.com/">
      <GetProjectInfoResult>
        <ProjectId>int</ProjectId>
        <ProjectName>string</ProjectName>
        <Folder>
          <ProjectFolder>
            <Id>int</Id>
            <Name>string</Name>
          </ProjectFolder>
          <ProjectFolder>
            <Id>int</Id>
            <Name>string</Name>
          </ProjectFolder>
        </Folder>
        <Users>
          <User>
            <Id>int</Id>
            <FullName>string</FullName>
            <FirstName>string</FirstName>
            <LastName>string</LastName>
            <Email>string</Email>
            <Username>string</Username>
            <UserStatus>Active or Deactivated or LicenseDeactivated</UserStatus>
          </User>
          <User>
            <Id>int</Id>
            <FullName>string</FullName>
            <FirstName>string</FirstName>
            <LastName>string</LastName>
            <Email>string</Email>
            <Username>string</Username>
            <UserStatus>Active or Deactivated or LicenseDeactivated</UserStatus>
          </User>
        </Users>
        <DefectTemplate>
          <StatusFields>
            <Id>int</Id>
            <Name>string</Name>
            <UniqueId>string</UniqueId>
            <DefaultFieldValue xsi:nil="true" />
            <FieldValues xsi:nil="true" />
          </StatusFields>
          <PriorityFields>
            <Id>int</Id>
            <Name>string</Name>
            <UniqueId>string</UniqueId>
            <DefaultFieldValue xsi:nil="true" />
            <FieldValues xsi:nil="true" />
          </PriorityFields>
          <SignificanceFields>
            <Id>int</Id>
            <Name>string</Name>
            <UniqueId>string</UniqueId>
            <DefaultFieldValue xsi:nil="true" />
            <FieldValues xsi:nil="true" />
          </SignificanceFields>
        </DefectTemplate>
        <RequirementTemplate>
          <PriorityFieldValueSet>
            <Id>int</Id>
            <Name>string</Name>
            <UniqueId>string</UniqueId>
            <DefaultFieldValue xsi:nil="true" />
            <FieldValues xsi:nil="true" />
          </PriorityFieldValueSet>
          <RequirementTypeFieldValueSet>
            <Id>int</Id>
            <Name>string</Name>
            <UniqueId>string</UniqueId>
            <DefaultFieldValue xsi:nil="true" />
            <FieldValues xsi:nil="true" />
          </RequirementTypeFieldValueSet>
          <SignificanceFieldValueSet>
            <Id>int</Id>
            <Name>string</Name>
            <UniqueId>string</UniqueId>
            <DefaultFieldValue xsi:nil="true" />
            <FieldValues xsi:nil="true" />
          </SignificanceFieldValueSet>
          <StatusFieldValueSet>
            <Id>int</Id>
            <Name>string</Name>
            <UniqueId>string</UniqueId>
            <DefaultFieldValue xsi:nil="true" />
            <FieldValues xsi:nil="true" />
          </StatusFieldValueSet>
        </RequirementTemplate>
        <TestCaseTemplate>
          <PriorityFieldValueSet>
            <Id>int</Id>
            <Name>string</Name>
            <UniqueId>string</UniqueId>
            <DefaultFieldValue xsi:nil="true" />
            <FieldValues xsi:nil="true" />
          </PriorityFieldValueSet>
          <TestLevelFieldValueSet>
            <Id>int</Id>
            <Name>string</Name>
            <UniqueId>string</UniqueId>
            <DefaultFieldValue xsi:nil="true" />
            <FieldValues xsi:nil="true" />
          </TestLevelFieldValueSet>
          <TestTypeFieldValueSet>
            <Id>int</Id>
            <Name>string</Name>
            <UniqueId>string</UniqueId>
            <DefaultFieldValue xsi:nil="true" />
            <FieldValues xsi:nil="true" />
          </TestTypeFieldValueSet>
          <SignificanceFieldValueSet>
            <Id>int</Id>
            <Name>string</Name>
            <UniqueId>string</UniqueId>
            <DefaultFieldValue xsi:nil="true" />
            <FieldValues xsi:nil="true" />
          </SignificanceFieldValueSet>
          <StatusFieldValueSet>
            <Id>int</Id>
            <Name>string</Name>
            <UniqueId>string</UniqueId>
            <DefaultFieldValue xsi:nil="true" />
            <FieldValues xsi:nil="true" />
          </StatusFieldValueSet>
        </TestCaseTemplate>
        <TestScenarioTemplate>
          <PriorityFieldValueSet>
            <Id>int</Id>
            <Name>string</Name>
            <UniqueId>string</UniqueId>
            <DefaultFieldValue xsi:nil="true" />
            <FieldValues xsi:nil="true" />
          </PriorityFieldValueSet>
          <TypeFieldValueSet>
            <Id>int</Id>
            <Name>string</Name>
            <UniqueId>string</UniqueId>
            <DefaultFieldValue xsi:nil="true" />
            <FieldValues xsi:nil="true" />
          </TypeFieldValueSet>
          <SignificanceFieldValueSet>
            <Id>int</Id>
            <Name>string</Name>
            <UniqueId>string</UniqueId>
            <DefaultFieldValue xsi:nil="true" />
            <FieldValues xsi:nil="true" />
          </SignificanceFieldValueSet>
          <StatusFieldValueSet>
            <Id>int</Id>
            <Name>string</Name>
            <UniqueId>string</UniqueId>
            <DefaultFieldValue xsi:nil="true" />
            <FieldValues xsi:nil="true" />
          </StatusFieldValueSet>
        </TestScenarioTemplate>
        <UserViews>
          <UserView>
            <Id>int</Id>
            <Version>int</Version>
            <ProjectId>int</ProjectId>
            <OwnerId>int</OwnerId>
            <IsPublic>boolean</IsPublic>
            <IsTemporary>boolean</IsTemporary>
            <Name>string</Name>
            <Description>string</Description>
            <Color>string</Color>
            <SortingGroupingXml>string</SortingGroupingXml>
            <UserViewType>Regular or SpecialHomePanel</UserViewType>
            <IsFavorite>boolean</IsFavorite>
          </UserView>
          <UserView>
            <Id>int</Id>
            <Version>int</Version>
            <ProjectId>int</ProjectId>
            <OwnerId>int</OwnerId>
            <IsPublic>boolean</IsPublic>
            <IsTemporary>boolean</IsTemporary>
            <Name>string</Name>
            <Description>string</Description>
            <Color>string</Color>
            <SortingGroupingXml>string</SortingGroupingXml>
            <UserViewType>Regular or SpecialHomePanel</UserViewType>
            <IsFavorite>boolean</IsFavorite>
          </UserView>
        </UserViews>
        <RFSWrapper>
          <DefectFields>
            <RFSField xsi:nil="true" />
            <RFSField xsi:nil="true" />
          </DefectFields>
          <RequirementFields>
            <RFSField xsi:nil="true" />
            <RFSField xsi:nil="true" />
          </RequirementFields>
          <TestCaseFields>
            <RFSField xsi:nil="true" />
            <RFSField xsi:nil="true" />
          </TestCaseFields>
          <TestScenarioFields>
            <RFSField xsi:nil="true" />
            <RFSField xsi:nil="true" />
          </TestScenarioFields>
        </RFSWrapper>
        <CompleteProjectTemplate>
          <DefectTemplate>
            <StatusFields xsi:nil="true" />
            <PriorityFields xsi:nil="true" />
            <SignificanceFields xsi:nil="true" />
          </DefectTemplate>
          <RequirementTemplate>
            <PriorityFieldValueSet xsi:nil="true" />
            <RequirementTypeFieldValueSet xsi:nil="true" />
            <SignificanceFieldValueSet xsi:nil="true" />
            <StatusFieldValueSet xsi:nil="true" />
          </RequirementTemplate>
          <TestCaseTemplate>
            <PriorityFieldValueSet xsi:nil="true" />
            <TestLevelFieldValueSet xsi:nil="true" />
            <TestTypeFieldValueSet xsi:nil="true" />
            <SignificanceFieldValueSet xsi:nil="true" />
            <StatusFieldValueSet xsi:nil="true" />
          </TestCaseTemplate>
          <TestScenarioTemplate>
            <PriorityFieldValueSet xsi:nil="true" />
            <TypeFieldValueSet xsi:nil="true" />
            <SignificanceFieldValueSet xsi:nil="true" />
            <StatusFieldValueSet xsi:nil="true" />
          </TestScenarioTemplate>
        </CompleteProjectTemplate>
        <ProjectFolderTemplates>
          <ProjectFolderTemplate>
            <FolderId>int</FolderId>
            <Template xsi:nil="true" />
          </ProjectFolderTemplate>
          <ProjectFolderTemplate>
            <FolderId>int</FolderId>
            <Template xsi:nil="true" />
          </ProjectFolderTemplate>
        </ProjectFolderTemplates>
        <ProjectAssignments>
          <ProjectAssignment>
            <FolderId>int</FolderId>
            <Permissions xsi:nil="true" />
            <ProjectId>int</ProjectId>
          </ProjectAssignment>
          <ProjectAssignment>
            <FolderId>int</FolderId>
            <Permissions xsi:nil="true" />
            <ProjectId>int</ProjectId>
          </ProjectAssignment>
        </ProjectAssignments>
      </GetProjectInfoResult>
    </GetProjectInfoResponse>
  </soap12:Body>
</soap12:Envelope>