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:
[ "e0dc3270-71e2-4279-ae0c-3ebf0a90b6b5", "caa72a42-2cfa-410c-bb19-e4df245e99d2" ]
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>e0dc3270-71e2-4279-ae0c-3ebf0a90b6b5</guid> <guid>caa72a42-2cfa-410c-bb19-e4df245e99d2</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": "77d21ee5-1aca-467b-857a-d4f2ea3817e2",
"MobileNumber": "sample string 2",
"ICCID": "sample string 3",
"ResellerId": "43b49aaa-d556-442c-a6ae-b1156dc458c9",
"TariffId": "0bf97e57-d047-4f8d-b342-4c0e27022563",
"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>43b49aaa-d556-442c-a6ae-b1156dc458c9</ResellerId> <SimId>77d21ee5-1aca-467b-857a-d4f2ea3817e2</SimId> <TariffId>0bf97e57-d047-4f8d-b342-4c0e27022563</TariffId> </ApnConfigModel>