POST api/sms/SendSmsForAdmin
Request Information
URI Parameters
None.
Body Parameters
SendSmsAdminOrWPInput| Name | Description | Type | Additional information |
|---|---|---|---|
| TaskId | globally unique identifier |
None. |
|
| OrgIdList | Collection of globally unique identifier |
None. |
|
| Content | string |
None. |
|
| ButtonId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"TaskId": "67d703dc-9a9d-4a67-94ba-5e8703b379bc",
"OrgIdList": [
"53f2e213-14bb-4943-887d-b34e297052c4",
"1721f20d-62e7-429e-8920-8f6ecdbf6fe5"
],
"Content": "sample string 2",
"ButtonId": "sample string 3"
}
application/xml, text/xml
Sample:
<SendSmsAdminOrWPInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Siyan.Lianxinqiao.Core.WorkTasks.SDto">
<ButtonId>sample string 3</ButtonId>
<Content>sample string 2</Content>
<OrgIdList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>53f2e213-14bb-4943-887d-b34e297052c4</d2p1:guid>
<d2p1:guid>1721f20d-62e7-429e-8920-8f6ecdbf6fe5</d2p1:guid>
</OrgIdList>
<TaskId>67d703dc-9a9d-4a67-94ba-5e8703b379bc</TaskId>
</SendSmsAdminOrWPInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.