POST Api/Incident/AddParentNotification

Request Information

URI Parameters

None.

Body Parameters

ParentNotificationRequest
NameDescriptionTypeAdditional information
Incident_ID

decimal number

None.

Student_ID

decimal number

None.

ParentsNotified

integer

None.

ParentNotifiedText

string

None.

ParentsNotifiedViaPhone

integer

None.

ParentsNotifiedViaCBook

integer

None.

ParentsNotifiedbyWhom

decimal number

None.

UnSuccessfulAttempt

integer

None.

CampusName

string

None.

UserID

string

None.

DeviceID

string

None.

DeviceOS

string

None.

Version

string

None.

accessToken

string

Required

Matching regular expression pattern: ^a4768b1a-b5c1-4561-86e7-324b8a368354$

Request Formats

application/json, text/json

Sample:
{
  "Incident_ID": 1.0,
  "Student_ID": 2.0,
  "ParentsNotified": 1,
  "ParentNotifiedText": "sample string 3",
  "ParentsNotifiedViaPhone": 1,
  "ParentsNotifiedViaCBook": 1,
  "ParentsNotifiedbyWhom": 1.0,
  "UnSuccessfulAttempt": 1,
  "CampusName": "sample string 4",
  "UserID": "sample string 5",
  "DeviceID": "sample string 6",
  "DeviceOS": "sample string 7",
  "Version": "sample string 8",
  "accessToken": "sample string 9"
}

text/html

Sample:
{"Incident_ID":1.0,"Student_ID":2.0,"ParentsNotified":1,"ParentNotifiedText":"sample string 3","ParentsNotifiedViaPhone":1,"ParentsNotifiedViaCBook":1,"ParentsNotifiedbyWhom":1.0,"UnSuccessfulAttempt":1,"CampusName":"sample string 4","UserID":"sample string 5","DeviceID":"sample string 6","DeviceOS":"sample string 7","Version":"sample string 8","accessToken":"sample string 9"}

application/xml, text/xml

Sample:
<ParentNotificationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParadigmPioneer.Core.Model">
  <CampusName>sample string 4</CampusName>
  <DeviceID>sample string 6</DeviceID>
  <DeviceOS>sample string 7</DeviceOS>
  <UserID>sample string 5</UserID>
  <Version>sample string 8</Version>
  <accessToken>sample string 9</accessToken>
  <Incident_ID>1</Incident_ID>
  <ParentNotifiedText>sample string 3</ParentNotifiedText>
  <ParentsNotified>1</ParentsNotified>
  <ParentsNotifiedViaCBook>1</ParentsNotifiedViaCBook>
  <ParentsNotifiedViaPhone>1</ParentsNotifiedViaPhone>
  <ParentsNotifiedbyWhom>1</ParentsNotifiedbyWhom>
  <Student_ID>2</Student_ID>
  <UnSuccessfulAttempt>1</UnSuccessfulAttempt>
</ParentNotificationRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json, text/html

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />