Skip to content

Commit

Permalink
Update UseCases.md
Browse files Browse the repository at this point in the history
  • Loading branch information
EitanBlumin authored Nov 9, 2018
1 parent e71a1c2 commit bc9340c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions UseCases.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
See below several different use cases for the clr_http_request function:


## Zendesk
## Zendesk API

The example script below uses clr_http_request to look for a ticket of a given requester with a given subject.
If such a ticket doesn't exist, create a new one. Otherwise, post a comment to the existing ticket.
Expand Down Expand Up @@ -86,7 +86,7 @@ BEGIN
END
```

## Slack
## Slack Workspace App API

The following example demonstrate how to use clr_http_request with a Slack Workspace bot:

Expand Down Expand Up @@ -279,3 +279,6 @@ SELECT
A.[row].value('@avgPosition', 'FLOAT') [average_position]
FROM @report_xml.nodes('/report/table/row') A ([row]);
```

For more info:
http://www.sqlservercentral.com/articles/SQLCLR/177834/

0 comments on commit bc9340c

Please sign in to comment.