Skip to content

Instantly share code, notes, and snippets.

@slamb2k

slamb2k/InsertRow.json Secret

Created Mar 15, 2017
Embed
What would you like to do?
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
You can’t perform that action at this time.