Click or drag to resize
dyostem api documentation

BlockCreationResult Class

[This is preliminary documentation and is subject to change.]

An instance of a BlockCreationResult object.
Inheritance Hierarchy
SystemObject
  Dyostem.Services.DataBlockCreationResult

Namespace:  Dyostem.Services.Data
Assembly:  Dyostem (in Dyostem.dll) Version: 5.3
Syntax
public class BlockCreationResult

The BlockCreationResult type exposes the following members.

Constructors
  NameDescription
Public methodBlockCreationResult
Default constructor to allow selrialization
Top
Properties
  NameDescription
Public propertyBlockId
the unique identifier of the created/enabled block
Public propertyBlockName
the name of the created/enabled block
Public propertyCreationResult
A human readable message of the creation/update blocks command result. Should be one of the following values:
  • "block created" - a new block has been created
  • "block enabled" - an existing, disabled, block has been enabled
  • "block already enabled" - the block is already enabled and will not be updated)
  • "block already exists but with different grape variety" - this block has not be created nor updated)
  • "block already exists but is disabled" - this block has not be created nor updated)
  • "Missing required block data type(s):" and a list block data types - this block has not be created nor updated
    • "XXXXX is missing (id:YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY)" - where XXXXX is the block data type name and YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY its unique identifier
  • "Invalid block data:" and a list of invalid data: - this block has not be created nor updated
    • "'ZZZZZ' is not a valid literal value for XXXXX (id:YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY)" - where ZZZZZ is the value provided by the third party system, XXXXX is the block data type name and YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY its unique identifier
    • "'ZZZZZ' is not a valid date time value for XXXXX (id:YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY)" - where ZZZZZ is the value provided by the third party system, XXXXX is the block data type name and YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY its unique identifier
    • "'ZZZZZ' is not a valid numeric value for XXXXX (id:YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY)" - where ZZZZZ is the value provided by the third party system, XXXXX is the block data type name and YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY its unique identifier
    • "'ZZZZZ' is not a valid true/false value for XXXXX (id:YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY)" - where ZZZZZ is the value provided by the third party system, XXXXX is the block data type name and YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY its unique identifier
    • "'ZZZZZ' is not a valid value for XXXXX (id:YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY)" - where ZZZZZ is the value translated by the sytem based on the value provided by the third party system, XXXXX is the block data type name and YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY its unique identifier
Top
See Also