Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions certified-connectors/Nodefusion Portal/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ Nodefusion Portal connector is published here with the intent to provide Nodefus
The connector supports the following operations:
### Get Organization Profile
Get your organization profile properties along with its contacts and billing services.
### Get Organization's Work Services
List your work services with main properties along with consumption estimate.

## Obtaining Credentials
You should use your Organization's AD Account when creating PowerApps Connection, the same one you use on [Nodefusion Portal](https://portal.nodefusion.com/).
Expand Down
103 changes: 99 additions & 4 deletions certified-connectors/Nodefusion Portal/apiDefinition.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"name": "MIT",
"url": "http://opensource.org/licenses/MIT"
},
"version": "1.0.0"
"version": "1.1.0"
},
"x-ms-connector-metadata": [
{
Expand Down Expand Up @@ -78,6 +78,66 @@
],
"x-ms-visibility": "important"
}
},
"/organizations/{organizationId}/workservice": {
"get": {
"tags": [
"Organization",
"WorkServices",
"Work",
"Services",
"Get"
],
"summary": "Get Work Services",
"description": "Acquire Organization's Work Services along with consumption estimate",
"operationId": "GetOrgWorkServices",
"produces": [
"application/json"
],
"parameters": [
{
"in": "path",
"name": "organizationId",
"x-ms-summary": "organizationId",
"x-ms-url-encoding": "single",
"description": "This parameter is a Guid of your Organization",
"required": true,
"type": "string",
"format": "uuid"
}
],
"responses": {
"200": {
"description": "List of work services",
"schema": {
"type": "array",
"items": {
"$ref": "#/definitions/workServiceEstimateResponse"
}
},
"x-ms-summary": "List of work services"
},
"403": {
"description": "Forbidden response",
"x-ms-summary": "403 response"
},
"500": {
"description": "Error response",
"schema": {
"$ref": "#/definitions/messageResponse"
},
"x-ms-summary": "500 response"
}
},
"security": [
{
"oauth2_auth": [
"https://3procloud.onmicrosoft.com/3proportal/user_impersonation"
]
}
],
"x-ms-visibility": "important"
}
}
},
"definitions": {
Expand Down Expand Up @@ -161,6 +221,41 @@
}
}
}
},
"workServiceEstimateResponse": {
"type": "object",
"properties": {
"workServiceId": {
"type": "string"
},
"name": {
"type": "string"
},
"hoursIncluded": {
"format": "double",
"type": "number"
},
"hoursSpent": {
"format": "double",
"type": "number"
},
"from": {
"format": "date-time",
"type": "string"
},
"to": {
"format": "date-time",
"type": "string"
}
}
},
"messageResponse": {
"type": "object",
"properties": {
"message": {
"type": "string"
}
}
}
},
"parameters": {},
Expand All @@ -169,8 +264,8 @@
"oauth2_auth": {
"type": "oauth2",
"flow": "accessCode",
"authorizationUrl": "https://login.microsoftonline.com/te/3procloud.onmicrosoft.com/b2c_1a_signuporsigninwithaad/oauth2/v2.0/authorize",
"tokenUrl": "https://login.microsoftonline.com/te/3procloud.onmicrosoft.com/b2c_1a_signuporsigninwithaad/oauth2/v2.0/token",
"authorizationUrl": "https://3procloud.b2clogin.com/te/3procloud.onmicrosoft.com/b2c_1a_signuporsigninwithaad/oauth2/v2.0/authorize",
"tokenUrl": "https://3procloud.b2clogin.com/te/3procloud.onmicrosoft.com/b2c_1a_signuporsigninwithaad/oauth2/v2.0/token",
"scopes": {
"https://3procloud.onmicrosoft.com/3proportal/user_impersonation": "https://3procloud.onmicrosoft.com/3proportal/user_impersonation"
}
Expand All @@ -184,4 +279,4 @@
}
],
"tags": []
}
}
8 changes: 4 additions & 4 deletions certified-connectors/Nodefusion Portal/apiProperties.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
},
"customParameters": {
"authorizationUrl": {
"value": "https://login.microsoftonline.com/te/3procloud.onmicrosoft.com/b2c_1a_signuporsigninwithaad/oauth2/v2.0/authorize"
"value": "https://3procloud.b2clogin.com/te/3procloud.onmicrosoft.com/b2c_1a_signuporsigninwithaad/oauth2/v2.0/authorize"
},
"tokenUrl": {
"value": "https://login.microsoftonline.com/te/3procloud.onmicrosoft.com/b2c_1a_signuporsigninwithaad/oauth2/v2.0/token"
"value": "https://3procloud.b2clogin.com/te/3procloud.onmicrosoft.com/b2c_1a_signuporsigninwithaad/oauth2/v2.0/token"
},
"refreshUrl": {
"value": "https://login.microsoftonline.com/te/3procloud.onmicrosoft.com/b2c_1a_signuporsigninwithaad/oauth2/v2.0/token"
"value": "https://3procloud.b2clogin.com/te/3procloud.onmicrosoft.com/b2c_1a_signuporsigninwithaad/oauth2/v2.0/token"
}
}
}
Expand All @@ -34,4 +34,4 @@
"publisher": "Nodefusion",
"stackOwner": "Nodefusion"
}
}
}