Published Attributes

Create Published Attribute Values

Changed on
post/published-attributes/{published-attribute-token}/values

Request

Request body

entity_tokenstring

Alloy-generated identifier for the entity that you want to set this published attribute's value for. Required for published attributes with object_type of entity (along with external_entity_id as an alternative).

transaction_tokenstring

Alloy-generated identifier for the transaction that you want to set this published attribute's value for. Required for published attributes with object_type of transaction.

timestampstring date-time

ISO 8601 date. Used to determine the most recent value of the published attribute, which will be used in the evaluation. If not provided, defaults to the current date time.

expires_atstring date-time nullable

The date and time the published attribute value expires

created_atstring date-time

The date and time the published attribute value was created.

Example request

[
  {
    "value": 100,
    "external_entity_id": "alex-checking-accnt-1"
  },
  {
    "value": 999,
    "entity_token": "P-xfLo1NUtvxeVCpQHtx8c",
    "timestamp": "2023-09-01T00:00:00.000Z"
  }
]

Response

Created published attribute values for the entity.

entity_tokenstring

Alloy-generated identifier for the entity that you want to set this published attribute's value for. Required for published attributes with object_type of entity (along with external_entity_id as an alternative).

transaction_tokenstring

Alloy-generated identifier for the transaction that you want to set this published attribute's value for. Required for published attributes with object_type of transaction.

timestampstring date-time

ISO 8601 date. Used to determine the most recent value of the published attribute, which will be used in the evaluation. If not provided, defaults to the current date time.

expires_atstring date-time nullable

The date and time the published attribute value expires

created_atstring date-time

The date and time the published attribute value was created.

Example response

[
  {
    "value": 999,
    "timestamp": "2022-11-11 20:11:22",
    "entity_token": "P-xfLo1NUtvxeVCpQHtx8c",
    "created_at": "2023-09-03T02:03:36.052Z",
    "expires_at": null,
    "status": "inserted",
    "error": null,
    "message": null
  }
]

Changes

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's property type changed from no type to object for status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added to the response property allOf list for the response status

    • info

      added to the response property allOf list for the response status

    • info

      removed from the response property allOf list for the response status