Applications - Contract Codes Get

List all blockchain smart contract implementations of the specified blockchain application. Users who are Workbench administrators get all smart contract implementations. Non-Workbench administrators get all smart contract implementations for which they have at least one associated application role or is associated with a smart contract instance role.

GET /api/v2/applications/{applicationId}/contractCode
GET /api/v2/applications/{applicationId}/contractCode?ledgerId={ledgerId}&top={top}&skip={skip}

URI Parameters

Name In Required Type Description
applicationId
path True
  • integer
int32

The id of the application

ledgerId
query
  • integer
int32

The index of the chain type

top
query
  • integer
int32

The maximum number of items to return

skip
query
  • integer
int32

The number of items to skip before returning

Responses

Name Type Description
200 OK

OK

204 No Content

No Content

Definitions

ContractCode
ContractCodeList

ContractCode

Name Type Description
contractCodeID
  • integer
createdByUserId
  • integer
createdDtTm
  • string
ledgerID
  • integer

ContractCodeList

Name Type Description
contractCodes
nextLink
  • string