Incident
Jump to navigation
Jump to search
See Incident Import Configuration for elements that can be used in import configuration.
- THIS PAGE IS BEING EDITED*** It will be completed 4/3/2015****
XML Elements
- IncidentID
- Title
- Entity
- Creator
- Owner
- AssignedProblems
- Type
- ASPFieldServiceTech
- OccurrenceDate
- CreatedDate
- CloseDate
- RepairDurationTime
- ResponseTime
- DownTimeForService
- CustomerSupportNumber
- TopLevelPart
- ResponsibleParts
- ResponsiblePart
- Chargeable
- UnderWarranty
- WarrantyOverride
- CustomerRequestedFeedback
- ServiceResponseDate
- UnitLocation
- Address
- Statuses
- Status
- Categories
- Category
- SystemStatuses
- SystemStatus
- ReportTypes
- ReportType
- SystemStatus
- RepairReplaces
- RepairReplace
- ActualCriticality
- PotentialCriticality
- Criticality
- Team Members
- Actions
- Details
Incident Sample
- <?xml version = "1.0" encoding = "utf-8"?>
- <!DOCTYPE Incidents SYSTEM "Incident.dtd"[]>
- <Incidents xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
- <!— The ExportData element is only used to display information about an export. No data is imported from these elements.
- <!— This element will be present on all exported XML files.
- <ExportData>
- <ReportGenerated>09/16/2013 09:40 AM</ReportGenerated>
- </GeneratedBy>
- <FirstName>Joe</FirstName>
- <MiddleName>Isa</MiddleName>
- <LastName>User</LastName>
- <Login>JUser</Login>
- </GeneratedBy>
- <GMTOffset>-7</GMTOffset>
- </ExportData>
- <ImportConfiguration>
- </ImportConfiguration>
- <!— The Resources element is used only to display localization information. Data is not imported from these elements, so it is not necessary for XML imports. This element will be present on most exported XML files.
- <Resources>
- <!— LanguageCode must be a string
- <LanguageCode>en</LanguageCode>
- <!— ResourceID must be an Integer
- <ResourceID>9056</ResourceID>
- <!— ResourceText must be a string. 1000 characters maximum
- <ResourceText>Text</ResourceText>
- </Resources>
- <Incident>
- <IncidentID> TI-1 </IncidentID>
- <Title> Test Incident </Title>
- <!— During an import, the EntityID element is checked first and if no match is found the EntityName element is checked. If neither value matches an existing entity, the import will be stopped.
- <Entity>
- <!— EntityID must be an integer
- <EntityID>1</EntityID>
- <!— EntityName must be a String. 50 characters maximum.
- <EntityName>XFRACAS Software</EntityName>
- </Entity>
- <Creator>
- <!— FirstName must be a String. 80 characters maximum.
- <FirstName>Pam</FirstName>
- <!— MiddleName must be a String. 80 characters maximum.
- <MiddleName>Isa</MiddleName>
- <!— LastName must be a String. 80 characters maximum.
- <LastName>User</LastName>
- <!— Login must be a String. 100 characters maximum.
- <Login>puser</Login>
- </Creator>
- <Owner>
- <!— FirstName must be a String. 80 characters maximum.
- <FirstName>Sam</FirstName>
- <!— MiddleName must be a String. 80 characters maximum.
- <MiddleName>Isa</MiddleName>
- <!— LastName must be a String. 80 characters maximum.
- <LastName>User</LastName>
- <!— Login must be a String. 100 characters maximum.
- <Login>suser</Login>
- </Owner>
- <AssignedProblems>
- </AssignedProblems>
- <!— Type must be a Serialized Incident, Simple Incident, or Part Incident.
- <Type>
- <Issue IssueTypeID = "20" >
- <Description>Serialized Incident</Description>
- </Issue>
- <Issue IssueTypeID = "20" >
- </Type>
- <ASPFieldServiceTech>
- <CustomerID> 1 </CustomerID>
- <FirstName> Sally </FirstName>
- <LastName> User </LastName>
- </ASPFieldServiceTech>
- <!— Day, Month and Year are required to be a valid date.
- <!— All Dates imported should be in UTC or GMT+0, as all data stored in the database is in UTC.
- <OccuranceDate>
- <!— 4 Digit Integer.
- <Year>2013</Year>
- <!— Integer-including to and between 1 and 12.
- <Month>6</Month>
- <!— Integer-including to and between 1 and 31.
- <Day>19</Day>
- <!— Integer-including to and between 0 and 24.
- <Hour>20</Hour>
- <!— Integer-including to and between 0 and 60.
- <Minute>21</Minute>
- <!— Integer-including to and between 0 and 60.
- <Second>0</Second>
- <!— FormattedDate is a String and is for display information on an export only.
- <FormattedDate>06/19/2013 08:21 PM</FormattedDate>
- </OccuranceDate>
- <CreatedDate>
- <!— 4 Digit Integer.
- <Year>2013</Year>
- <!— Integer-including to and between 1 and 12.
- <Month>6</Month>
- <!— Integer-including to and between 1 and 31.
- <Day>19</Day>
- <!— Integer-including to and between 0 and 24.
- <Hour>21</Hour>
- <!— Integer-including to and between 0 and 60.
- <Minute>23</Minute>
- <!— Integer-including to and between 0 and 60.
- <Second>0</Second>
- <!— FormattedDate is a String and is for display information on an export only.
- <FormattedDate>06/19/2013 09:23 PM</FormattedDate>
- </CreatedDate>
- <CloseDate/>
- <TopLevelPart>
- <!— PartID must be an integer. If left without a value, a new PartID will be assigned.
- <!— If PartID value matches an existing PartID, the part will be updated.
- <PartID>123</PartID>
- <!— PartName must be a String. 255 characters maximum
- <PartName>Synthesis Platform</PartName>
- <!— PartNumber must be a String. 75 characters maximum
- <PartNumber>SYN</PartNumber>
- <!— Sets whether a part is retired. “Yes” means it’s retired. “No” means it’s not retired. Default setting is “No.”
- <Retired>No</Retired>
- <!— PartVersion must be a String. 50 characters maximum
- <PartVersion>9</PartVersion>
- <!— CreatedDate must be a Valid Date. Valid Date can be exemplified under Common Elements.
- <CreatedDate/>
- <!— UseExisting is required for a (Template) System. It must be “Yes” or “No.”
- <!— If “Yes” an identical part that exists in the same entity will be used. If “No” a new part will always be inserted.
- <UseExisting/>
- <!— Subpart is required to update a System. A Valid Part is required within a Subpart. See (Template) System.
- <Subpart/>
- <!— Entity must be a valid entity. Valid Entity can be exemplified under Common Elements.
- <Entity/>
- <!— HID must be an integer. If present it must match an existing HID.
- <!— When modifying System Part data, HID must not be used within Subparts in order for the System to update.
- <HID>2</HID>
- <!— SerialHID must be an integer. It is required for serialized incidents.
- <!— For serialized incidents, the SerialHID and/or SerialNumber must match an existing top level serial system.
- <!— When modifying System data, SerialHID must not be used within Subparts in order for the System to update.
- <SerialHID>29</SerialHID>
- <!— SerialNumber must be a string. It is required for serialized incidents.
- <!— For serialized incidents, the SerialHID and/or SerialNumber must match an existing top level serial system.
- <SerialNumber>989</SerialNumber>
- <!— TimeMetric1 is a reliability time metric and does not inherently contain units. It is a floating (decimal) number.
- <TimeMetric1>10</TimeMetric1>
- <!— TimeMetric2 is a reliability time metric and does not inherently contain units. It is a floating (decimal) :number.
- <TimeMetric2>12</TimeMetric2>
- <!— TimeMetric3 is a reliability time metric and does not inherently contain units. It is a floating (decimal) number.
- <TimeMetric3>2.2</TimeMetric3>
- <!— Details are documented within Details.
- <Details/>
- </TopLevelPart>
- <ResponsibleParts>
- <ResponsiblePart>
- <Part>
- <PartID> 2 </PartID>
- <PartName> Action </PartName>
- <PartNumber> Action </PartNumber>
- <PartVersion />
- <RetiredDate />
- </Part>
- <ResponsibleUser />
- <Part>
- </ResponsiblePart>
- <ResponsiblePart>
- </ResponsibleParts>
- <OccuranceDate>
<Chargeable> No </Chargeable> <UnderWarranty> No </UnderWarranty> <WarrantyOverride/> <CustomerRequestedFeedback> No </CustomerRequestedFeedback> <ServiceResponseDate> <Year> 2013 </Year> <Month> 8 </Month> <Day> 7 </Day> <Hour> 23 </Hour> <Minute> 52 </Minute> <Second> 0 </Second> <FormattedDate> 08/07/2013 04:52 PM </FormattedDate> </ServiceResponseDate> <UnitLocation> AGCO </UnitLocation> <Address> <AddressLine1> 123 Fake St. </AddressLine1> <AddressLine2 /> <City> Tucson </City> <State> Arizona </State> <Country> United States </Country> <ZipCode> 85710 </ZipCode> <Location> TUS </Location> </Address> <Statuses> <Status> <Issue IssueTypeID = "8" >
10
<Description> Under Review </Description> </Issue> <Date> <Year> 2013 </Year> <Month> 7 </Month> <Day> 1 </Day> <Hour> 15 </Hour> <Minute> 49 </Minute> <Second> 34 </Second> <FormattedDate> 07/01/2013 08:49 AM </FormattedDate> </Date> <UpdatedBy> <FirstName> Joe </FirstName> <LastName> User </LastName> <Login> JUSER </Login> </UpdatedBy> <Retired> No </Retired> </Status> <Status> <Issue IssueTypeID = "8" >
01
<Description> Open/New </Description> </Issue> <Date> <Year> 2013 </Year> <Month> 6 </Month> <Day> 17 </Day> <Hour> 20 </Hour> <Minute> 21 </Minute> <Second> 51 </Second> <FormattedDate> 06/17/2013 01:21 PM </FormattedDate> </Date> <UpdatedBy> <FirstName> Joe </FirstName> <LastName> User </LastName> <Login> JUSER </Login> </UpdatedBy> <Retired> Yes </Retired> </Status> </Statuses> <Categories> <Category> <Issue IssueTypeID = "21" > <Description> Cleanup </Description> </Issue> <Date> <Year> 2013 </Year> <Month> 6 </Month> <Day> 17 </Day> <Hour> 20 </Hour> <Minute> 21 </Minute> <Second> 51 </Second> <FormattedDate> 06/17/2013 01:21 PM </FormattedDate> </Date> <UpdatedBy> <FirstName> Joe </FirstName> <LastName> User </LastName> <Login> JUSER </Login> </UpdatedBy> <Retired> No </Retired> <Chargeable> No </Chargeable> </Category> </Categories> <SystemStatuses> <SystemStatus> <Issue IssueTypeID = "14" >
40
<Description> Running </Description> </Issue> <Date> <Year> 2013 </Year> <Month> 8 </Month> <Day> 2 </Day> <Hour> 15 </Hour> <Minute> 39 </Minute> <Second> 16 </Second> <FormattedDate> 08/02/2013 08:39 AM}} </FormattedDate> </Date> <Retired> No </Retired> </SystemStatus> <SystemStatus> <Issue IssueTypeID = "14" >
40
<Description> Running </Description> </Issue> <Date> <Year> 2013 </Year> <Month> 7 </Month> <Day> 30 </Day> <Hour> 15 </Hour> <Minute> 6 </Minute> <Second> 59 </Second> <FormattedDate> 07/30/2013 08:06 AM </FormattedDate> </Date> <Retired> Yes </Retired> </SystemStatus> <SystemStatus> </SystemStatuses> <ReportTypes> <ReportType> <Issue IssueTypeID = "38" > <Description> Prerelease or Staging </Description> </Issue> <Date> <Year> 2013 </Year> <Month> 6 </Month> <Day> 17 </Day> <Hour> 20 </Hour> <Minute> 21 </Minute> <Second> 51 </Second> <FormattedDate> 06/17/2013 01:21 PM </FormattedDate> </Date> <UpdatedBy> <FirstName> Joe </FirstName> <LastName> User </LastName> <Login> JUSER </Login> </UpdatedBy> <Retired> No </Retired> </ReportType> </ReportTypes> <RepairReplace> <RepairReplace PartOrder = "0" > <OldPart> <PartID> 1 </PartID> <PartName> XFRACAS </PartName> <PartNumber> XFRACAS </PartNumber> <PartVersion /> <RetiredDate /> <SerialHID> 1 </SerialHID> <SerialNumber> 1 </SerialNumber> </OldPart> </NewPart> <FailureAnalyses /> <PartDisposition /> <RMAReceivedDate /> <ChangeDate> <Year> 2013 </Year> <Month> 7 </Month> <Day> 30 </Day> <Hour> 15 </Hour> <Minute> 7 </Minute> <Second> 1 </Second> <FormattedDate> 07/30/2013 08:07 AM </FormattedDate> </ChangeDate> <StartingAge> 0 </StartingAge> <HoursToFailure> 17.00 </HoursToFailure> </RepairReplace> <RepairReplace PartOrder = "1" > <OldPart> <PartID> 3 </PartID> <PartName> Action List </PartName> <PartNumber> Action List </PartNumber> <PartVersion /> <RetiredDate /> <SerialHID> 2 </SerialHID> </OldPart> <NewPart> <PartID> 4 </PartID> <PartName> Action List2 </PartName> <PartNumber> Action List2 </PartNumber> <PartVersion /> <RetiredDate /> <SerialHID> 3 </SerialHID> </NewPart> <PartFailure> <FailureType> <Issue IssueTypeID = "23" > <Description> Collateral Failure </Description> </Issue> </FailureType> </PartFailure> <FailureAnalyses /> <PartDisposition> <Issue IssueTypeID = "13">
1
}} <Description> Send to Reman </Description> </Issue> </PartDisposition> <RMAReceivedDate /> <ChangeDate> <Year> 2013 </Year> <Month> 7 </Month> <Day> 31 </Day> <Hour> 23 </Hour> <Minute> 2 </Minute> <Second> 44 </Second> <FormattedDate> 07/31/2013 04:02 PM}} </FormattedDate> </ChangeDate> <StartingAge> 0 </StartingAge> <HoursToFailure> 17.00 </HoursToFailure> </RepairReplace> </RepairReplace> <Criticalities> <Criticality> <SelectedCriticalityIssue> <Issue IssueTypeID = "1000" >
1
<Description> Value 1 </Description> </Issue> </SelectedCriticalityIssue> <CriticalityType> <CritTypeName> Criticality Example </CritTypeName> <CritTypeDescription> Criticality Example </CritTypeDescription> </CriticalityType> <CriticalityStep> 1 </CriticalityStep> <CriticalityDisplayOrder> 2 </CriticalityDisplayOrder> </Criticality> </Criticalities> <TeamMembers> <TeamMember> <MemberUser> <FirstName> Bob </FirstName> <LastName> User </LastName> <Login> BUSER </Login> </MemberUser> <MemberRole> <Issue IssueTypeID = "50" > <Description> Software Engineer </Description> </Issue> </MemberRole> </TeamMember> <TeamMember> <MemberUser> <FirstName> Sam </FirstName> <LastName> User </LastName> <Login> SUSER </Login> </MemberUser> <MemberRole> <Issue IssueTypeID = "50" > <Description> Project Lead </Description> </Issue> </MemberRole> </TeamMember> </TeamMembers> <Actions /> <Details/> </Incident>
</Incidents>