/
Retrieve-Object-Data.yml
104 lines (101 loc) · 2.25 KB
/
Retrieve-Object-Data.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
### YamlMime:RESTOperation
uid: <servername>.operationsmanager.operationsmanager.data.retrieveobjectdata
name: Retrieve Object Data
service: Operations Manager
groupName: Data
apiVersion: v1
summary: Retrieves objects based on the specified criteria.
consumes:
- application/json
- text/json
- application/xml
- text/xml
- application/x-www-form-urlencoded
produces:
- application/json
- text/json
- application/xml
- text/xml
paths:
- content: POST http://<Servername>/OperationsManager/data/scomObjects
uriParameters: []
responses:
- name: 200 OK
description: OK.Successfully retrieved objects based on the specified criteria.
types:
- uid: ScopeDataResponse
requestBody:
- name: default
parameters:
- name: criteria
in: body
description: Specify the criteria to search.
types:
- uid: string
requestHeader: []
definitions:
- name: ScopeDataResponse
kind: object
properties:
- name: scopeDatas
description: Scope Data
types:
- uid: ScopeData
isArray: true
- name: ScopeData
kind: object
properties:
- name: id
description: ID
types:
- uid: string
- name: displayName
description: Display Name
types:
- uid: string
- name: className
description: Class Name
types:
- uid: string
- name: path
description: Path
types:
- uid: string
- name: fullName
description: Full Name
types:
- uid: string
examples:
- name: RetrieveSCOMObjects
request:
uri: POST http://<Servername>/OperationsManager/data/scomObjects
body: >-
[
"DisplayName LIKE '%unix%'"
]
codeTab: |+
# [HTTP](#tab/HTTP)
``` http
POST http://<Servername>/OperationsManager/data/scomObjects
[
"DisplayName LIKE '%unix%'"
]
```
responses:
- statusCode: "200"
body: >-
{
"scopeDatas": [
{
"id": "dfc9175d-c0bc-4166-7e0a-0f40c4d4fc6e",
"displayName": "UNIX/Linux Computer Group",
"className": "UNIX/Linux Computer Group",
"path": null,
"fullName": "Microsoft.Unix.ComputerGroup"
}
]
}
security: []
metadata:
description: Learn more about Operations Manager service - Retrieves objects based on the specified criteria.
errorCodes: []