Dear all,
i have a question.
Can we response Flow Approval request from HTTP Post ?
how i come in this idea as ,i saw the post of below link.
Extending the swagger file for the Approval custom connector
https://www.youtube.com/watch?v=It3rOlzu94Q&t=829s from Daniel Laskewitz
https://github.com/Laskewitz/Approvals/
connecter code as below :
==="post": {
"summary": "Approve or Reject Approval",
"description": "Approve or Reject Approval",
"operationId": "SetApprovalResponse",
"parameters": [
{
"name": "environment_name",
"in": "path",
"required": true,
"type": "string",
"default": "72e87f56-e215-43d4-8883-5cf7ff5550f5"
},
{
"name": "approval_name",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "api-version",
"in": "query",
"required": false,
"type": "string",
"default": "2016-11-01"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"type": "object",
"properties": {
"properties": {
"type": "object",
"properties": {
"response": {
"type": "string",
"description": "response"
},
"comments": {
"type": "string",
"description": "comments"
}
},
"description": "properties"
}
}
}
}
],
"responses": {
"default": {
"description": "default",
"schema": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "name"
},
"id": {
"type": "string",
"description": "id"
},
"type": {
"type": "string",
"description": "type"
},
"properties": {
"type": "object",
"properties": {
"stage": {
"type": "string",
"description": "stage"
},
"status": {
"type": "string",
"description": "status"
},
"creationDate": {
"type": "string",
"description": "creationDate"
},
"owner": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id"
},
"type": {
"type": "string",
"description": "type"
},
"tenantId": {
"type": "string",
"description": "tenantId"
}
},
"description": "owner"
},
"response": {
"type": "string",
"description": "response"
}
},
"description": "properties"
}
}
}
}
}
}===
User | Count |
---|---|
24 | |
15 | |
14 | |
10 | |
10 |
User | Count |
---|---|
44 | |
29 | |
29 | |
23 | |
22 |