GET Units?unitId={unitId}

Retrieves a unit by its Id.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
unitId

Id of the unit

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

On success, the unit of measure.

NameDescriptionTypeAdditional information
Data

Unit

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "UnitId": "d8fa4197-e8ab-498e-a77d-3c37453ae74c",
    "Code": "sample string 1",
    "Description": "sample string 2",
    "SourceSystemId": "sample string 3",
    "CompanyId": "85a0b883-fefd-4b5a-8427-5065160f383d",
    "CreateDate": "2021-04-17T07:37:36.1265164-07:00",
    "CreateUser": "sample string 5",
    "CreateMachine": "sample string 6",
    "LastModifiedDate": "2021-04-17T07:37:36.1265164-07:00",
    "LastModifiedUser": "sample string 7",
    "LastModifiedMachine": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}