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:
[ "efacba00-2691-4344-949b-e6f7215a88b3", "91b1df74-7c5b-4b3a-8f8b-6df95bf49d37" ]
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>efacba00-2691-4344-949b-e6f7215a88b3</guid> <guid>91b1df74-7c5b-4b3a-8f8b-6df95bf49d37</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": "b877f5b7-a3d9-43c5-b843-431c289b72c6",
"MobileNumber": "sample string 2",
"ICCID": "sample string 3",
"ResellerId": "eeb6a3b9-87d3-42e1-b3ed-da4af8ec3b3e",
"TariffId": "8cccf44b-ae10-4ec4-be0b-c9e9545b73df",
"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>eeb6a3b9-87d3-42e1-b3ed-da4af8ec3b3e</ResellerId> <SimId>b877f5b7-a3d9-43c5-b843-431c289b72c6</SimId> <TariffId>8cccf44b-ae10-4ec4-be0b-c9e9545b73df</TariffId> </ApnConfigModel>