Skip to main content
Version: Next

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

    id string

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

    The asset identifier

    name stringrequired

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

    The attribute name

    value object

    ref

    object

    id string

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

    The asset identifier

    name stringrequired

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

    The attribute name

    value object
    timestamp int64
    messageID string
    deleted boolean
    realm string
    parentId string
    oldValue object
    oldValueTimestamp int64
    path string[]
    assetName string
    assetType string
    createdOn date-time

    type

    object

    name string

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

    constraints

    object[]

  • Array [

  • message string
    type stringrequired
  • ]

  • format

    object

    useGrouping boolean
    minimumIntegerDigits int32
    minimumFractionDigits int32
    maximumFractionDigits int32
    minimumSignificantDigits int32
    maximumSignificantDigits int32
    asBoolean boolean
    asDate boolean
    asSlider boolean
    resolution number
    dateStyle string

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

    timeStyle string

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

    dayPeriod string

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

    hour12 boolean
    iso8601 boolean
    weekday string

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

    era string

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

    year string

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

    month string

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

    week string

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

    day string

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

    hour string

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

    minute string

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

    second string

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

    fractionalSecondDigits int32
    timeZoneName string

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

    momentJsFormat string
    asNumber boolean
    asOnOff boolean
    asPressedReleased boolean
    asOpenClosed boolean
    asMomentary boolean
    multiline boolean
    units string[]
    arrayDimensions int32
    metaUseOnly boolean
    jsonType string
  • ]

Responses

default response

Schema

  • Array [

  • ref

    object

    id string

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

    The asset identifier

    name stringrequired

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

    The attribute name

    failure string

    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]

  • ]

Loading...