POST api/AlertSubscriptions?agency={agency}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
agency

string

Required

Body Parameters

AlertSubscriptionIntermediate
NameDescriptionTypeAdditional information
userid

integer

None.

name

string

None.

email

string

None.

phone

string

None.

sendemail

boolean

None.

sendsms

boolean

None.

isactive

boolean

None.

routes

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userid": 1,
  "name": "sample string 2",
  "email": "sample string 3",
  "phone": "sample string 4",
  "sendemail": true,
  "sendsms": true,
  "isactive": true,
  "routes": "sample string 8"
}

application/xml, text/xml

Sample:
<AlertSubscriptionIntermediate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BATGTFSRTParser.Models">
  <email>sample string 3</email>
  <isactive>true</isactive>
  <name>sample string 2</name>
  <phone>sample string 4</phone>
  <routes>sample string 8</routes>
  <sendemail>true</sendemail>
  <sendsms>true</sendsms>
  <userid>1</userid>
</AlertSubscriptionIntermediate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.