SLAM API
Holocentric supports an XML-based API that is based on OData and works with an XSD. The API supports a single RESTful service that can query and return item content. All API access is performed over HTTPS and accessed from a variable URI based on client installations and libraries. The API version 1.0 and as an original release is not a factor in the base URI.
The BMS REST API strives to use appropriate HTTP methods for each action:
Method | Action |
---|---|
HEAD |
Retrieve HTTP header information for one or more resources. Do not rely on this information between requests. |
GET |
Retrieve one or more resources. |
POST |
Create a resource or perform a custom action. |
PATCH |
Partially update a resource. |
PUT |
Completely replace a resource. |
DELETE |
Delete a resource. |
The following status codes will be sent from the Iconfinder REST API:
Status code | Meaning |
---|---|
200 OK |
Indicates that a request completed successfully and the response contains data. |
401 Unauthorized |
Error indicating that the request was performed with invalid or no authorization information. |
404 Not Found |
Error indicating that the requested resource was not found or, alternatively, is not publicly available. |
500 Internal Server Error |
Holocentric BMS uses OAuth for the service authentication. This authentication mechanism requires an initial call to authenticate the API user based on the user name and password provided, and will then return an access token. This access token has a default expirt time of 8 hours. The API user must be a licensed user with the System Authority role ‘API Client (Full Read)’ assigned in order to be able to authenticate with the service. This user will have access to all mapped properties of the service.
The token that is received can then be used for subsequent API requests.
- The API will require SSL to be enabled on any server providing the service.
- Tokens must not be shared; only the requesting IP address can use the token provided.
- Subsequent requests for a token within the 8 hour expiry period will not expire existing valid tokens.
{server_url}
/api/token{server_url}
/api/tokenPrior to making any API requests, you need to obtain an access token that will be used for all subsequent API requests.
Path variables
URL of the Modelpedia server. (e.g. http://modelpedia.com.au)
Request parameters
Use the value ‘password’ since you will be obtaining an access token using the your password credentials.
The account username for which you want to obtain an access token.
The account password for which you want to obtain an access token.
Request body
Responses
Upon successful submission of the API request, an XML response will be returned with the access token, token type issued and expiry time in milliseconds.
Body
{server_url}
/api/{model_choice}
/{model_guid}
/items/schemaThis is to query the schema of a library using the model_guid. When using the library UUID, you are required to provide the model choice. (i.e. LatestDraft, LatestProposed otr LatestFinal)
Path variables
Modelpedia server URL. e.g. http://www.modelpedia.com.au
Specifies if you want to retreive the draft, proposed or final version of the library. (e.g., LatestDraft, LatestProposed or LatestFinal)
The published model uuid. (i.e. the uuid of the specific library version.)
Responses
{server_url}
/api/{model_guid}
/items/schemaThis is used to query the items schema when you provide the UUID of the specific published model library.
Path variables
Modelpedia server URL. (e.g., http://www.modelpedia.com.au)
The UUID of the published model library.
{server_url}
/api/{model_guid}
/items?$filter=isof('{item_type}
')This API request will retreive all items relating to the specified item type. The item type can be filtered out using the $filter paramater and the ‘isOf’ option. e.g., filter=isof(‘Business Rule’) will list out all items that are listed under item type ‘Business Rule’.
Path variables
Request parameters
GET https://uat-313.holocentric.com/api/LatestDraft/{F43EC40F-B1EC-41DE-A59A-8E19705666D7}/items?$filter=isof('Branch')
Content-Type: application/xml
200 OK
<?xml version="1.0" encoding="utf-8"?>
<items xsi:schemaLocation="https://uat-313.holocentric.com/api/{FA404B82-C6AF-4AD2-B029-9FFEFBB959FD}/items/schema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Branch>
<uuid>{0C1BACCE-3F97-475C-90EE-7E1E99BCD732}</uuid>
<title>Branch - Octal Ocelot</title>
<name>Branch - Octal Ocelot</name>
<aliases>
<value>Octal Ocelot</value>
</aliases>
<description><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p></description>
<memberPositions>
<PositionInstance refUuid="{31C7D04E-9E7C-4871-877A-1D8834E165A7}" />
</memberPositions>
<organisedBy>
<Division refUuid="{7224D4CF-5988-4C9D-89A7-514047C3C55D}" />
</organisedBy>
</Branch>
<Branch>
<uuid>{1FDA8AF5-0F73-49EE-97C8-EF78DDA8C9DD}</uuid>
<title>Branch - Monal Vast</title>
<name>Branch - Monal Vast</name>
<aliases>
<value>Monal Vast</value>
</aliases>
<description><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p></description>
<organisedBy>
<Division refUuid="{7224D4CF-5988-4C9D-89A7-514047C3C55D}" />
</organisedBy>
</Branch>
<Branch>
<uuid>{2C8952F6-C1FA-4BC1-B101-D5183A20353C}</uuid>
<title>Branch - Eel Chinchilla</title>
<name>Branch - Eel Chinchilla</name>
<aliases>
<value>Eel Chinchilla</value>
</aliases>
<description><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p></description>
<responsibleForReleaseOf>
<InformationAsset refUuid="{7F5F3BD5-2A7A-4A01-A61D-750D73468EC8}" />
</responsibleForReleaseOf>
</Branch>
<Branch>
<uuid>{373596B5-3817-4EA0-BAD6-D030356F9A11}</uuid>
<title>Branch - Newt Bellicose</title>
<name>Branch - Newt Bellicose</name>
<aliases>
<value>Newt Bellicose</value>
</aliases>
<description><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p></description>
<responsibleForReleaseOf>
<InformationAsset refUuid="{B58EA090-62E1-4968-B7B8-480329C6F6AB}" />
</responsibleForReleaseOf>
</Branch>
<Branch>
<uuid>{39D54441-DD44-48B1-9962-8E9B477ACBAE}</uuid>
<title>Branch - Karmic Iguanodon</title>
<name>Branch - Karmic Iguanodon</name>
<aliases>
<value>Karmic Iguanodon</value>
</aliases>
<description><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p></description>
<organisedBy>
<Division refUuid="{7224D4CF-5988-4C9D-89A7-514047C3C55D}" />
</organisedBy>
</Branch>
</items>
The request was malformed.
The request was malformed. The query parameter
parameter
contains an invalid value.
Body
Invalid credentials were used to authenticate the request.
Body
Permission to the requested resource was denied. This often means that a request should have been authenticated but wasn’t. dispatched to clean up the mess immediately!
Body
The authentication used does not have the required permissions to access the requested resource. Make sure the authentication was performed with the necessary scope.
Body
The premium resource you’re trying to access has not been purchased by the authenticated user.
Body
The requested resource does not exist or is not publicly available.
Body
API request rate limit exceeded. See rate limiting
.
Body
An internal server error occured. This shouldn’t happen, and robots will be dispatched to deal with it immediately.
Body
See Format Model bold
interest
test enums
[See docs](doc://Data transmission sdfwef)
ewf
ewfwef
value sescription!