Skip to main content
Version: 1.2.0

Update attribute values with timestamps

PUT 

/asset/attributes/timestamp

Update attribute values with timestamps

Request

Header Parameters

    Authorization string
    X-Forwarded-Proto string
    X-Forwarded-Host string

Body

array

  • Array [

  • attributeState

    object

    ref

    object

    idstring

    The asset identifier

    Possible values: Value must match regular expression ^[0-9A-Za-z]{22}$

    Example: 7Bt8M3cXEP6BHPh8r47DYf
    namestringrequired

    The attribute name

    Possible values: Value must match regular expression ^\w+$

    Example: location
    valueobject

    ref

    object

    idstring

    The asset identifier

    Possible values: Value must match regular expression ^[0-9A-Za-z]{22}$

    Example: 7Bt8M3cXEP6BHPh8r47DYf
    namestringrequired

    The attribute name

    Possible values: Value must match regular expression ^\w+$

    Example: location
    valueobject
    timestampint64
    messageIDstring
    deletedboolean
    realmstring
    parentIdstring
    oldValueobject
    oldValueTimestampint64
    pathstring[]
    assetNamestring
    assetTypestring
    createdOndate-time

    type

    object

    namestring

    Possible values: Value must match regular expression ^\w+(\[\])?$

    constraints

    object[]

  • Array [

  • messagestring
    typestringrequired
  • ]

  • format

    object

    useGroupingboolean
    minimumIntegerDigitsint32
    minimumFractionDigitsint32
    maximumFractionDigitsint32
    minimumSignificantDigitsint32
    maximumSignificantDigitsint32
    asBooleanboolean
    asDateboolean
    asSliderboolean
    resolutionnumber
    dateStylestring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    timeStylestring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    dayPeriodstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    hour12boolean
    iso8601boolean
    weekdaystring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    erastring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    yearstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    monthstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    weekstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    daystring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    hourstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    minutestring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    secondstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    fractionalSecondDigitsint32
    timeZoneNamestring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    momentJsFormatstring
    asNumberboolean
    asOnOffboolean
    asPressedReleasedboolean
    asOpenClosedboolean
    asMomentaryboolean
    multilineboolean
    unitsstring[]
    arrayDimensionsint32
    metaUseOnlyboolean
    jsonTypestring
  • ]

Responses

default response

Schema

  • Array [

  • ref

    object

    idstring

    The asset identifier

    Possible values: Value must match regular expression ^[0-9A-Za-z]{22}$

    Example: 7Bt8M3cXEP6BHPh8r47DYf
    namestringrequired

    The attribute name

    Possible values: Value must match regular expression ^\w+$

    Example: location
    failurestring

    Possible values: [ASSET_NOT_FOUND, ATTRIBUTE_NOT_FOUND, INSUFFICIENT_ACCESS, INVALID_VALUE, INTERCEPTOR_FAILURE, STATE_STORAGE_FAILED, CANNOT_PROCESS, QUEUE_FULL, UNKNOWN, ASSET_ID_MISSING, ATTRIBUTE_NAME_MISSING]

  • ]