HR Incident
URL | Verbs | Function | Available |
/HRIncident | GET | Query a list of all HRIncidents | 2019.1 |
/HRIncident/<code> | GET | Query a single HR Incident by its code | 2019.1 |
/HRIncident | POST | Add a new HR Incident | 2019.1 |
/HRIncident/<code> | POST | Update an existing HR Incident | 2019.1 |
/HRIncident/<code> | DELETE | Delete an existing HR Incident | 2019.1 |
Supported modifiers
Query String | Definition | Sample | Available |
---|---|---|---|
status | Return HR Incidents of a particular Status | status=Open | 2019.1 |
type | Return HR Incidents of a particular Type | type=Act of Nature | 2019.1 |
treeName and treeBranch | Return a list of HR Incidents assigned to a nominated branch of a nominated tree | treeName=Colour-AUS&treeBranch=Blue | 2019.1 |
includeEvents | Include the history of Events that have been recorded with this HR Incident | includeEvents=true | 2019.1 |
Security Linked Menu
Menu Item | Located |
---|---|
Incidents | HR / Occupation Health & Safety |
Sample XML Response
<?xml version="1.0" encoding="UTF-8"?>
<HRIncident> <Edition>21</Edition> <OidString>6572.1</OidString> <Code>1000</Code> <Description>Guttering overflow .1</Description> <Circumstances>Guttering overflowed after a large storm front passed through the area. This caused leaking around the perimeters of the building where guttering is rusted through. .2</Circumstances> <Comments>Need to replace guttering as this caused the external concrete to become very slippery underfoot. Also caused saturation of carpets in the office around the facade of the building. .3</Comments> <Date>2018-06-26</Date> <Time>14:00:00</Time> <Location>.5 Main office building.</Location> <Notes/> <Status>Open</Status> <Type>Act of Nature</Type> <PreventativeAction> <EnvironmentEquipment>Commence 12 monthly guttering clearing</EnvironmentEquipment> <EnvironmentOther/> <EnvironmentSafety/> <EnvironmentWork/> <PersonelInduction/> <PersonelJobRedesign/> <PersonelOngoing/> <PersonelOther/> <PersonelProcedures/> </PreventativeAction> <CausedBy collection='true' count='1'> <HRRPIncidentCausedBy> <Edition>4</Edition> <OidString>6888.1</OidString> <Name>Thunderstorm</Name> <Notes/> <Salutation>Thunderstorm</Salutation> <Type>Other</Type> </HRRPIncidentCausedBy> </CausedBy> <Investigators collection='true' count='2'> <HRRPIncidentInvestigator> <Edition>5</Edition> <OidString>6890.1</OidString> <Date>2011-06-26</Date> <Name>ALLEN, ANGELA</Name> <Person>1001</Person> <Notes/> <Salutation>Ang</Salutation> <Type>Employee</Type> </HRRPIncidentInvestigator> <HRRPIncidentInvestigator> <Edition>5</Edition> <OidString>6890.2</OidString> <Date>2011-06-26</Date> <Name>Black, Warren </Name> <Contact>10004</Contact> <Notes/> <Salutation/> <Type>Contact</Type> </HRRPIncidentInvestigator> </Investigators> <ReportedBy collection='true' count='2'> <HRRPIncidentReportedBy> <Edition>5</Edition> <OidString>6898.1</OidString> <Date>2011-06-26</Date> <Name>ALGER, AMANDA</Name> <Person>1000</Person> <Notes/> <Salutation>Mandy</Salutation> <Type>Employee</Type> </HRRPIncidentReportedBy> <HRRPIncidentReportedBy> <Edition>5</Edition> <OidString>6898.2</OidString> <Date>2011-06-26</Date> <Name>COOK, CAMERON</Name> <Person>1003</Person> <Notes/> <Salutation/> <Type>Employee</Type> </HRRPIncidentReportedBy> </ReportedBy> <ReportedTo collection='true' count='1'> <HRRPIncidentReportedTo> <Edition>5</Edition> <OidString>6899.1</OidString> <Date>2011-06-26</Date> <Name>ALLEN, ANGELA</Name> <Person>1001</Person> <Notes/> <Salutation>Ang</Salutation> <Type>Employee</Type> </HRRPIncidentReportedTo> </ReportedTo> <Witnesses collection='true' count='2'> <HRRPIncidentWitness> <Edition>5</Edition> <OidString>6900.1</OidString> <Date>2011-06-26</Date> <Name>SCORSBY, SALLY</Name> <Person>1006</Person> <Notes/> <Salutation/> <Type>Employee</Type> </HRRPIncidentWitness> <HRRPIncidentWitness> <Edition>5</Edition> <OidString>6900.2</OidString> <Date>2011-06-26</Date> <Name>Stumps, Bob </Name> <Contact>10002</Contact> <Notes/> <Salutation/> <Type>Contact</Type> </HRRPIncidentWitness> </Witnesses> <UserDefinedFields collection='true' count='3'> <UserDefinedField> <Name>Call Number</Name> <Type>Integer</Type> <Value>13</Value> </UserDefinedField> <UserDefinedField> <Name>Claim Number</Name> <Type>String</Type> <Value>IN8953</Value> </UserDefinedField> <UserDefinedField> <Name>Reported to OH&S Board</Name> <Type>Boolean</Type> <Value>true</Value> </UserDefinedField> </UserDefinedFields> <Trees collection='true' count='1'> <Tree> <Name>OH & S</Name> <IsMandatory>false</IsMandatory> <Value>Internal</Value> <Path>Internal</Path> <ShortCode>INT</ShortCode> </Tree> </Trees> </HRIncident>