api/v1/sims/{id}/sendsms
Method: POST https://simportal-api-staging.azurewebsites.net/api/v1/sims/{id}/sendsms
Summary
Send an SMS message to a SIM
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The ID of the SIM to which an SMS message will be sent |
globally unique identifier |
Required |
Body Parameters
SMSModel contains details of the SMS body
SMSModelName | Description | Type | Additional information |
---|---|---|---|
Body | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Body": "sample string 1" }
application/xml, text/xml
Sample:
<SMSModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SimPortalApi.Models.SIMs"> <Body>sample string 1</Body> </SMSModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
A success message if the SMS was sent successfully
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.