IBM Business Process Manager, Version 8.5.5
GET /rest/bpm/wle/v1/epv/{epvId}[?snapshotId={string}][&branchId={string}]
Name | Value Type | Description |
---|---|---|
snapshotId | string | The ID of the snapshot associated with the exposed process value. Either 'snapshotId' or 'branchId' must be specified.
|
branchId | string | The ID of the branch associated with the exposed process value. Either 'snapshotId' or 'branchId' must be specified.
|
None
The default content type is application/json.
{ "status":"200", "data":{ "name":{"type": "string", "description": "The name of the exposed process variable."}, "desc":{"type": "string", "description": "The description of the exposed process variable."}, "participantName":{"type": "string", "description": "The name of the participant group to which the exposed process variable is exposed."}, "participantId":{"type": "string", "description": "The ID of the participant group to which the exposed process variable is exposed."}, "participantRefSnapshotId":{"type": "string", "description": "The ID of the snapshot associated with the participant group. Either 'snapshotId' or 'branchId' must be specified if participantId is not null."}, "participantRefBranchIdId":{"type": "string", "description": "The ID of the branch associated with the participant group. Either 'snapshotId' or 'branchId' must be specified if participantId is not null."}, "vars": [ { "name":{"type": "string", "description": "The external name of the variable."}, "extDesc":{"type": "string", "description": "The external description of the variable."}, "varname":{"type": "string", "description": "The variable name."}, "defaultValue":{"type": "string", "description": "The default value."}, "isChgActiveProc":{"type": "boolean", "description": "Indicates whether In-Progress Tasks use a new value."}, "typeClass":{"type": "string", "description": "The name of the type class for the variable."}, "typeClassRef":{"type": "string", "description": "The reference ID of the type class if it is a complex type. It is null when typeClass is a primitive type."}, "typeClassSnapshotId":{"type": "string", "description": "The ID of the snapshot associated with the type class. Either 'snapshotId' or 'branchId' must be specified when typeClassRef is not null."}, "typeClassBranchId":{"type": "string", "description": "The ID of the branch associated with the type class. Either 'snapshotId' or 'branchId' must be specified when typeClassRef is not null."} "isChgActiveProc":false, } ] } }
{ "status":"200", "data":{ "desc":"EPV desc", "participantName":"GeneralManagers", "participantId":"24.eb30156e-52c8-4ec5-9be6-02290d02f827", "participantRefSnapshotId":"2064.8b2561f3-5ea4-437f-bd61-3d8c415b12ac", "vars":[{ "extDesc":"external description for varName2", "typeClass":"String", "typeClassSnapshotId":null, "typeClassBranchId":null, "varname":"varName2", "defaultValue":"\"USA\"", "isChgActiveProc":false, "name":"address" }, { "extDesc":"external description for varName1", "typeClass":"String", "typeClassSnapshotId":null, "typeClassBranchId":null, "varname":"varName1", "defaultValue":"\"john\"", "isChgActiveProc":true, "name":"name" }, { "extDesc":"external description for var3", "typeClass":"Position", "typeClassRef":"12.0ea493a3-08b7-4456-84be-443c8d41bc8b", "typeClassSnapshotId":"2064.8b2561f3-5ea4-437f-bd61-3d8c415b12ac", "typeClassBranchId":null, "varname":"var3", "isChgActiveProc":false, "name":"position" } ], "name":"EPV1" } }
<?xml version="1.0" encoding="UTF-8"?> <schema targetNamespace="http://rest.bpm.ibm.com/v1/data/epv" elementFormDefault="unqualified" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://rest.bpm.ibm.com/v1/data/epv" xmlns:pref="http://rest.bpm.ibm.com/v1/data/root" xmlns:cmn="http://rest.bpm.ibm.com/v1/data/common"> <import schemaLocation="Common.xsd" namespace="http://rest.bpm.ibm.com/v1/data/common"/> <import schemaLocation="BPMRestData.xsd" namespace="http://rest.bpm.ibm.com/v1/data/root"/> <complexType name="RestEpvVar"> <complexContent> <extension base="pref:NamedElement"> <sequence> <element name="extDesc" type="string" /> <element name="plainExtDesc" type="string" /> <element name="typeClass" type="string" /> <element name="typeClassRef" type="string" /> <choice> <element name="typeClassSnapshotId" type="string" /> <element name="typeClassBranchId" type="string" /> </choice> <element name="varname" type="string" /> <element name="defaultValue" type="string" /> <element name="isChgActiveProc" type="boolean" /> </sequence> </extension> </complexContent> </complexType> <complexType name="RestEpv"> <complexContent> <extension base="pref:NamedElement"> <sequence> <element name="envId" type="string" /> <element name="desc" type="string" /> <element name="richDesc" type="string" /> <element name="extDesc" type="string" /> <element name="feedback" type="string" /> <element name="participantName" type="string" /> <element name="participantId" type="string" /> <element name="participantRefSnapshotId" type="string" /> <element name="participantRefBranchId" type="string" /> <element name="vars" type="tns:RestEpvVar" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType> </schema>
The default content type is application/json.
{ "description": "WLE Error Response", "type": "object", "properties": { "status": {"type": "string", "description": "The status of the previous API call." }, "exceptionType": {"type": "string", "description": "The classname associated with the exception." }, "errorNumber": {"type": "string", "description": "Message ID of the exception." }, "errorMessage": {"type": "string", "description": "Message text of the exception." }, "errorMessageParameters": {"type": ["string"], "optional": true, "description":"Message text parameters of the exception." }, "programmersDetails": {"type": "object", "optional": true, "description":"Additional exception details, for example, a stack trace." } } }
Code | Description |
---|---|
200 OK | Successful completion - detailed report returned.
|
400 Bad Request | The parameters are not valid or they are missing. |
404 Not Found | The resource does not exist. |
406 Not Acceptable | The requested content type or content encoding is not supported. |
500 Internal Server Error | A severe problem has occurred, programmer's details are provided. |
7.5.1
Parent Topic: Exposed Process Value Resource