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:
[ "c06eca67-3d48-4b8f-a434-e0d32c596bf6", "52e6654c-71b2-407d-a986-baed44149862" ]
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>c06eca67-3d48-4b8f-a434-e0d32c596bf6</guid> <guid>52e6654c-71b2-407d-a986-baed44149862</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": "b08a602c-aba0-4228-b70d-b4416ad8f642",
"MobileNumber": "sample string 2",
"ICCID": "sample string 3",
"ResellerId": "d5328f37-6fd7-4672-b3ef-f7803a266aa5",
"TariffId": "b7463da7-f49b-46ca-91e3-f27b0a682a1a",
"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>d5328f37-6fd7-4672-b3ef-f7803a266aa5</ResellerId> <SimId>b08a602c-aba0-4228-b70d-b4416ad8f642</SimId> <TariffId>b7463da7-f49b-46ca-91e3-f27b0a682a1a</TariffId> </ApnConfigModel>