Skip to content

Latest commit

 

History

History
61 lines (49 loc) · 1.05 KB

api_get_workflow_schema.md

File metadata and controls

61 lines (49 loc) · 1.05 KB

Get Workflow Schema

With the workflows ID we can call this method that delivers the workflow item including all the fields and rules. The fields and rules are under root.workflow.data.

This request must be authenticated.

Query

GET /api/document/3e6ece3d-6b5d-4e79-aea0-0c06e14935cb/allAtOnce/schema

Response

Success

Status

200

Body

{
   "workflow":{
      "owner":"5ef29def-0a72-4bdb-ae69-607d13f00e9c",
      "groupAndOthers":{

      },
      "id":"3e6ece3d-6b5d-4e79-aea0-0c06e14935cb",
      "name":"hi",
      "detail":"123",
      "updated":"2019-08-17T15:11:55.383791641+02:00",
      "created":"2019-08-06T14:16:17.749839744+02:00",
      "price":0,
      "ownerEthAddress":"",
      "deactivated":false,
      "data":{
         "AutoSteer":{
            "required":false
         },
         "CHFXES":{
            "required":true
         },
         "ETD":{
            "datePattern":"dd.MM.yyyy",
            "required":true
         }      
      }
   }
}

Error

401
404