Technology APIs
Get Technology Packages (GET)
See <see cref="IOpenTechnologyService{TIdentity}.GetTechnologyPackages"/> documentation for more information.
Route
|
URI |
/api/v1/technology/packages |
|
Method |
GET |
|
Result |
JSON – TechnologyPackageModel[] |
Parameters
|
Name |
Type |
Mandatory |
Description |
|---|---|---|---|
|
withImages |
bool |
No |
|
Response Structure Returns TechnologyPackageModel[] object containing:
-
ResourceType: ResourceType value
-
Guid: The unique guid
-
Vendor: The unique name of the package vendor.
-
TechnologyId: The technology id is unique for the vendor and identifies the instance of this package.
-
Name: The name of the technology
-
Description: The description of the technology
-
IsModifySupported: Determines if this technology can be modified. (<see cref="pn.technologies.interfaces.modify.ITechnologyModifyService"/> is implemented)
-
IsTenantSupported: Determines if this technology belongs to a tenant. (<see cref="pn.technologies.interfaces.modify.ITechnologyModifyService"/> is implemented)
-
SystemDescription: Description of the system
-
SystemIcon16: string value
-
SystemIcon24: string value
-
SystemIcon48: string value
-
DisplayName: The culture-dependent display name for the technology
-
AccountDefinitions: GenericAccountDefinitionModel[] value
Example
GET http://localhost/api/v1/technology/packages
Example Response
{ "ResourceType": {}, "Guid": "123e4567-e89b-12d3-a456-426614174000", "Vendor": "sample", "TechnologyId": 1, "Name": "sample", "Description": "sample", "IsModifySupported": true, "IsTenantSupported": true, "SystemDescription": "sample", "SystemIcon16": "sample", "SystemIcon24": "sample", "SystemIcon48": "sample", "DisplayName": "sample", "AccountDefinitions": {} }
Get Providers (GET)
See <see cref="IOpenTechnologyService{TIdentity}.GetProviders"/> documentation for more information.
Route
|
URI |
/api/v1/technology/providers |
|
Method |
GET |
|
Result |
JSON – Dictionary<string, TechnologyProvider[]> |
Parameters
None
Example
GET http://localhost/api/v1/technology/providers