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:
[ "a7e89d6a-ffd3-4d83-8bd5-432ade3b3a72", "1519ed99-dae8-4595-9cda-70fa00ae6ee1" ]
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>a7e89d6a-ffd3-4d83-8bd5-432ade3b3a72</guid> <guid>1519ed99-dae8-4595-9cda-70fa00ae6ee1</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": "7fb9316b-158f-48a5-bcc4-76e4045f099a", "MobileNumber": "sample string 2", "ICCID": "sample string 3", "ResellerId": "366a9e1a-8da3-4a70-b08b-e90a0bbbdbd7", "TariffId": "1e568d7c-7928-431f-b2e7-f97553ab3c22", "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>366a9e1a-8da3-4a70-b08b-e90a0bbbdbd7</ResellerId> <SimId>7fb9316b-158f-48a5-bcc4-76e4045f099a</SimId> <TariffId>1e568d7c-7928-431f-b2e7-f97553ab3c22</TariffId> </ApnConfigModel>