POST api/Slack/Post
Slack API makes a POST call to StudyTree server whenever a SLACK USER (aka StudyTree team) sends a message to a channel (channel name contains the StudyTree Person who we were trying to message
Request Information
URI Parameters
None.
Body Parameters
PostSlackEventMessageChannelsDtoName | Description | Type | Additional information |
---|---|---|---|
token | string |
None. |
|
challenge | string |
None. |
|
type | string |
None. |
|
event | SlackEventMessageDto |
None. |
Request Formats
application/json, text/json
Sample:
{ "token": "sample string 1", "challenge": "sample string 2", "type": "sample string 3", "event": null }
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |