Resource blocks
Get all resource blocks
Returns all resource blocks (out of order blocks or internal use blocks). Note this operation uses Pagination and supports Portfolio Access Tokens.
Request
[PlatformAddress]/api/connector/v1/resourceBlocks/getAll
ClientToken
string
required
Token identifying the client application.
AccessToken
string
required
Access token of the client application.
Client
string
required
Name and version of the client application.
EnterpriseIds
array of string
optional, max 1000 items
ResourceBlockIds
array of string
optional, max 1000 items
AssignedResourceIds
array of string
optional, max 1000 items
CollidingUtc
optional, max length 3 months
CreatedUtc
optional, max length 3 months
UpdatedUtc
optional, max length 3 months
Extent
required
Extent of data to be returned.
Limitation
required
Limitation on the quantity of data returned.
Resource block extent
Inactive
bool
required
Whether the response should contain inactive entities.
Response
ResourceBlocks
required
The resource blocks colliding with the interval or matching the Id parameters.
Resource block
Id
string
required
Unique identifier of the block.
AssignedResourceId
string
required
IsActive
bool
required
Whether the block is still active.
Type
required
Type of the resource block.
StartUtc
string
required
Start of the block in UTC timezone in ISO 8601 format.
EndUtc
string
required
End of the block in UTC timezone in ISO 8601 format.
CreatedUtc
string
required
Creation date and time of the block in UTC timezone in ISO 8601 format.
UpdatedUtc
string
required
Last update date and time of the block in UTC timezone in ISO 8601 format.
Name
string
required
Name of the resource block.
Notes
string
optional
Note describing the resource block.
Resource block type
OutOfOrder
InternalUse
Add resource block
Adds a new resource block to the specified resource for a defined period of time.
Request
[PlatformAddress]/api/connector/v1/resourceBlocks/add
ClientToken
string
required
Token identifying the client application.
AccessToken
string
required
Access token of the client application.
Client
string
required
Name and version of the client application.
ResourceBlocks
required
Resource block parameters.
Resource block parameters
ResourceId
string
required
Name
string
required
Name of the resource block.
StartUtc
string
required
Start of the interval in UTC timezone in ISO 8601 format.
EndUtc
string
required
End of the interval in UTC timezone in ISO 8601 format.
Type
required
Type of the resource block.
Notes
string
optional
Note describing the resource block.
Response
ResourceBlocks
required
Resource blocks added.
Delete resource blocks
Removes specified resource blocks from the resources.
Request
[PlatformAddress]/api/connector/v1/resourceBlocks/delete
ClientToken
string
required
Token identifying the client application.
AccessToken
string
required
Access token of the client application.
Client
string
required
Name and version of the client application.
ResourceBlockIds
array of string
required
Response
Last updated