Description Usage Arguments Value
This function creates an Incident
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | createIncident(
ActionIDRecommended = NULL,
BuildingID = NULL,
DamageCost = NULL,
DateTime = NULL,
Description = NULL,
DistrictID = NULL,
EntityID = NULL,
IncidentNumber = NULL,
IsSuppressed = NULL,
LocationID = NULL,
NumberOfNonEnrolledOffenders = NULL,
NumberOfNonEnrolledVictims = NULL,
ReferredByFreeformName = NULL,
ReferredByNameID = NULL,
ReferredByType = NULL,
ReportedToLawEnforcement = NULL,
RoomID = NULL,
SchoolYearID = NULL,
StateDIRSTimeMNID = NULL,
Type = NULL,
entityId = 1,
query = NULL,
flatten = T,
returnResponse = F
)
|
entityId |
The id of the entity (school). Run |
query |
Queries to be added to the request. Ex. list(SchoolYearID = 1). Defaults to NULL. |
flatten |
Whether to flatten result into a dataframe or return the json object. Default is TRUE (flatten to dataframe). |
returnResponse |
Whether to return the server response instead of the results. Useful for debugging. Default is FALSE. |
fieldNames |
The field values to give the created Incident. Each defaults to NULL. |
A newly created Incident Skyward's Knowledge Hub
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.