GET api/Units/GetAllSerialnumbers?Since={Since}

Returns all serialnumbers in your usergroup and all groups under your group, including time of last modification

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Since

(Optional) Only include units modified after this date

date

None.

Body Parameters

None.

Response Information

Resource Description

Returns all serialnumbers in your usergroup and all groups under your group, including time of last modification

Collection of UnitSerialNumberModel
NameDescriptionTypeAdditional information
SerialNumber

Read Only

string

Required

UserGroupId

integer32

None.

ReferenceId

string

None.

Name

string

None.

ItemDescription

string

None.

LastModified

UTC time of last modification

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "SerialNumber": "sample string 1",
    "UserGroupId": 2,
    "ReferenceId": "sample string 3",
    "Name": "sample string 4",
    "ItemDescription": "sample string 5",
    "LastModified": "2024-11-21T09:54:02.1361786+00:00"
  },
  {
    "SerialNumber": "sample string 1",
    "UserGroupId": 2,
    "ReferenceId": "sample string 3",
    "Name": "sample string 4",
    "ItemDescription": "sample string 5",
    "LastModified": "2024-11-21T09:54:02.1361786+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfUnitSerialNumberModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <UnitSerialNumberModel>
    <ItemDescription>sample string 5</ItemDescription>
    <LastModified>2024-11-21T09:54:02.1361786+00:00</LastModified>
    <Name>sample string 4</Name>
    <ReferenceId>sample string 3</ReferenceId>
    <SerialNumber>sample string 1</SerialNumber>
    <UserGroupId>2</UserGroupId>
  </UnitSerialNumberModel>
  <UnitSerialNumberModel>
    <ItemDescription>sample string 5</ItemDescription>
    <LastModified>2024-11-21T09:54:02.1361786+00:00</LastModified>
    <Name>sample string 4</Name>
    <ReferenceId>sample string 3</ReferenceId>
    <SerialNumber>sample string 1</SerialNumber>
    <UserGroupId>2</UserGroupId>
  </UnitSerialNumberModel>
</ArrayOfUnitSerialNumberModel>