openapi: 3.0.0 info: title: SAP API version: 1.0.0 servers: - url: http://localhost:8080 paths: /rfc/BAPI_ACTIVITY_GETDETAIL: post: tags: - BEACTIVITY summary: Read diagram operationId: /rfc/BAPI_ACTIVITY_GETDETAIL requestBody: content: application/json: schema: properties: ACTIVITYID: type: string format: byte description: Activity ID ADDON: type: string maxLength: 15 description: Industry DIAVARID: type: string maxLength: 20 description: Flavors LANGUAGE: type: string default: SY-LANGU maxLength: 1 description: Language key LANGUAGEISO: type: string maxLength: 2 description: Language according to ISO 639 LOCKDIAVAR: type: string maxLength: 1 description: Lock diagram variant LOCKOCCDIAVAR: type: string maxLength: 1 description: Lock occurrence diagram variant LOCKPROCDIA: type: string maxLength: 1 description: Lock diagram module OCCDIAID: type: string maxLength: 20 description: Occurrences PROCDIAID: type: string maxLength: 20 description: Diagram header data ACTIVITIES: type: array items: type: object properties: NODE_GUID: type: string format: byte description: 16 byte GUID NODE_TYPE: type: string maxLength: 4 description: Valid Node Types in Structure Repository NAME: type: string maxLength: 75 description: Explanatory text REF_TYPE: type: string maxLength: 4 description: Valid Reference Types in Structure Repository REF_OBJECT: type: string maxLength: 70 description: Referenced object for node DEVCLASS: type: string maxLength: 30 description: Package ONLINE: type: string maxLength: 1 description: 'Processing type: online enumValues: ""=Attribute does not apply,X=Attribute applies' enum: - '' - X BATCH: type: string maxLength: 1 description: 'Processing type: background enumValues: ""=Attribute does not apply,X=Attribute applies' enum: - '' - X AUTOMATIC: type: string maxLength: 1 description: 'Processing type: automatic enumValues: ""=Attribute does not apply,X=Attribute applies' enum: - '' - X MANUAL: type: string maxLength: 1 description: 'Processing type: manual enumValues: ""=Attribute does not apply,X=Attribute applies' enum: - '' - X OPTIONAL: type: string maxLength: 1 description: 'Functional use: optional function enumValues: ""=Attribute does not apply,X=Attribute applies' enum: - '' - X MODEL_ONLY: type: string maxLength: 1 description: 'Modeling function enumValues: ""=Attribute does not apply,X=Attribute applies' enum: - '' - X HIER_ONLY: type: string maxLength: 1 description: 'Data element for Flag - Any use enumValues: ""=Attribute does not apply,X=Attribute applies' enum: - '' - X STATE: type: string maxLength: 2 description: 'Modeling status enumValues: 01=In Process,02=Locked,""=Released' enum: - '01' - '02' - '' APP_COMP: type: string maxLength: 20 description: Application Component PROC_COMP: type: string maxLength: 20 description: Object definition OCC_ACTIVE: type: string maxLength: 1 description: 'Data element for Flag - Any use enumValues: ""=Attribute does not apply,X=Attribute applies' enum: - '' - X VAR_ACTIVE: type: string maxLength: 1 description: 'Data element for Flag - Any use enumValues: ""=Attribute does not apply,X=Attribute applies' enum: - '' - X HAS_DIA: type: string maxLength: 1 description: 'Data element for Flag - Any use enumValues: ""=Attribute does not apply,X=Attribute applies' enum: - '' - X DIAVARACTIVENODES: type: array items: type: object properties: ID: type: string maxLength: 20 description: Variant NODE_ID: type: string maxLength: 10 description: Node ID SELECTED: type: string maxLength: 1 description: 'Selected explicitly enumValues: X=Selected,""=Deselected' enum: - X - '' FIX: type: string maxLength: 1 description: 'Template value cannot be changed enumValues: X=Fixed,""=Changeable' enum: - X - '' OCCDIAVARACTIVENODES: type: array items: type: object properties: ID: type: string maxLength: 20 description: Variant NODE_ID: type: string maxLength: 10 description: Node ID SELECTED: type: string maxLength: 1 description: 'Selected explicitly enumValues: X=Selected,""=Deselected' enum: - X - '' FIX: type: string maxLength: 1 description: 'Template value cannot be changed enumValues: X=Fixed,""=Changeable' enum: - X - '' PROCDIALINES: type: array items: type: object properties: ID: type: string maxLength: 20 description: Parent object ID LINE_ID: type: string maxLength: 10 description: Link ID LINE_TYPE: type: integer format: int64 description: 'Link type enumValues: 101=Assigned 1:1,044=Function creates event,042=Assigned 1:n,116=Function leads to linking operator,050=Is output for function,297=OrgUnit communicates with OrgUnit,048=Event is evaluated by linking operator,117=Linking operator leads to event,049=Is input for function,051=Assigned m:n,054=Operator links operator,166=System OrgUnit is assigned to function,899=Edge (line) in value chain,043=Event/linking operator activates function,001=Transaction Assignment' enum: - '101' - '044' - '042' - '116' - '050' - '297' - '048' - '117' - '049' - '051' - '054' - '166' - '899' - '043' - '001' PRED_NODE: type: string maxLength: 10 description: Preceding node SUCC_NODE: type: string maxLength: 10 description: Subsequent Node PROCDIANODES: type: array items: type: object properties: ID: type: string maxLength: 20 description: Parent object ID NODE_ID: type: string maxLength: 10 description: Node ID NODE_TYPE: type: string maxLength: 2 description: 'Node type enumValues: GR=Group,NT=Entity,SP=Scenario process path,WM=Message flow,CO=OR-operator,BA=Enterprise area,CA=AND-operator,HF=Application Component,SC=Scenario process,AC=Activity,FS=Process,OS=System organizational unit,UO=BOR object,FU=Function,TO=Organizational unit,FP=Process path,NU=Output entity,FM=Main process,PM=Message type,EV=Event,GV=Global variant,CX=EXCLUSIVE OR-operator,NI=Input entity' enum: - GR - NT - SP - WM - CO - BA - CA - HF - SC - AC - FS - OS - UO - FU - TO - FP - NU - FM - PM - EV - GV - CX - NI OBJ_DEF: type: string maxLength: 20 description: Object definition ACTIVITY: type: string maxLength: 32 description: Unique ID - 32 characters X_POSITION: type: integer format: int64 description: Varchart X position Y_POSITION: type: integer format: int64 description: Varchart Y position OPTIONAL: type: string maxLength: 1 description: 'Functional use: optional function enumValues: ""=Attribute does not apply,X=Attribute applies' enum: - '' - X PROCESSEVENTS: type: array items: type: object properties: ID: type: string maxLength: 20 description: Event ID GUID: type: string format: byte description: 16 byte GUID DEVCLASS: type: string maxLength: 30 description: Package LANGU: type: string maxLength: 1 description: Language Key LANGU_ISO: type: string maxLength: 2 description: Language according to ISO 639 NAME: type: string maxLength: 100 description: Name required: - ACTIVITYID responses: '200': description: OK content: application/json: schema: properties: ACTIVITYNAME: type: string maxLength: 75 description: Activity Name DIAVARHEADER: type: object properties: ID: type: string maxLength: 20 description: Variant GUID: type: string format: byte description: 16 byte GUID DEVCLASS: type: string maxLength: 30 description: Package HSTRUCT_ID: type: string format: byte description: 16 byte GUID HNODE_ID: type: string format: byte description: 16 byte GUID COMP_DIA: type: string maxLength: 20 description: Parent object ID PROC_VAR: type: string maxLength: 20 description: Variant STATE: type: string maxLength: 2 description: 'Modeling status enumValues: 01=In Process,02=Locked,""=Released' enum: - '01' - '02' - '' OCCDIAVARHEADER: type: object properties: ID: type: string maxLength: 20 description: Variant GUID: type: string format: byte description: 16 byte GUID DEVCLASS: type: string maxLength: 30 description: Package HSTRUCT_ID: type: string format: byte description: 16 byte GUID HNODE_ID: type: string format: byte description: 16 byte GUID COMP_DIA: type: string maxLength: 20 description: Parent object ID PROC_VAR: type: string maxLength: 20 description: Variant STATE: type: string maxLength: 2 description: 'Modeling status enumValues: 01=In Process,02=Locked,""=Released' enum: - '01' - '02' - '' PROCDIAHEADER: type: object properties: ID: type: string maxLength: 20 description: Parent object ID GUID: type: string format: byte description: 16 byte GUID DEVCLASS: type: string maxLength: 30 description: Package HSTRUCT_ID: type: string format: byte description: 16 byte GUID HNODE_ID: type: string format: byte description: 16 byte GUID STATE: type: string maxLength: 2 description: 'Modeling status enumValues: 01=In Process,02=Locked,""=Released' enum: - '01' - '02' - '' PROC_COMP: type: string maxLength: 20 description: Object definition ACTIVITIES: type: array items: type: object properties: NODE_GUID: type: string format: byte description: 16 byte GUID NODE_TYPE: type: string maxLength: 4 description: Valid Node Types in Structure Repository NAME: type: string maxLength: 75 description: Explanatory text REF_TYPE: type: string maxLength: 4 description: Valid Reference Types in Structure Repository REF_OBJECT: type: string maxLength: 70 description: Referenced object for node DEVCLASS: type: string maxLength: 30 description: Package ONLINE: type: string maxLength: 1 description: 'Processing type: online enumValues: ""=Attribute does not apply,X=Attribute applies' enum: - '' - X BATCH: type: string maxLength: 1 description: 'Processing type: background enumValues: ""=Attribute does not apply,X=Attribute applies' enum: - '' - X AUTOMATIC: type: string maxLength: 1 description: 'Processing type: automatic enumValues: ""=Attribute does not apply,X=Attribute applies' enum: - '' - X MANUAL: type: string maxLength: 1 description: 'Processing type: manual enumValues: ""=Attribute does not apply,X=Attribute applies' enum: - '' - X OPTIONAL: type: string maxLength: 1 description: 'Functional use: optional function enumValues: ""=Attribute does not apply,X=Attribute applies' enum: - '' - X MODEL_ONLY: type: string maxLength: 1 description: 'Modeling function enumValues: ""=Attribute does not apply,X=Attribute applies' enum: - '' - X HIER_ONLY: type: string maxLength: 1 description: 'Data element for Flag - Any use enumValues: ""=Attribute does not apply,X=Attribute applies' enum: - '' - X STATE: type: string maxLength: 2 description: 'Modeling status enumValues: 01=In Process,02=Locked,""=Released' enum: - '01' - '02' - '' APP_COMP: type: string maxLength: 20 description: Application Component PROC_COMP: type: string maxLength: 20 description: Object definition OCC_ACTIVE: type: string maxLength: 1 description: 'Data element for Flag - Any use enumValues: ""=Attribute does not apply,X=Attribute applies' enum: - '' - X VAR_ACTIVE: type: string maxLength: 1 description: 'Data element for Flag - Any use enumValues: ""=Attribute does not apply,X=Attribute applies' enum: - '' - X HAS_DIA: type: string maxLength: 1 description: 'Data element for Flag - Any use enumValues: ""=Attribute does not apply,X=Attribute applies' enum: - '' - X DIAVARACTIVENODES: type: array items: type: object properties: ID: type: string maxLength: 20 description: Variant NODE_ID: type: string maxLength: 10 description: Node ID SELECTED: type: string maxLength: 1 description: 'Selected explicitly enumValues: X=Selected,""=Deselected' enum: - X - '' FIX: type: string maxLength: 1 description: 'Template value cannot be changed enumValues: X=Fixed,""=Changeable' enum: - X - '' OCCDIAVARACTIVENODES: type: array items: type: object properties: ID: type: string maxLength: 20 description: Variant NODE_ID: type: string maxLength: 10 description: Node ID SELECTED: type: string maxLength: 1 description: 'Selected explicitly enumValues: X=Selected,""=Deselected' enum: - X - '' FIX: type: string maxLength: 1 description: 'Template value cannot be changed enumValues: X=Fixed,""=Changeable' enum: - X - '' PROCDIALINES: type: array items: type: object properties: ID: type: string maxLength: 20 description: Parent object ID LINE_ID: type: string maxLength: 10 description: Link ID LINE_TYPE: type: integer format: int64 description: 'Link type enumValues: 101=Assigned 1:1,044=Function creates event,042=Assigned 1:n,116=Function leads to linking operator,050=Is output for function,297=OrgUnit communicates with OrgUnit,048=Event is evaluated by linking operator,117=Linking operator leads to event,049=Is input for function,051=Assigned m:n,054=Operator links operator,166=System OrgUnit is assigned to function,899=Edge (line) in value chain,043=Event/linking operator activates function,001=Transaction Assignment' enum: - '101' - '044' - '042' - '116' - '050' - '297' - '048' - '117' - '049' - '051' - '054' - '166' - '899' - '043' - '001' PRED_NODE: type: string maxLength: 10 description: Preceding node SUCC_NODE: type: string maxLength: 10 description: Subsequent Node PROCDIANODES: type: array items: type: object properties: ID: type: string maxLength: 20 description: Parent object ID NODE_ID: type: string maxLength: 10 description: Node ID NODE_TYPE: type: string maxLength: 2 description: 'Node type enumValues: GR=Group,NT=Entity,SP=Scenario process path,WM=Message flow,CO=OR-operator,BA=Enterprise area,CA=AND-operator,HF=Application Component,SC=Scenario process,AC=Activity,FS=Process,OS=System organizational unit,UO=BOR object,FU=Function,TO=Organizational unit,FP=Process path,NU=Output entity,FM=Main process,PM=Message type,EV=Event,GV=Global variant,CX=EXCLUSIVE OR-operator,NI=Input entity' enum: - GR - NT - SP - WM - CO - BA - CA - HF - SC - AC - FS - OS - UO - FU - TO - FP - NU - FM - PM - EV - GV - CX - NI OBJ_DEF: type: string maxLength: 20 description: Object definition ACTIVITY: type: string maxLength: 32 description: Unique ID - 32 characters X_POSITION: type: integer format: int64 description: Varchart X position Y_POSITION: type: integer format: int64 description: Varchart Y position OPTIONAL: type: string maxLength: 1 description: 'Functional use: optional function enumValues: ""=Attribute does not apply,X=Attribute applies' enum: - '' - X PROCESSEVENTS: type: array items: type: object properties: ID: type: string maxLength: 20 description: Event ID GUID: type: string format: byte description: 16 byte GUID DEVCLASS: type: string maxLength: 30 description: Package LANGU: type: string maxLength: 1 description: Language Key LANGU_ISO: type: string maxLength: 2 description: Language according to ISO 639 NAME: type: string maxLength: 100 description: Name RETURN: type: array items: type: object properties: TYPE: type: string maxLength: 1 description: 'Message type: S Success, E Error, W Warning, I Info, A Abort' ID: type: string maxLength: 20 description: Message Class NUMBER: type: integer format: int64 description: Message Number MESSAGE: type: string maxLength: 220 description: Message Text LOG_NO: type: string maxLength: 20 description: 'Application log: log number' LOG_MSG_NO: type: integer format: int64 description: 'Application log: Internal message serial number' MESSAGE_V1: type: string maxLength: 50 description: Message Variable MESSAGE_V2: type: string maxLength: 50 description: Message Variable MESSAGE_V3: type: string maxLength: 50 description: Message Variable MESSAGE_V4: type: string maxLength: 50 description: Message Variable PARAMETER: type: string maxLength: 32 description: Parameter Name ROW: type: integer format: int32 description: Lines in parameter FIELD: type: string maxLength: 30 description: Field in parameter SYSTEM: type: string maxLength: 10 description: Logical system from which message originates '400': description: Bad request. 5XX: description: Unexpected error.