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:
[ "854ba7ba-ff5d-43c7-b9e1-bcc698d14a6d", "6309c96e-aa2f-4f9c-9608-d6e9b2f54f46" ]
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>854ba7ba-ff5d-43c7-b9e1-bcc698d14a6d</guid> <guid>6309c96e-aa2f-4f9c-9608-d6e9b2f54f46</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": "0d5edb34-7e9f-4a67-8452-04bbf8e10139",
"MobileNumber": "sample string 2",
"ICCID": "sample string 3",
"ResellerId": "a6513827-6d7a-4770-b8c0-f1ad8781d7ff",
"TariffId": "67a0cc28-36a5-4936-a2d1-7b69dc0705cf",
"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>a6513827-6d7a-4770-b8c0-f1ad8781d7ff</ResellerId> <SimId>0d5edb34-7e9f-4a67-8452-04bbf8e10139</SimId> <TariffId>67a0cc28-36a5-4936-a2d1-7b69dc0705cf</TariffId> </ApnConfigModel>