 | 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
Syntaxpublic BlocksPutResult PutBlocks(
string sessionId,
Guid vintageId,
List<NewBlock> blocks,
bool recycleDisabledBlock
)
Public Function PutBlocks (
sessionId As String,
vintageId As Guid,
blocks As List(Of NewBlock),
recycleDisabledBlock As Boolean
) As BlocksPutResult
Dim instance As ThirdPartySystem
Dim sessionId As String
Dim vintageId As Guid
Dim blocks As List(Of NewBlock)
Dim recycleDisabledBlock As Boolean
Dim returnValue As BlocksPutResult
returnValue = instance.PutBlocks(sessionId,
vintageId, blocks, recycleDisabledBlock)
public final function PutBlocks(
sessionId : String,
vintageId : Guid,
blocks : List<NewBlock>,
recycleDisabledBlock : boolean
) : BlocksPutResult
function PutBlocks(sessionId, vintageId, blocks, 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:
BlocksPutResultAn 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
See Also