api/v1/alerts/{id}/addsims
Method: POST https://simportal-api.azurewebsites.net/api/v1/alerts/{id}/addsims
Summary
Associate SIMs with an alert.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The UUID / Guid of the alert |
globally unique identifier |
Required |
Body Parameters
The UUID/ Guid ID of the SIMs to associate with the alert. Max length: 100
Collection of globally unique identifierRequest Formats
application/json, text/json
Sample:
[ "82471789-ece4-4d06-a81b-49bf833011a1", "f3ccd96c-f57e-4af9-991a-42b0e6c33b19" ]
application/xml, text/xml
Sample:
<ArrayOfguid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <guid>82471789-ece4-4d06-a81b-49bf833011a1</guid> <guid>f3ccd96c-f57e-4af9-991a-42b0e6c33b19</guid> </ArrayOfguid>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpStatusCode only
ApnConfigModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SimId | globally unique identifier |
None. |
|
| MobileNumber | string |
None. |
|
| ICCID | string |
None. |
|
| ResellerId | globally unique identifier |
None. |
|
| TariffId | globally unique identifier |
None. |
|
| APNName | string |
None. |
|
| APNUsername | string |
None. |
|
| APNPassword | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"SimId": "1d797227-dd2b-4fcd-8a1f-be3587f2776c",
"MobileNumber": "sample string 2",
"ICCID": "sample string 3",
"ResellerId": "97a98321-e8f5-4544-84ed-f7f121d5d119",
"TariffId": "d8cdd391-0a37-4f68-bfc7-ec4b74fca347",
"APNName": "sample string 6",
"APNUsername": "sample string 7",
"APNPassword": "sample string 8"
}
application/xml, text/xml
Sample:
<ApnConfigModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SimPortalApi.Models.SIMs"> <APNName>sample string 6</APNName> <APNPassword>sample string 8</APNPassword> <APNUsername>sample string 7</APNUsername> <ICCID>sample string 3</ICCID> <MobileNumber>sample string 2</MobileNumber> <ResellerId>97a98321-e8f5-4544-84ed-f7f121d5d119</ResellerId> <SimId>1d797227-dd2b-4fcd-8a1f-be3587f2776c</SimId> <TariffId>d8cdd391-0a37-4f68-bfc7-ec4b74fca347</TariffId> </ApnConfigModel>