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

NameDescriptionTypeAdditional 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 identifier

Request Formats

application/json, text/json

Sample:
[
  "13be5537-905e-4d95-b3b6-1192b516e18a",
  "726ab6b3-b562-4cfe-a603-6687d65122b4"
]

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>13be5537-905e-4d95-b3b6-1192b516e18a</guid>
  <guid>726ab6b3-b562-4cfe-a603-6687d65122b4</guid>
</ArrayOfguid>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Guid[]'.

Response Information

Resource Description

HttpStatusCode only

ApnConfigModel
NameDescriptionTypeAdditional 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": "ffd04f29-ce34-4c6d-ad82-629019ae8cff",
  "MobileNumber": "sample string 2",
  "ICCID": "sample string 3",
  "ResellerId": "00f5f915-c5e9-46a8-9443-41d3c6eede28",
  "TariffId": "21addb1e-98ef-41cd-a9aa-1e43c01d0888",
  "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>00f5f915-c5e9-46a8-9443-41d3c6eede28</ResellerId>
  <SimId>ffd04f29-ce34-4c6d-ad82-629019ae8cff</SimId>
  <TariffId>21addb1e-98ef-41cd-a9aa-1e43c01d0888</TariffId>
</ApnConfigModel>