insertAssociation
This method allows performing:
- The association between a Kanban task and a Workflow instance.
The user that authenticates themselves in this integration will be the creator of the events in the history of the related objects
To insert each of these items, it is necessary to follow the standard documented below.
Java class | |
---|---|
Request | web\wwwroot\ws\java\task\InsertAssociationRequestType.java |
Return | web\wwwroot\ws\java\task\InsertAssociationResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
Identification | X | SoftExpert Kanban task ID #. |
Association Type | X | Association type, one of the three numbers in the options below: 1 - SoftExpert Workflow. |
AssociationId | X | ID # of the instance of the object related to the chosen association type. |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:task">
<soapenv:Header/>
<soapenv:Body>
<urn:insertAssociation>
<!--You may enter the following 3 items in any order-->
<urn:Identification>?</urn:Identification>
<urn:AssociationType>?</urn:AssociationType>
<urn:AssociationId>?</urn:AssociationId>
</urn:insertAssociation>
</soapenv:Body>
</soapenv:Envelope>
Return:
ID # | Description |
---|---|
Status | SUCCESS: Success, the record association occurred correctly FAILURE: Failure, the record association was not performed |
Detail | SUCCESS: Item ID # associated. FAILURE: Message indicating the reason for the failure. |