Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.
Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |
Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
- Developer reference
- Overview of the REST API
- Connect to the REST API
- Authentication endpoint service
- Single record APIs
- Record bulk update and collection APIs
- REST API queries
- REST API collection query protocol
- Analytics REST API
- Manage Persons API
- BI Integration API
- Case Exchange REST API
- Encryption domain API
- Comments API
- REST API use-case scenario - import REST API
REST API use case scenario - import REST API
The import service supports importing record data into the EMS in either CSV or XML format. Imported data must comply with system and workflow rules for the import process to be successful.
You can access the service using one of the following URLs:
-
For CSV format: https://<serverAddress>/rest/<tenant-id>/import?entity-type=<entityType>&file-type=CSV
-
For XML format: https://<serverAddress>/rest/<tenant-id>/import?entity-type=<entityType>&file-type=XML
where entityType represents the type of record you are importing.
To import the data, use the HTTP method: POST. Set the header to be Content-Type with the value application/octet-stream.
CSV format request body
To import data in CSV format, make sure the CSV file follows these guidelines:
-
The first line of the file contains the record property names (headers) as specified in the metadata. The names must be identical to the record field names.
-
The following lines contain the data itself.
The following example can be used to create users:
FirstName,LastName,Email,Name,IsMaasUser,Upn
John,Smith,john.smith@microfocus.com,John Smith,false,john.smith@microfocus.com
John,Doe,john.doe@microfocus.com,John Doe,true,john.doe@microfocus.com
Click here to view a spreadsheet with sample CSV files for a series of records. The files should be imported sequentially according to their number.
Note The import service creates a separate record for each row of data in the CSV file.
XML format request body
To import data in XML format, make sure the XML file follows these guidelines:
-
Each property element contains a key element, which holds the record property name as specified in the metadata, and a value element, which holds the property value.
Example:
<entities xmlns="http://www.hpe.com/maas/1.0.0/import"> <entity> <property> <key>name</key> <value>my name 1</value> </property> <property> <key>severity</key> <value>my severity 1</value> </property> </entity> <entity> <property> <key>name</key> <value>my name 2</value> </property> <property> <key>severity</key> <value>my severity 2</value> </property> </entity> </entities>
Note The import service creates a separate record for each entity element in the XML file.
Related topics