IBM Maximo: Dicas de APIs Rest: Difference between revisions
No edit summary |
|||
Line 46: | Line 46: | ||
! Key !! Value!! Description | ! Key !! Value!! Description | ||
|- | |- | ||
| lean || 1 || simple notation | | uri?lean=1 || 1 || simple notation | ||
|- | |- | ||
| 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} | ||
|- | |- | ||
| oslc.pageSize || - || Page size. Sample: 1001 | | uri?oslc.pageSize || - || Page size. Sample: 1001 | ||
|- | |- | ||
| oslc.where || application/json || | | uri?oslc.where || application/json || | ||
Where clause. Sample: | Where clause. Sample: | ||
* usewith='INTEGRATION' | * usewith='INTEGRATION' | ||
* objectname IN ['WORKORDER','WOACTIVITY'] | * objectname IN ['WORKORDER','WOACTIVITY'] | ||
|- | |||
| uri?savedQuery=name || - || | |||
|} | |||
== oslc.select == | |||
{| class="wikitable sortable" | |||
|- | |||
! Key !! Value!! Description | |||
|- | |||
| uri?oslc.select=attr1,attr2,child{attr4,attr5,grandchild{*}} || - || - | |||
|- | |||
| uri?oslc.where=attr1 in [“val1”,”val2”] and attr2>200 || - || - | |||
|} | |} | ||
Revision as of 19:41, 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 | - | Page size. Sample: 1001 |
uri?oslc.where | application/json |
Where clause. Sample:
|
uri?savedQuery=name | - |
oslc.select
Key | Value | Description |
---|---|---|
uri?oslc.select=attr1,attr2,child{attr4,attr5,grandchild{*}} | - | - |
uri?oslc.where=attr1 in [“val1”,”val2”] and attr2>200 | - | - |