SdsUom API
- Last UpdatedSep 25, 2025
- 3 minute read
The s provide programmatic access to read and write Sequential Data Store () Key Distribution Center ()
-
Ticket Granting Service ()
-
Ticket-Granting-Ticket ()
-
Service Principle Name ()
Transport Level Security () data. The s in this section interact with SdsUoms. For more information, see Units of measure.
List Units of Measure
Returns a list of all available units of measure in the system
Request
GET /api/v1/Tenants/{tenantId}/Namespaces/{namespaceId}/Units?skip={skip}&count={count}
Parameters
string tenantId Tenant identifier
string namespaceId Namespace identifier
[Optional] int skip
Parameter representing the zero-based offset of the first object to retrieve. If unspecified,
a default value of 0 is used.
[Optional] int count
Parameter representing the maximum number of objects to retrieve. If unspecified,
a default value of 100 is used.
Response
|
Status Code |
Body Type |
Description |
|---|---|---|
|
200 |
SdsUom[] |
Returns a list of SdsUom objects |
|
400 |
One of the resources specified was invalid or missing. |
|
|
401 |
Unauthorized |
|
|
403 |
Forbidden |
|
|
404 |
One of the resources specified was not found. |
|
|
500 |
An error occurred while processing the request. |
|
|
503 |
Service Unavailable |
Example response body
200 Response
HTTP/1.1 200
Content-Type: application/json
[
{
"Id":"count",
"Abbreviation":"count",
"Name":"count",
"DisplayName":"count",
"QuantityId":"Quantity",
"ConversionFactor":1
},
{
"Id":"Ampere hour",
"Abbreviation":"Ah",
"Name":"Ampere hour",
"DisplayName":"Ampere hour",
"QuantityId":"Electric Charge",
"ConversionFactor":3600
},
{
"Id":"coulomb",
"Abbreviation":"C",
"Name":"coulomb",
"DisplayName":"coulomb",
"QuantityId":"Electric Charge",
"ConversionFactor":1
}
]
400 Response (ErrorResponseBody)
{
"OperationId": "string",
"Error": "string",
"Reason": "string",
"Resolution": "string",
"Parameters": {
"property1": "string",
"property2": "string"
}
}
Get Unit of Measure
Returns the unit of measure corresponding to the specified uomId within a given namespace
Request
GET /api/v1/Tenants/{tenantId}/Namespaces/{namespaceId}/Units/{uomId}
Parameters
string tenantId
Tenant identifier
string namespaceId
Namespace identifier
string uomId
The unit of measure identifier
Response
|
Status Code |
Body Type |
Description |
|---|---|---|
|
200 |
Returns the SdsUom |
|
|
400 |
One of the resources specified was invalid or missing. |
|
|
401 |
Unauthorized |
|
|
403 |
Forbidden |
|
|
404 |
One of the resources specified was not found. |
|
|
500 |
An error occurred while processing the request. |
|
|
503 |
Service Unavailable |
Example response body
200 Response
HTTP/1.1 200
Content-Type: application/json
{
"Id":"ounce",
"Abbreviation":"oz",
"Name":"ounce",
"DisplayName":"ounce",
"QuantityId":"Mass",
"ConversionFactor":0.028349523
}
400 Response (ErrorResponseBody)
{
"OperationId": "string",
"Error": "string",
"Reason": "string",
"Resolution": "string",
"Parameters": {
"property1": "string",
"property2": "string"
}
}
Definitions
SdsUom
DataContract representing a unit of measure
Properties
|
Property Name |
Data Type |
Required |
Nullable |
Description |
|---|---|---|---|---|
|
Id |
string |
false |
true |
Unique identifier for this unit of measure |
|
Abbreviation |
string |
false |
true |
Abbreviation for this unit of measure |
|
Name |
string |
false |
true |
Full name for this unit of measure |
|
DisplayName |
string |
false |
true |
Display name for this unit of measure |
|
QuantityId |
string |
false |
true |
The Id of the quantity that this unit is a measure of |
|
ConversionFactor |
double |
false |
false |
When a value of this unit is multiplied by the ConversionFactor and then incremented by the ConversionOffset, the value in terms of the base unit of the corresponding quantity is returned. |
|
ConversionOffset |
double |
false |
false |
When a value of this unit is multiplied by the ConversionFactor and then incremented by the ConversionOffset, the value in terms of the base unit of the corresponding quantity is returned. |
{
"Id": "string",
"Abbreviation": "string",
"Name": "string",
"DisplayName": "string",
"QuantityId": "string",
"ConversionFactor": 0,
"ConversionOffset": 0
}
ErrorResponseBody
Contains the error message format that follows the CONNECT data services error standards
Properties
|
Property Name |
Data Type |
Required |
Nullable |
Description |
|---|---|---|---|---|
|
OperationId |
string |
false |
true |
Operation unique identifier of action that caused the error |
|
Error |
string |
false |
true |
Error description |
|
Reason |
string |
false |
true |
Reason for the error |
|
Resolution |
string |
false |
true |
Resolution to resolve the error |
|
Parameters |
object |
false |
true |
IDs or values that are creating or are affected by the error |
{
"OperationId": "string",
"Error": "string",
"Reason": "string",
"Resolution": "string",
"Parameters": {
"property1": "string",
"property2": "string"
}
}