Skip to content

Instantly share code, notes, and snippets.

@goravseth
Created May 25, 2020 21:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goravseth/007edfac26e56745db2e5d6232af3ad8 to your computer and use it in GitHub Desktop.
Save goravseth/007edfac26e56745db2e5d6232af3ad8 to your computer and use it in GitHub Desktop.
{
"swagger": "2.0",
"info": {
"title": "Sample API",
"description": "API description in Markdown.",
"version": "1.0.0"
},
"paths": {
"/": {
"post": {
"summary": "sends the id.",
"consumes": [
"application/json"
],
"produces":[
"application/json"
],
"parameters": [
{
"in": "body",
"name": "id",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success!"
}
}
}
}
}
}
@goravseth
Copy link
Author

goravseth commented May 25, 2020

used to send an ID from salesforce visual workflow to microsoft power automate.
requires rolling a json object in flow with the record ID, and using the following gist in msft power automate so it can get the ID
https://gist.github.com/goravseth/b85d75eec30da0d9aaf6e2913c443472

note that this schema is very basic, only has a success response, etc. will update that as i am able.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment