Relyence API Documentation version v1
https://app.relyence.com
/alts
Get a list of ALT datasets from the specified Analysis. Retrieve all datasets in the Analysis.
get /alts
Get a list of ALT datasets from the specified Analysis. Retrieve all datasets in the Analysis.
Query Parameters
- analysisId: required(integer)
The Id of the Analysis that you want to retrieve ALT Data Sets from.
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : 1,
"Name" : "Data Set 1",
"DataType" : "Exact Times",
"Distribution" : "Weibull",
"StressModel" : "Arrhenius",
"MedianRankingMethod" : "Benard",
"UseStress" : 50,
"ConfidenceType" : "None",
"ConfidenceBoundType" : "Time",
"ConfidenceLevel" : 90,
"Result1" : 0.01,
"Result2" : 0.01,
"Result3" : 0.01,
"Result4" : 0.01,
"Result5" : 0.01
}
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{
"message" : "No records found"
}
Secured by oauth2_0
/analyses
Get a list of Analyses in the system.
get /analyses
Get a list of Analyses in the system.
Query Parameters
- fileType: (integer)
Type of file that you want to retrieve.
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : 1,
"Name" : "Drone Example",
"FileType" : "0"
}
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{
"message" : "Analyses not found"
}
Secured by oauth2_0
/analysis
Returns basic information on the requested Analysis.
Insert a new analysis with the supplied data.
get /analysis
Returns basic information on the requested Analysis.
Query Parameters
- id: required(integer)
Id of the Analysis that you want to retrieve.
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : 1,
"Name" : "Drone Example",
"DesignFmea" : true,
"ProcessFmea" : true,
"Fmeca" : true,
"Fracas" : true,
"Prediction" : true,
"FaultTree" : true,
"Rbd" : true,
"Maintainability" : true,
"Weibull" : true
}
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{
"message" : "Analysis not found"
}
Secured by oauth2_0
post /analysis
Insert a new analysis with the supplied data.
Query Parameters
- analysisName: required(string)
Name of the Analysis to create.
Body
Media type: application/x-www-form-urlencoded
Type: object
Properties- data: required(string)
JSON string of Field/Value pairs of data to insert into the Analysis.
Example:
{ "Description" : "This is the description of the record" }
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Name" : "Name of the Analysis created"
}
HTTP status code 400
Body
Media type: application/json
Type: any
Example:
{
"message": "Unhandled error"
}
Secured by oauth2_0
/faulttree
Update an Gate / Event with the supplied data.
put /faulttree
Update an Gate / Event with the supplied data.
Query Parameters
- id: required(integer)
Id of the Gate / Event to update.
Body
Media type: application/x-www-form-urlencoded
Type: object
Properties- data: required(string)
JSON string of Field/Value pairs of data to update.
Example:
{ "Description" : "This is the description of the record" }
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : 1,
"Results Log" : "Number of records imported: 1"
}
HTTP status code 400
Body
Media type: application/json
Type: any
Example:
{
"message": "Gate / Event not found"
}
Secured by oauth2_0
/faulttrees
Get a list of Top Gates and their calculation results from the specified Analysis.
get /faulttrees
Get a list of Top Gates and their calculation results from the specified Analysis.
Query Parameters
- analysisId: required(integer)
The Id of the Analysis from which you want to retrieve Top Gate calculation results.
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : 1,
"Name" : "Drone",
"Results" : "<data>",
"Gates" : "<data>",
"Events" : "<data>"
}
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{
"message" : "No records found"
}
Secured by oauth2_0
/function
Get the requested Function record.
Delete the requested Function.
Insert a new Function with the supplied data.
Update a Function with the supplied data.
get /function
Get the requested Function record.
Query Parameters
- id: required(integer)
Id of the requested Function.
- fields: required(string)
JSON list of fields to retrieve for the Function. Leave empty to return all fields.
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : 1,
"Description" : "This is the description."
}
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{
"message" : "Function not found"
}
Secured by oauth2_0
delete /function
Delete the requested Function.
post /function
Insert a new Function with the supplied data.
Query Parameters
- subsystemId: required(integer)
Id of the Subsystem to associate the Function with.
- fmeaType: required(integer)
The type of Fmea. FMECA = 0, Design Fmea = 1, Process Fmea = 2, or FMEA MSR = 3
Body
Media type: application/x-www-form-urlencoded
Type: object
Properties- data: required(string)
JSON string of Field/Value pairs of data to insert into the Function.
Example:
{ "Description" : "This is the description of the record" }
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : 1,
"Results Log" : "Number of records imported: 1"
}
HTTP status code 400
Body
Media type: application/json
Type: any
Example:
{
"message" : "Subsystem not found"
}
Secured by oauth2_0
put /function
Update a Function with the supplied data.
Query Parameters
- id: required(integer)
Id of the Function to update.
Body
Media type: application/x-www-form-urlencoded
Type: object
Properties- data: required(string)
JSON string of Field/Value pairs of data to update into the Function.
Example:
{ "Description" : "This is the description of the record" }
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : 1,
"Results Log" : "Number of records imported: 1"
}
HTTP status code 400
Body
Media type: application/json
Type: any
Example:
{
"message": "Function not found"
}
Secured by oauth2_0
/functions
Get a list of Functions from the specified Analysis. Retrieve Functions in the Analysis filtered by Subsystem Id.
get /functions
Get a list of Functions from the specified Analysis. Retrieve Functions in the Analysis filtered by Subsystem Id.
Query Parameters
- analysisId: required(integer)
The Id of the Analysis that you want to retrieve Functions from.
- fields: required(string)
JSON list of fields to retrieve for each Function. Leave empty to return all fields.
- subsystemId: required(integer)
Pass this parameter to retrieve only Functions associated to this Subsystem.
- fmeaType: required(integer)
The type of Fmea. FMECA = 0, Design Fmea = 1, or Process Fmea = 2, or FMEA MSR = 3
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : 1,
"Description" : "Function"
}
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{
"message" : "No records found"
}
Secured by oauth2_0
/group
Get the requested group by Id.
Delete the requested Group.
Insert a new group with the supplied data.
Update a Group with the supplied data.
get /group
Get the requested group by Id.
Query Parameters
- id: required(integer)
The Id of the Group that you want to retrieve.
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : 1,
"Name" : "Group 1",
"FMEA Module" : true,
"FRACAS Module" : false
}
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{
"message" : "Group not found"
}
Secured by oauth2_0
delete /group
Delete the requested Group.
post /group
Insert a new group with the supplied data.
Body
Media type: application/x-www-form-urlencoded
Type: object
Properties- data: required(string)
JSON string of Field/Value pairs of data to update for the Group.
Example:
{ "Name" : "Group 1", "Description" : "Group allowed access to Fault Tree", "Fault Tree Module" : true }
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : "1",
"Results Log" : "Number of records imported: 1"
}
HTTP status code 400
Body
Media type: application/json
Type: any
Example:
{
"message" : "Group already exists"
}
Secured by oauth2_0
put /group
Update a Group with the supplied data.
Query Parameters
- id: required(integer)
The Id of the Group that you want to update.
Body
Media type: application/x-www-form-urlencoded
Type: object
Properties- data: required(string)
JSON string of Field/Value pairs of data to update for the Group.
Example:
{ "Description" : "Group allowed to access Fault Tree and FMEA", "FMEA Module" : true }
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : "1",
"Results Log" : "Number of records imported: 1"
}
HTTP status code 400
Body
Media type: application/json
Type: any
Example:
{
"message": "Name already exists"
}
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{
"message" : "Group not found"
}
Secured by oauth2_0
/groups
Get a list of Groups in the system.
get /groups
/incident
Get the Id of the requested Incident.
Delete the requested Incident.
Insert a new incident with the supplied data.
Update an Incident with the supplied data.
get /incident
Get the Id of the requested Incident.
Query Parameters
- analysisId: required(integer)
Id of the Analysis that will contain the Incident.
- identifier: required(string)
The identifier of the Incident that you want to retrieve.
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : 1
}
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{
"message" : "Incident not found"
}
Secured by oauth2_0
delete /incident
Delete the requested Incident.
post /incident
Insert a new incident with the supplied data.
Query Parameters
- analysisId: required(integer)
Id of the Analysis that will contain the Incident.
- subsystemId: (integer)
Id of the Subsystem to associate the Incident with.
- problemId: (integer)
Id of the Problem to associate the Incident with.
Body
Media type: application/x-www-form-urlencoded
Type: object
Properties- data: required(string)
JSON string of Field/Value pairs of data to insert into the Incident.
Example:
{ "Description" : "This is the description of the record" }
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : 1,
"Incident Id" : "Incident0001",
"Results Log" : "Number of records imported: 1"
}
HTTP status code 400
Body
Media type: application/json
Type: any
Example:
{
"message" : "Analysis not found"
}
Secured by oauth2_0
put /incident
Update an Incident with the supplied data.
Query Parameters
- id: required(integer)
Id of the Incident to update.
Body
Media type: application/x-www-form-urlencoded
Type: object
Properties- data: required(string)
JSON string of Field/Value pairs of data to insert into the Incident.
Example:
{ "Description" : "This is the description of the record" }
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : 1,
"Incident Id" : "Incident0001",
"Results Log" : "Number of records imported: 1"
}
HTTP status code 400
Body
Media type: application/json
Type: any
Example:
{
"message": "Incident not found"
}
Secured by oauth2_0
/incidents
Get a list of Incidents from the specified Analysis. Retrieve all Incidents in the Analysis or filter by Subsystem Id, Problem Id, Incident Id, or Unassociated Incidents.
get /incidents
Get a list of Incidents from the specified Analysis. Retrieve all Incidents in the Analysis or filter by Subsystem Id, Problem Id, Incident Id, or Unassociated Incidents.
Query Parameters
- analysisId: required(integer)
The Id of the Analysis from which you want to retrieve Incidents.
- fields: required(string)
JSON list of fields to retrieve for each Incident. Leave empty to return all fields.
- incidentId: (integer)
Pass this parameter to retrieve a specific Incident record.
- subsystemId: (integer)
Pass this parameter to retrieve only Incidents associated to this Subsystem. Value will be ignored if an IncidentId is set.
- problemId: (integer)
Pass this parameter to retrieve only Incidents associated to this Problem. Value will be ignored if an IncidentId or SubsystemId value is set.
- unassociated: (boolean)
Pass this parameter to retrieve only Incidents not associated to any Subsystems. Value will be ignored if an IncidentId, SubsystemId, or ProblemId value is set.
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : 1,
"Identifier" : "Incident0001",
"Closed" : true
}
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{
"message" : "No records found"
}
Secured by oauth2_0
/incidentSubtable
Get the requested Incident Subtable record.
Delete the requested Incident Subtable record.
Insert a new Incident Subtable record with the supplied data.
Update an Incident Subtable record with the supplied data.
get /incidentSubtable
Get the requested Incident Subtable record.
Query Parameters
- id: required(integer)
Id of the requested Incident Subtable record.
- fields: required(string)
JSON list of fields to retrieve for the Incident Subtable record. Leave empty to return all fields.
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : 1,
"Description" : "This is the description of the record"
}
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{
"message" : "Incident Subtable record not found"
}
Secured by oauth2_0
delete /incidentSubtable
Delete the requested Incident Subtable record.
post /incidentSubtable
Insert a new Incident Subtable record with the supplied data.
Query Parameters
- analysisId: required(integer)
Id of the Analysis that will contain the Incident Subtable record.
- subtableName: required(string)
The name of the subtable to insert the new record into.
- incidentId: (integer)
Id of the Incident to associate the Incident Subtable record with.
- incidentIdentifier: (string)
Identifier of the Incident to associate the Incident Subtable record with. Value will be ignored if an IncidentId is set.
Body
Media type: application/x-www-form-urlencoded
Type: object
Properties- data: required(string)
JSON string of Field/Value pairs of data to insert into the Incident Subtable record.
Example:
{ "Description" : "This is the description of the record" }
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : 1,
"Results Log" : "Number of records imported: 1"
}
HTTP status code 400
Body
Media type: application/json
Type: any
Example:
{
"message" : "Analysis not found"
}
Secured by oauth2_0
put /incidentSubtable
Update an Incident Subtable record with the supplied data.
Query Parameters
- id: required(integer)
Id of the Incident Subtable record to update.
Body
Media type: application/x-www-form-urlencoded
Type: object
Properties- data: required(string)
JSON string of Field/Value pairs of data to insert into the Incident Subtable record.
Example:
{ "Description" : "This is the description of the record" }
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : 1,
"Results Log" : "Number of records imported: 1"
}
HTTP status code 400
Body
Media type: application/json
Type: any
Example:
{
"message": "Incident Subtable record not found"
}
Secured by oauth2_0
/incidentSubtables
Get a list of Incident Subtable records from the specified Analysis. Retrieve all Incident Subtable records in the Analysis or filter by Incident Id, or Incident Identifier.
get /incidentSubtables
Get a list of Incident Subtable records from the specified Analysis. Retrieve all Incident Subtable records in the Analysis or filter by Incident Id, or Incident Identifier.
Query Parameters
- analysisId: required(integer)
The Id of the Analysis from which you want to retrieve Incident Subtable records.
- subtableName: required(string)
The name of the subtable to retrieved records from.
- fields: required(string)
JSON list of fields to retrieve for each Incident Subtable record. Leave empty to return all fields.
- incidentId: (integer)
Pass this parameter to retrieve only Incident Subtable records associated to this Incident.
- incidentIdentifier: (string)
Pass this parameter to retrieve only Incident Subtable records associated to this Incident. Value will be ignored if an IncidentId is set.
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : 1,
"Description" : "This is the description of the record"
}
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{
"message" : "No records found"
}
Secured by oauth2_0
/list
Update a List with the supplied choices.
put /list
Update a List with the supplied choices.
Query Parameters
- analysisId: required(integer)
Id of the Analysis containing the List.
- listName: required(string)
The name of the List to add choices to.
- createList: required(boolean)
Create the List if it doesn't exist.
- clearList: (boolean)
Set this to remove all choices from the List before adding the new choices.
Body
Media type: application/x-www-form-urlencoded
Type: object
Properties- data: required(string)
JSON string of choices to add to the List
Example:
{ "Choice 1" }
HTTP status code 200
Body
Media type: application/json
Type: any
HTTP status code 400
Body
Media type: application/json
Type: any
Example:
{
"message": "List not found"
}
Secured by oauth2_0
/part
Get all Parts with the passed in Part Number.
Delete the requested Part.
Insert a new Part with the supplied data.
Update a Part with the supplied data.
get /part
Get all Parts with the passed in Part Number.
Query Parameters
- analysisId: required(integer)
Id of the Analysis that will contain the Parts.
- partnumber: required(string)
The Part Number of the Parts that you want to retrieve their Id.
- subsystemId: required(integer)
Pass this parameter to retrieve Parts associated to this Subsystem.
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : 1,
"SubsystemId" : 1,
"Description" : "This is the description."
}
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{
"message" : "Part not found"
}
Secured by oauth2_0
delete /part
Delete the requested Part.
post /part
Insert a new Part with the supplied data.
Query Parameters
- subsystemId: required(integer)
Id of the Subsystem to associate the Part with.
Body
Media type: application/x-www-form-urlencoded
Type: object
Properties- data: required(string)
JSON string of Field/Value pairs of data to insert into the Part.
Example:
{ "Description" : "This is the description of the record" }
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : 1,
"Results Log" : "Number of records imported: 1"
}
HTTP status code 400
Body
Media type: application/json
Type: any
Example:
{
"message" : "Analysis not found"
}
Secured by oauth2_0
put /part
Update a Part with the supplied data.
Query Parameters
- id: required(integer)
Id of the Part to update.
Body
Media type: application/x-www-form-urlencoded
Type: object
Properties- data: required(string)
JSON string of Field/Value pairs of data to update into the Part.
Example:
{ "Description" : "This is the description of the record" }
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : 1,
"Results Log" : "Number of records imported: 1"
}
HTTP status code 400
Body
Media type: application/json
Type: any
Example:
{
"message": "Analysis not found"
}
Secured by oauth2_0
/parts
Get a list of Parts from the specified Analysis. Retrieve all Parts in the Analysis or filter by Subsystem Id.
get /parts
Get a list of Parts from the specified Analysis. Retrieve all Parts in the Analysis or filter by Subsystem Id.
Query Parameters
- analysisId: required(integer)
The Id of the Analysis that you want to retrieve Parts from.
- fields: required(string)
JSON list of fields to retrieve for each Part. Leave empty to return all fields.
- subsystemId: (integer)
Pass this parameter to retrieve only Parts associated to this Subsystem.
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : 1,
"Name" : "Part1"
}
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{
"message" : "No records found"
}
Secured by oauth2_0
/problem
Get the Id of the requested Problem.
Delete the requested Problem.
Insert a new Problem with the supplied data.
Update a Problem with the supplied data.
get /problem
Get the Id of the requested Problem.
Query Parameters
- analysisId: required(integer)
Id of the Analysis that will contain the Problem.
- identifier: required(string)
The identifier of the Problem that you want to retrieve.
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : 1
}
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{
"message" : "Problem not found"
}
Secured by oauth2_0
delete /problem
Delete the requested Problem.
post /problem
Insert a new Problem with the supplied data.
Query Parameters
- analysisId: required(integer)
Id of the Analysis that will contain the Problem.
- subsystemId: (integer)
Id of the Subsystem to associate the Problem with.
- incidentId: (integer)
Id of the Incident to associate the Problem with.
Body
Media type: application/x-www-form-urlencoded
Type: object
Properties- data: required(string)
JSON string of Field/Value pairs of data to update into the Problem.
Example:
{ "Description" : "This is the description of the record" }
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : 1,
"Problem Id" : "Problem0001",
"Results Log" : "Number of records imported: 1"
}
HTTP status code 400
Body
Media type: application/json
Type: any
Example:
{
"message" : "Analysis not found"
}
Secured by oauth2_0
put /problem
Update a Problem with the supplied data.
Query Parameters
- id: required(integer)
Id of the Problem to update.
Body
Media type: application/x-www-form-urlencoded
Type: object
Properties- data: required(string)
JSON string of Field/Value pairs of data to insert into the Problem.
Example:
{ "Description" : "This is the description of the record" }
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : 1,
"Problem Id" : "Problem0001",
"Results Log" : "Number of records imported: 1"
}
HTTP status code 400
Body
Media type: application/json
Type: any
Example:
{
"message": "Problem not found"
}
Secured by oauth2_0
/problems
Get a list of Problems from the specified Analysis. Retrieve all Problems in the Analysis or filter by Subsystem Id, Incident Id, Problem Id, or Unassociated Incidents.
get /problems
Get a list of Problems from the specified Analysis. Retrieve all Problems in the Analysis or filter by Subsystem Id, Incident Id, Problem Id, or Unassociated Incidents.
Query Parameters
- analysisId: required(integer)
The Id of the Analysis from which you want to retrieve Problems.
- fields: required(string)
JSON list of fields to retrieve for each Problem. Leave empty to return all fields.
- problemId: (integer)
Pass this parameter to retrieve a specific Problem record.
- subsystemId: (integer)
Pass this parameter to retrieve only Problems associated to this Subsystem. Value will be ignored if a ProblemId is set.
- incidentId: (integer)
Pass this parameter to retrieve only Problems associated to this Incident. Value will be ignored if a ProblemId or SubsystemId value is set.
- unassociated: (boolean)
Pass this parameter to retrieve only Problems not associated to any Subsystems. Value will be ignored if a ProblemId, SubsystemId, or IncidentId value is set.
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : 1,
"Identifier" : "Problem0001",
"Closed" : true
}
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{
"message" : "No records found"
}
Secured by oauth2_0
/problemSubtable
Get the requested Problem Subtable record.
Delete the requested Problem Subtable record.
Insert a new Problem Subtable record with the supplied data.
Update an Problem Subtable record with the supplied data.
get /problemSubtable
Get the requested Problem Subtable record.
Query Parameters
- id: required(integer)
Id of the requested Problem Subtable record.
- fields: required(string)
JSON list of fields to retrieve for the Problem Subtable record. Leave empty to return all fields.
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : 1,
"Description" : "This is the description of the record"
}
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{
"message" : "Problem Subtable record not found"
}
Secured by oauth2_0
delete /problemSubtable
Delete the requested Problem Subtable record.
post /problemSubtable
Insert a new Problem Subtable record with the supplied data.
Query Parameters
- analysisId: required(integer)
Id of the Analysis that will contain the Problem Subtable record.
- subtableName: required(string)
The name of the subtable to insert the new record into.
- problemId: (integer)
Id of the Problem to associate the Problem Subtable record with.
- problemIdentifier: (string)
Identifier of the Problem to associate the Problem Subtable record with. Value will be ignored if an ProblemId is set.
Body
Media type: application/x-www-form-urlencoded
Type: object
Properties- data: required(string)
JSON string of Field/Value pairs of data to insert into the Problem Subtable record.
Example:
{ "Description" : "This is the description of the record" }
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : 1,
"Results Log" : "Number of records imported: 1"
}
HTTP status code 400
Body
Media type: application/json
Type: any
Example:
{
"message" : "Analysis not found"
}
Secured by oauth2_0
put /problemSubtable
Update an Problem Subtable record with the supplied data.
Query Parameters
- id: required(integer)
Id of the Problem Subtable record to update.
Body
Media type: application/x-www-form-urlencoded
Type: object
Properties- data: required(string)
JSON string of Field/Value pairs of data to insert into the Problem Subtable record.
Example:
{ "Description" : "This is the description of the record" }
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : 1,
"Results Log" : "Number of records imported: 1"
}
HTTP status code 400
Body
Media type: application/json
Type: any
Example:
{
"message": "Problem Subtable record not found"
}
Secured by oauth2_0
/problemSubtables
Get a list of Problem Subtable records from the specified Analysis. Retrieve all Problem Subtable records in the Analysis or filter by Problem Id, or Problem Identifier.
get /problemSubtables
Get a list of Problem Subtable records from the specified Analysis. Retrieve all Problem Subtable records in the Analysis or filter by Problem Id, or Problem Identifier.
Query Parameters
- analysisId: required(integer)
The Id of the Analysis from which you want to retrieve Problem Subtable records.
- subtableName: required(string)
The name of the subtable to retrieved records from.
- fields: required(string)
JSON list of fields to retrieve for each Problem Subtable record. Leave empty to return all fields.
- problemId: (integer)
Pass this parameter to retrieve only Problem Subtable records associated to this Problem.
- problemIdentifier: (string)
Pass this parameter to retrieve only Problem Subtable records associated to this Problem. Value will be ignored if an ProblemId is set.
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : 1,
"Description" : "This is the description of the record"
}
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{
"message" : "No records found"
}
Secured by oauth2_0
/rbd
Update an RBD block with the supplied data.
put /rbd
Update an RBD block with the supplied data.
Query Parameters
- id: required(integer)
Id of the RBD block to update.
Body
Media type: application/x-www-form-urlencoded
Type: object
Properties- data: required(string)
JSON string of Field/Value pairs of data to insert.
Example:
{ "Description" : "This is the description of the record" }
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : 1,
"Results Log" : "Number of records imported: 1"
}
HTTP status code 400
Body
Media type: application/json
Type: any
Example:
{
"message": "RBD block not found"
}
Secured by oauth2_0
/rbds
Get a list of top level RBD diagrams and their calculation results from the specified Analysis.
get /rbds
Get a list of top level RBD diagrams and their calculation results from the specified Analysis.
Query Parameters
- analysisId: required(integer)
The Id of the Analysis from which you want to retrieve top level diagram calculation results.
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : 1,
"Name" : "Quadcopter Drone",
"Results" : "<data>",
"Parameters" : "<data>",
"Blocks" : "<data>",
"BlockAssociations" : "<data>"
}
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{
"message" : "No records found"
}
Secured by oauth2_0
/subsystems
Get a list of Subsystems from the specified Analysis. Retrieves all Subsystems in the Analysis sorted hierarchically.
get /subsystems
Get a list of Subsystems from the specified Analysis. Retrieves all Subsystems in the Analysis sorted hierarchically.
Query Parameters
- analysisId: required(integer)
The Id of the Analysis from which you want to retrieve Subsystems.
- getPredictionResults: (boolean)
Set this to also retrieve any previously calculated Reliability Prediction results.
- getFracasResults: (boolean)
Set this to also retrieve any previously calculated FRACAS results.
- getParts: (boolean)
Set this to also retrieve parts in the list of subsystems.
- fields: (string)
JSON list of fields to retrieve for each Subsystem. Leave empty to return all fields.
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : 1,
"Name" : "System",
"ParentId" : 1,
"Level" : 0
}
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{
"message" : "No records found"
}
Secured by oauth2_0
/url
Get the Relyence URL of the requested record.
get /url
Get the Relyence URL of the requested record.
Query Parameters
- analysisId: required(integer)
Id of the Analysis that will contain the record.
- table: (string)
The table of the record to open (if necessary). ('Functions', 'Modes', 'Actions', 'Causes', 'Characteristics', 'ControlMethods','Effects','Requirements','VerificationPlans','VerificationReports','Components','Problems','Incidents')
- recordId: (integer)
Id of the record to open (if necessary).
- module: (integer)
The Relyence module to open (if necesary). FMEA = 0, FRACAS = 1, Fault Tree = 2, Prediction = 3, RBD = 8, Weibull = 9, Maintainability = 10
- fmeaType: (integer)
The type of Fmea of the record (if necessary). FMECA = 0, Design Fmea = 1, or Process Fmea = 2
- urlType: (integer)
Get URL to what type of view (if necessary). Analysis = 0, Analysis Tree = 1, Table = 2, Form = 3, or Tree Properties = 4
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"url" : "https://app.relyence.com"
}
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{
"message" : "Analysis not found"
}
Secured by oauth2_0
/user
Get the requested user by Email. This will return the list of Groups that the user is associated with.
Delete the requested User.
Insert a new user with the supplied data.
Update a User with the supplied data.
get /user
Get the requested user by Email. This will return the list of Groups that the user is associated with.
Query Parameters
- email: required(string)
The Email of the User that you want to retrieve.
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"FirstName" : "Support",
"LastName" : "Relyence",
"Email" : "support@relyence.com",
"Company" : "Relyence",
"Phone" : "724-832-1900",
"Inactive" : false,
"Groups" : "Group 1; Group 2"
}
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{
"message" : "User not found"
}
Secured by oauth2_0
delete /user
Delete the requested User.
post /user
Insert a new user with the supplied data.
Body
Media type: application/x-www-form-urlencoded
Type: object
Properties- data: required(string)
JSON string of Field/Value pairs of data to update for the User.
Example:
{ "FirstName" : "Support", "LastName" : "Relyence", "Email" : "support@relyence.com", "Company" : "Relyence", "Phone" : "724-832-1900", "Inactive" : false, "Groups" : "Group 1; Group 2" }
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Email" : "support@relyence.com"
}
HTTP status code 400
Body
Media type: application/json
Type: any
Example:
{
"message" : "User already exists"
}
Secured by oauth2_0
put /user
Update a User with the supplied data.
Query Parameters
- email: required(string)
The Email of the User that you want to update.
Body
Media type: application/x-www-form-urlencoded
Type: object
Properties- data: required(string)
JSON string of Field/Value pairs of data to update for the User.
Example:
{ "Groups" : "Group 3" }
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Email" : "support@relyence.com",
"Results Log" : "Number of records imported: 1"
}
HTTP status code 400
Body
Media type: application/json
Type: any
Example:
{
"message": "Email already exists"
}
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{
"message" : "User not found"
}
Secured by oauth2_0
/users
Get a list of Users in the system. This does not return the list of Groups that the users are associated with.
get /users
Get a list of Users in the system. This does not return the list of Groups that the users are associated with.
/weibulls
Get a list of Weibulls from the specified Analysis. Retrieve all Weibulls in the Analysis.
get /weibulls
Get a list of Weibulls from the specified Analysis. Retrieve all Weibulls in the Analysis.
Query Parameters
- analysisId: required(integer)
The Id of the Analysis that you want to retrieve Weibull Data Sets from.
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"Id" : 1,
"Name" : "Data Set 1",
"DataType" : "Exact Times",
"Distribution" : "Weibull - 3 Parameter",
"EstimationMethod" : "Ranked Regression",
"MedianRankingMethod" : "Benard",
"MmleType" : "RBA Mean",
"ConfidenceType" : "None",
"ConfidenceMethod" : "Fisher Matrix",
"ConfidenceLevel" : 90,
"Result1" : 0.01,
"Result2" : 0.01,
"Result3" : 0.01,
"Result4" : 0.01,
"Result5" : 0.01
}
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{
"message" : "No records found"
}