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:
[ "740add64-dc04-4985-9a9c-6f458f5096e9", "dee9e36f-afab-40a7-91bc-b6c0b3f8bb90" ]
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>740add64-dc04-4985-9a9c-6f458f5096e9</guid> <guid>dee9e36f-afab-40a7-91bc-b6c0b3f8bb90</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": "dc277c47-4fff-4730-a713-3115be0fbd60", "MobileNumber": "sample string 2", "ICCID": "sample string 3", "ResellerId": "0a190fcc-8d70-4353-8648-87b09bc3f4cd", "TariffId": "7e14828f-befe-4b5e-8863-3ba5f8c35c48", "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>0a190fcc-8d70-4353-8648-87b09bc3f4cd</ResellerId> <SimId>dc277c47-4fff-4730-a713-3115be0fbd60</SimId> <TariffId>7e14828f-befe-4b5e-8863-3ba5f8c35c48</TariffId> </ApnConfigModel>