api/v1/alerts/{id}/addsims
Method: POST https://developers.mobilemanager.co.uk/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:
[ "91bc0ffc-ef93-40b9-ba3b-d8c859ffb336", "ffd90c33-f67a-4213-a2d8-666977bb4f42" ]
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>91bc0ffc-ef93-40b9-ba3b-d8c859ffb336</guid> <guid>ffd90c33-f67a-4213-a2d8-666977bb4f42</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": "53343b02-dc71-4d55-a295-ceffabaa87e2",
"MobileNumber": "sample string 2",
"ICCID": "sample string 3",
"ResellerId": "b3396c7c-0650-469c-ad50-d5f8cfe0cd76",
"TariffId": "389a2ae5-5dc5-4bbc-b80f-ef908be5e9a9",
"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>b3396c7c-0650-469c-ad50-d5f8cfe0cd76</ResellerId> <SimId>53343b02-dc71-4d55-a295-ceffabaa87e2</SimId> <TariffId>389a2ae5-5dc5-4bbc-b80f-ef908be5e9a9</TariffId> </ApnConfigModel>