Skip to content

Instantly share code, notes, and snippets.

@slamb2k
Created March 15, 2017 02:15
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 slamb2k/d7f4b0085c67e273c3077741d57cf500 to your computer and use it in GitHub Desktop.
Save slamb2k/d7f4b0085c67e273c3077741d57cf500 to your computer and use it in GitHub Desktop.
InsertRow.json
"Insert_row": {
"inputs": {
"body": {
"HappinessScore": "@{body('CleanGarbage').avg}"
},
"host": {
"api": {
"runtimeUrl": "https://logic-apis-australiaeast.azure-apim.net/apim/sql"
},
"connection": {
"name": "@parameters('$connections')['sql']['connectionId']"
}
},
"method": "post",
"path": "/datasets/default/tables/@{encodeURIComponent(encodeURIComponent('[dbo].[Happiness]'))}/items"
},
"runAfter": {
"CleanGarbage": [
"Succeeded"
]
},
"type": "ApiConnection"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment