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.

NameDescriptionTypeAdditional information
Data

Unit

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "UnitId": "6c025e8c-d260-4794-9ea8-2717535ec714",
    "Code": "sample string 1",
    "Description": "sample string 2",
    "SourceSystemId": "sample string 3",
    "CompanyId": "55f00a22-7a5f-4541-86ae-0090db2f357f",
    "CreateDate": "2024-11-22T21:28:07.9130246-08:00",
    "CreateUser": "sample string 5",
    "LastModifiedDate": "2024-11-22T21:28:07.9130246-08:00",
    "LastModifiedUser": "sample string 6"
  },
  "Total": 1,
  "Message": "sample string 1"
}