Skip to end of banner
Go to start of banner

IMS Property Damage Outbound API

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 3 Next »

Background and strategic fit

The purpose of this Integration is to pull over different Property Damage Incident Details to support our growing customer base to analyze the data they are entering through the ProcessMAP solution.This document provides information on how to consume the API's by the end Users.

Assumptions

  • ProcessMAP system User permissions would not be considered while exposing the data

  • ProcessMAP assumes anyone who is accessing the Outbound API has required authority to access Personal Information

  • User would have to input single Location Code(e.g. Westlake) each time to consume that Location data

  • Data to be accessed with a limitation of 2 years duration at a time to avoid any performance issues.

  • Data will be shown in Readable JSON format

  • Fields Names in the Response can use mapping documentation provided in order to map the JSON Response as per application fields.

  • User accessing this endpoint through a valid Token & ConsumerId, provided by ProcessMAP, will have access to complete data

  • Witness Details  Information will be as nested

  • The data that is being shown in response is in EST Date time format ONLY

  • Certain fields are auto-populated in Application but the same will not reflect in JSON until the form is saved

User Interaction

Implementation : 

AUTHENTICATION URL DETAILS [  Base URL with Auth EndPoint ] 

Please note that the above Auth Token expires after every 120 minutes.

BASE URL FOR RESPECTIVE API CALLS : 

PropertyDamage

Incident Details

Request

GET papi/v1/imsoutbound/propertydamageincidents?locationCode={locationCode}&dateFrom={dateFrom}&dateTo={dateTo}&lastSyncedDate={lastSyncedDate}

Ex: papi/v1/imsoutbound/propertydamageincidents?locationCode=westlake&dateFrom=2019-07-01&dateTo=2019-07-30&lastSyncedDate=2019-01-01

URI Parameters

Location Code, DateFrom, DateTo and LastSyncedDate are to be passed as parameters.

DateFrom and DateTo are required when LastSyncedDate is not provided.

When DateFrom, DateTo and LastSyncedDate are provided, data will be returned based on LastSyncedDate only.

Name

        Description

           Type

      Additional information

locationCode

        Represents the unique code of location for which Incident records to return.

           string

      Required

dateFrom

        Represents the starting date of Incident records to return.

           date

      Required but value optional

dateTo

        Represents the ending date of Incident records to return.

           date

      Required but value optional

lastSyncedDate

        Represents the data from incident created date or incident modified date.

           date

      Required but value optional

Headers

Name

       Description

      Sample

Authorization

       Represents the value of the authentication token.
       Allow multiple values: no.

      Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ...

ConsumerId

       Represents the value of the consumer id.
       Allow multiple values: no.

      2426

Response

Sample:

[{
    "IncidentID": "sample string",
	
	"InternalIncidentID": "sample string",
    
	"IncidentTitle": "sample string",

    "LocationCode": "sample string",

    "Location": "sample string",

    "IncidentDate": "2019-10-06T00:00:00.000Z",

    "TimeofIncident": "sample string 2",

    "TimeUndetermined": "sample string",

    "DayOfWeek": "sample string",

    "JobShift": "sample string",

    "TimeWorkDayBegan": "sample string",

    "hasthePotentialtobeSerious": "sample string",
	
    "DescriptionofIncident": "sample string",
    
    "IncidentOccurredonEmployerPremises": "sample string",
  
    "Department": "sample string",
	
    "PinLocation": "sample string",
    
    "AddressofIncidentLocation": "sample string",

    "City": "sample string",

    "County": "2019-10-06T00:00:00.000Z",

    "Country": "sample string 2",

    "State": "sample string",

    "ZipCode": "sample string",

    "WasAssetinvolved": "sample string",

    "Assets": [{

       "sample string 2"
    }],

    "ConfirmSignificancelevelofincident": "sample string",

    "WasCorrectiveActioncompleted": "sample string",

    "ActionItemTitle": "2019-10-06T00:00:00.000Z",

    "ActionTaken": "sample string 2",

    "PrimaryOwner": "sample string",

    "AssignedBy": "sample string",

    "CompletionDate": "sample string",

    "DateandTimeReportedtoEmployer": "sample string",

    "WasEmployeeinvolvedintheIncident": "sample string",
	  
	"EmployeeDetails": 
	 {
	  
      "PersonnelType": "sample string",
	  
	  "EmployeeInvolved": "sample string",
	  
	  "EmployeeId": "sample string",
	  
	  "PayRateType": "sample string",
	  
	  "EmployeeDepartment": "sample string",
	  
	  "Contractor": "sample string",
	  
	  "DoyouwanttoclassifyUnsupervisedContractEmployee": "sample string",
	  
	  "TypeofClientPersonnel": "sample string",
	  
	  "ClientCompany": "sample string",
	  
	  "NameofContractor": "sample string",
	  
	  "NameofSubContractor": "sample string"
	 
	} ,
	  
	"WasMachineinvolved": "sample string",
	  
	"MachineNumber": "sample string",
	  
	"ReviewedbyEHSRepresentative": "sample string",
	  
	"ReviewDate": "sample string",
	  
	"Property Damage Incident Details":
	{
	    "IncidentType": "sample string",
		
		"IsthisachargeableIncident": "sample string",
		
		"CauseofIncident": "sample string"
	}
	 
	"DamageSummary":
	{
	    "Wascontractorinvolvedintheincident": "sample string",
		
		"PleaseprovideContractorDetails": "sample string",
		
		"Wasthecontractortrainedoncompanypolicies": "sample string",
		
		"Describeanydamagecaused": "sample string",
		
		"Describewhatcausedtheincidenttooccur": "sample string",
		
		"Describeworkactivitybeingperformedduringincident": "sample string",
		
		"Wastheapplicableregulatoryagencynotified": "sample string"
	}

    "ArethereanyWitnessesidentified": "sample string",

    "NumberofWitnesses":  "sample string",

    "WitnessInformation":
    [ {

         "LastName": "sample string 2",

         "FirstName": "sample string 3",

         "MiddleName": "sample string 4",

         "Notes": "sample string 6",
		 
		 "PhoneNumber": "sample string 6",

         "WitnessrealtiontoProcessMAP": "sample string 6"

    } ],

    "IncidentStatus": "sample string",

    "CreatedBy": "sample string",

    "CreatedDate": "2019-10-14T11:43:31.517Z",

    "LastUpdatedDate": "2019-10-14T11:47:29.440Z",

    "LastUpdatedBy": "sample string"   
}]

JSON Field Mapping with respect to Application Fields :

JSON Field

ProcessMAP System Field

  • No labels