IBM Maximo: Dicas de APIs Rest: Difference between revisions
Line 50: | Line 50: | ||
| uri?oslc.select || - || Fields to retrieve. Sample: intobjectname,description,rel.maxintobjdetail{objectname,hierarchypath} | | uri?oslc.select || - || Fields to retrieve. Sample: intobjectname,description,rel.maxintobjdetail{objectname,hierarchypath} | ||
|- | |- | ||
| uri?oslc.pageSize || - || | | uri?oslc.pageSize=N || - | ||
|| | |||
* Stable Paging – good for downloading large data sets. | |||
* Auto paging – Helps prevent OOM for large dataset requests when no page size specified. | |||
* Limit Paging – Helps prevent OOM for large dataset requests when high page size specified. | |||
|- | |- | ||
| uri?oslc.where || application/json || | | uri?oslc.where || application/json | ||
|| | |||
Where clause. Sample: | Where clause. Sample: | ||
* usewith='INTEGRATION' | * usewith='INTEGRATION' | ||
Line 63: | Line 68: | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
! Key | ! Key !! Description | ||
|- | |- | ||
| uri?oslc.select=attr1,attr2,child{attr4,attr5,grandchild{*}} || - || | | uri?oslc.select=attr1,attr2,child{attr4,attr5,grandchild{*}} || - | ||
|} | |||
== where == | |||
{| class="wikitable sortable" | |||
|- | |- | ||
| uri?oslc.where=attr1 in [“val1”,”val2”] and attr2>200 || - | ! Key !! Description | ||
|- | |||
| uri?oslc.where=attr1 in [“val1”,”val2”] and attr2>200 || - | |||
|} | |} | ||
Revision as of 19:47, 25 January 2022
Arquitetura
Documentação
Artigos de Referência
- Send notifications to Slack via Maximo Integration Framework
- Custom autoscript end point realizes to access OAuth2 protected resources
Technotes
URLs
/maximo/oslc/os/MXINTOBJECT
/maximo/oslc/os/MXOBJECTCFG
Headers
Key | Value | Description |
---|---|---|
maxauth | base64(username:password) | Username and Password encoded as base64 |
Content-Type | application/json | Example |
Accept | application/json | Example |
Parameters
Key | Value | Description |
---|---|---|
uri?lean=1 | 1 | simple notation |
uri?oslc.select | - | Fields to retrieve. Sample: intobjectname,description,rel.maxintobjdetail{objectname,hierarchypath} |
uri?oslc.pageSize=N | - |
|
uri?oslc.where | application/json |
Where clause. Sample:
|
uri?savedQuery=name | - | Saved query can be SQL, Java, Auto Script. /apimeta/<os name> lists all saved queries for an Object Structure |
oslc.select
Key | Description |
---|---|
uri?oslc.select=attr1,attr2,child{attr4,attr5,grandchild{*}} | - |
where
Key | Description |
---|---|
uri?oslc.where=attr1 in [“val1”,”val2”] and attr2>200 | - |