LinkSubtask

Description

This service links one item to another as a subtask.

Arguments

Argument Type Description
auth (optional) Auth The Auth type supplies credentials and optionally, a host name for licensing. The userId and password can be specified with HTTP BASIC or WS-SECURITY instead.
parentItem (optional) ItemIdentifier The parent item of the subtask.
childItem (optional) ItemIdentifier The child item that will become the subtask.
options Options Holds name value pairing for future arguments.

Response

An empty response is returned: <ae:LinkSubtaskResponse/>.

Usage

Use this call to create a subtask relationship between primary items.

Faults

XML

The following XML is a snippet of the payload that is sent with LinkSubtask.

<urn:LinkSubtask>
    <urn:auth>
        <urn:userId>admin</urn:userId>
        <urn:password></urn:password>
        <urn:hostname></urn:hostname>
        <urn:loginAsUserId></urn:loginAsUserId>
    </urn:auth>
    <urn:parentItem>
        <urn:displayName></urn:displayName>
        <urn:id>109</urn:id>
        <urn:uuid></urn:uuid>
        <urn:tableId></urn:tableId>
        <urn:tableIdItemId>1000:109</urn:tableIdItemId>
        <urn:issueId></urn:issueId>
    </urn:parentItem>
    <urn:childItem>
        <urn:displayName></urn:displayName>
        <urn:id>79</urn:id>
        <urn:uuid></urn:uuid>
        <urn:tableId></urn:tableId>
        <urn:tableIdItemId>1000:79</urn:tableIdItemId>
        <urn:issueId></urn:issueId>
    </urn:childItem>
</urn:LinkSubtask>