Get Relation List/Downtime

Get details of associated records/downtime records.

Request Format

POST https://{apigw-address}/work-management-cmms/v1.0/s-taskmgmtds/cmms/common/issue-relation/search

Request Parameters (URI)

Name

Location (Path/Query)

Mandatory/Optional

Data Type

Description

issueId

Query

Mandatory

String

Ticket ID

Request Parameters (Header)

Name

Mandatory/Optional

Data Type

Description

authorization

Mandatory

String

User Token information obtained from the Application Portal

Request Parameters (Body)

Name

Mandatory/Optional

Data Type

Description

issueIds

Mandatory

List of String

The list of issueId to query

issueType

Mandatory

String

Ticket type. Service Request: SR; Work Order: WO

relationIssueTypes

Mandatory

List of String

Query type. Service request: SR; Work order: WO

Response Parameters

Name

Data Type

Description

data

Data Struct

The return message. For more information about Data Struct, see Data Struct.

Data Struct

Name

Data Type

Description

DT

List of String

Associated downtime record ID list

WO

List of String

Associated work order ID list

SR

List of String

Associated service request ID list

Samples

Request Sample

url: https://{apigw-address}/work-management-cmms/v1.0/s-taskmgmtds/cmms/common/issue-relation/search
method: POST
requestBody:
{
    "issueIds":["yourIssueId"],
    "issueType":"WO",
    "relationIssueTypes":["WO"]
}

Response Sample

{
    "code": 0,
    "data": {
        "yourIssueId": {
            "DT": [],
            "WO": [
                "relatedwoID1",
                "relatedwoID2"
            ],
            "SR": []
        }
    }
}