api/v1/alerts/{id}/addsims
Method: POST https://simportal-api-staging.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:
[ "05f8f186-4099-4089-be03-6d96464e7161", "a64a84f3-2bd0-4bf8-92f0-05d112532823" ]
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>05f8f186-4099-4089-be03-6d96464e7161</guid> <guid>a64a84f3-2bd0-4bf8-92f0-05d112532823</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": "39b502de-3eea-40ce-8d81-3f8762329d59",
"MobileNumber": "sample string 2",
"ICCID": "sample string 3",
"ResellerId": "0367dec0-d74f-42b4-aaf0-6619bbc8a774",
"TariffId": "9063119e-a3cc-4a2b-b99a-a6e61111fa02",
"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>0367dec0-d74f-42b4-aaf0-6619bbc8a774</ResellerId> <SimId>39b502de-3eea-40ce-8d81-3f8762329d59</SimId> <TariffId>9063119e-a3cc-4a2b-b99a-a6e61111fa02</TariffId> </ApnConfigModel>