POST api/Alerts
Request Information
URI Parameters
None.
Body Parameters
AlertName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
MacAddress | string |
None. |
|
CustomerID | string |
None. |
|
FirstName | string |
String length: inclusive between 0 and 255 |
|
LastName | string |
String length: inclusive between 0 and 255 |
|
Address | string |
String length: inclusive between 0 and 255 |
|
City | string |
String length: inclusive between 0 and 255 |
|
State | string |
String length: inclusive between 0 and 255 |
|
DistributorID | string |
None. |
|
Email1 | string |
None. |
|
Email1_SendAlertTypes | string |
None. |
|
Email2 | string |
None. |
|
Email2_SendAlertTypes | string |
None. |
|
Email3 | string |
None. |
|
Email3_SendAlertTypes | string |
None. |
|
Cell1 | string |
None. |
|
Cell1_Carrier | integer |
None. |
|
Cell1_SendAlertTypes | string |
None. |
|
Cell2 | string |
None. |
|
Cell2_Carrier | integer |
None. |
|
Cell2_SendAlertTypes | string |
None. |
|
Cell3 | string |
None. |
|
Cell3_Carrier | integer |
None. |
|
Cell3_SendAlertTypes | string |
None. |
|
Created | date |
None. |
|
Updated | date |
None. |
|
Active | string |
None. |
|
Status | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "MacAddress": "sample string 2", "CustomerID": "sample string 3", "FirstName": "sample string 4", "LastName": "sample string 5", "Address": "sample string 6", "City": "sample string 7", "State": "sample string 8", "DistributorID": "sample string 9", "Email1": "sample string 10", "Email1_SendAlertTypes": "sample string 11", "Email2": "sample string 12", "Email2_SendAlertTypes": "sample string 13", "Email3": "sample string 14", "Email3_SendAlertTypes": "sample string 15", "Cell1": "sample string 16", "Cell1_Carrier": 17, "Cell1_SendAlertTypes": "sample string 18", "Cell2": "sample string 19", "Cell2_Carrier": 20, "Cell2_SendAlertTypes": "sample string 21", "Cell3": "sample string 22", "Cell3_Carrier": 23, "Cell3_SendAlertTypes": "sample string 24", "Created": "2025-09-11T18:28:16.0558988-04:00", "Updated": "2025-09-11T18:28:16.0558988-04:00", "Active": "sample string 27", "Status": "sample string 28" }
application/xml, text/xml
Sample:
<Alert xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iBasement.Models"> <Active>sample string 27</Active> <Address>sample string 6</Address> <Cell1>sample string 16</Cell1> <Cell1_Carrier>17</Cell1_Carrier> <Cell1_SendAlertTypes>sample string 18</Cell1_SendAlertTypes> <Cell2>sample string 19</Cell2> <Cell2_Carrier>20</Cell2_Carrier> <Cell2_SendAlertTypes>sample string 21</Cell2_SendAlertTypes> <Cell3>sample string 22</Cell3> <Cell3_Carrier>23</Cell3_Carrier> <Cell3_SendAlertTypes>sample string 24</Cell3_SendAlertTypes> <City>sample string 7</City> <Created xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:DateTime>2025-09-11T22:28:16.0558988Z</d2p1:DateTime> <d2p1:OffsetMinutes>-240</d2p1:OffsetMinutes> </Created> <CustomerID>sample string 3</CustomerID> <DistributorID>sample string 9</DistributorID> <Email1>sample string 10</Email1> <Email1_SendAlertTypes>sample string 11</Email1_SendAlertTypes> <Email2>sample string 12</Email2> <Email2_SendAlertTypes>sample string 13</Email2_SendAlertTypes> <Email3>sample string 14</Email3> <Email3_SendAlertTypes>sample string 15</Email3_SendAlertTypes> <FirstName>sample string 4</FirstName> <Id>1</Id> <LastName>sample string 5</LastName> <MacAddress>sample string 2</MacAddress> <State>sample string 8</State> <Status>sample string 28</Status> <Updated xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:DateTime>2025-09-11T22:28:16.0558988Z</d2p1:DateTime> <d2p1:OffsetMinutes>-240</d2p1:OffsetMinutes> </Updated> </Alert>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
AlertName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
MacAddress | string |
None. |
|
CustomerID | string |
None. |
|
FirstName | string |
String length: inclusive between 0 and 255 |
|
LastName | string |
String length: inclusive between 0 and 255 |
|
Address | string |
String length: inclusive between 0 and 255 |
|
City | string |
String length: inclusive between 0 and 255 |
|
State | string |
String length: inclusive between 0 and 255 |
|
DistributorID | string |
None. |
|
Email1 | string |
None. |
|
Email1_SendAlertTypes | string |
None. |
|
Email2 | string |
None. |
|
Email2_SendAlertTypes | string |
None. |
|
Email3 | string |
None. |
|
Email3_SendAlertTypes | string |
None. |
|
Cell1 | string |
None. |
|
Cell1_Carrier | integer |
None. |
|
Cell1_SendAlertTypes | string |
None. |
|
Cell2 | string |
None. |
|
Cell2_Carrier | integer |
None. |
|
Cell2_SendAlertTypes | string |
None. |
|
Cell3 | string |
None. |
|
Cell3_Carrier | integer |
None. |
|
Cell3_SendAlertTypes | string |
None. |
|
Created | date |
None. |
|
Updated | date |
None. |
|
Active | string |
None. |
|
Status | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "MacAddress": "sample string 2", "CustomerID": "sample string 3", "FirstName": "sample string 4", "LastName": "sample string 5", "Address": "sample string 6", "City": "sample string 7", "State": "sample string 8", "DistributorID": "sample string 9", "Email1": "sample string 10", "Email1_SendAlertTypes": "sample string 11", "Email2": "sample string 12", "Email2_SendAlertTypes": "sample string 13", "Email3": "sample string 14", "Email3_SendAlertTypes": "sample string 15", "Cell1": "sample string 16", "Cell1_Carrier": 17, "Cell1_SendAlertTypes": "sample string 18", "Cell2": "sample string 19", "Cell2_Carrier": 20, "Cell2_SendAlertTypes": "sample string 21", "Cell3": "sample string 22", "Cell3_Carrier": 23, "Cell3_SendAlertTypes": "sample string 24", "Created": "2025-09-11T18:28:16.0558988-04:00", "Updated": "2025-09-11T18:28:16.0558988-04:00", "Active": "sample string 27", "Status": "sample string 28" }
application/xml, text/xml
Sample:
<Alert xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iBasement.Models"> <Active>sample string 27</Active> <Address>sample string 6</Address> <Cell1>sample string 16</Cell1> <Cell1_Carrier>17</Cell1_Carrier> <Cell1_SendAlertTypes>sample string 18</Cell1_SendAlertTypes> <Cell2>sample string 19</Cell2> <Cell2_Carrier>20</Cell2_Carrier> <Cell2_SendAlertTypes>sample string 21</Cell2_SendAlertTypes> <Cell3>sample string 22</Cell3> <Cell3_Carrier>23</Cell3_Carrier> <Cell3_SendAlertTypes>sample string 24</Cell3_SendAlertTypes> <City>sample string 7</City> <Created xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:DateTime>2025-09-11T22:28:16.0558988Z</d2p1:DateTime> <d2p1:OffsetMinutes>-240</d2p1:OffsetMinutes> </Created> <CustomerID>sample string 3</CustomerID> <DistributorID>sample string 9</DistributorID> <Email1>sample string 10</Email1> <Email1_SendAlertTypes>sample string 11</Email1_SendAlertTypes> <Email2>sample string 12</Email2> <Email2_SendAlertTypes>sample string 13</Email2_SendAlertTypes> <Email3>sample string 14</Email3> <Email3_SendAlertTypes>sample string 15</Email3_SendAlertTypes> <FirstName>sample string 4</FirstName> <Id>1</Id> <LastName>sample string 5</LastName> <MacAddress>sample string 2</MacAddress> <State>sample string 8</State> <Status>sample string 28</Status> <Updated xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:DateTime>2025-09-11T22:28:16.0558988Z</d2p1:DateTime> <d2p1:OffsetMinutes>-240</d2p1:OffsetMinutes> </Updated> </Alert>