product-usage

Uoms Get Post

POST
Gets a Unit of Measurement.

Request

This endpoint expects an object.
id
stringRequired
The Unit of Measurement (UOM)'s DON.

Response

This endpoint returns an object
uom
object
POST
1curl -X POST https://api.devrev.ai/uoms.get \
2 -H "Authorization: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "id": "string"
6}'
200Successful
1{
2 "uom": {
3 "aggregation_details": {
4 "aggregation_type": "duration",
5 "unique_dimension": "string"
6 },
7 "id": "string",
8 "is_enabled": true,
9 "metric_name": "string",
10 "metric_scope": "org",
11 "name": "string",
12 "product": {
13 "type": "capability",
14 "id": "string",
15 "name": "string",
16 "display_id": "string"
17 },
18 "unit": {
19 "name": "string",
20 "type": "boolean"
21 },
22 "created_by": {
23 "type": "dev_user",
24 "id": "string",
25 "display_id": "string",
26 "display_name": "string",
27 "display_picture": {
28 "id": "string",
29 "display_id": "string"
30 },
31 "email": "string",
32 "full_name": "string",
33 "state": "active"
34 },
35 "created_date": "2023-01-01T00:00:00Z",
36 "description": "string",
37 "dimensions": [
38 "string"
39 ],
40 "display_id": "string",
41 "modified_by": {
42 "type": "dev_user",
43 "id": "string",
44 "display_id": "string",
45 "display_name": "string",
46 "display_picture": {
47 "id": "string",
48 "display_id": "string"
49 },
50 "email": "string",
51 "full_name": "string",
52 "state": "active"
53 },
54 "modified_date": "2023-01-01T00:00:00Z",
55 "part": {
56 "type": "capability",
57 "id": "string",
58 "name": "string",
59 "display_id": "string"
60 }
61 }
62}