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:
[ "87603a59-8988-4783-a615-d6d76fd99633", "0e6b7d19-09a5-4c54-ae9c-c961013f475e" ]
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>87603a59-8988-4783-a615-d6d76fd99633</guid> <guid>0e6b7d19-09a5-4c54-ae9c-c961013f475e</guid> </ArrayOfguid>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpStatusCode only
ApnConfigModelName | 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": "6a1a4ed6-3abb-4a11-bfc6-73dc0daf1ca4", "MobileNumber": "sample string 2", "ICCID": "sample string 3", "ResellerId": "de59fde3-dab5-4f59-b472-8892f35235c3", "TariffId": "520f92c7-6402-4167-92b4-749ff850ffb5", "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>de59fde3-dab5-4f59-b472-8892f35235c3</ResellerId> <SimId>6a1a4ed6-3abb-4a11-bfc6-73dc0daf1ca4</SimId> <TariffId>520f92c7-6402-4167-92b4-749ff850ffb5</TariffId> </ApnConfigModel>