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:
[ "8f701fde-de0a-4673-bc4a-650b19371f35", "a5981fdd-702c-4273-ae7a-4ffa74b29b1e" ]
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>8f701fde-de0a-4673-bc4a-650b19371f35</guid> <guid>a5981fdd-702c-4273-ae7a-4ffa74b29b1e</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": "2db2d513-91d0-4c80-a214-805739e5dad0",
"MobileNumber": "sample string 2",
"ICCID": "sample string 3",
"ResellerId": "2d41f248-8410-4073-bb6e-52db90f8d6d1",
"TariffId": "a9ac1b19-f216-48a9-8700-0c0be914bf15",
"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>2d41f248-8410-4073-bb6e-52db90f8d6d1</ResellerId> <SimId>2db2d513-91d0-4c80-a214-805739e5dad0</SimId> <TariffId>a9ac1b19-f216-48a9-8700-0c0be914bf15</TariffId> </ApnConfigModel>