cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
YEEDEN
Frequent Visitor

seeking possibility of response flow approval with http post

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"
}
}
}
}
}
}===

0 REPLIES 0

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (4,024)