Click or drag to resize
dyostem api documentation

ThirdPartySystemPutBlocks Method

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

Create or enabled customer's blocks, for the specified vintage.

Namespace:  Dyostem.Services
Assembly:  Dyostem (in Dyostem.dll) Version: 5.3
Syntax
public BlocksPutResult PutBlocks(
	string sessionId,
	Guid vintageId,
	List<NewBlock> blocks,
	bool recycleDisabledBlock
)

Parameters

sessionId
Type: SystemString
The SessionId returned by the OpenSession(String, String) command.
vintageId
Type: SystemGuid
A vintage unique identifier. Available vintages could be retrieved using the GetVintages(String) command.
blocks
Type: System.Collections.GenericListNewBlock
A list of NewBlock to create. Each NewBlock should have at least one NewBlockData defined for the BlockDataTypeId set to Vintetype type
recycleDisabledBlock
Type: SystemBoolean
Indicates that an existing, disabled, block that matches the new block, should be enabled instead of creating a new one

Return Value

Type: BlocksPutResult
An instance of BlocksPutResult made of Message indicating that the command succeeded or not, and a list of BlockCreationResult item, indicating for each block id the result of block creation.
Examples
Request
Response
Formated Json Response
See Also