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
355 changes: 354 additions & 1 deletion certified-connectors/DocuSign/apiDefinition.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"info": {
"version": "1.0",
"title": "DocuSign",
"x-ms-keywords": "DocuSign",
"description": "DocuSign helps organizations connect and automate how they prepare, sign, act on, and manage agreements.",
"x-ms-deployment-version": "1.0.0",
"x-ms-api-annotation": {
Expand Down Expand Up @@ -889,6 +890,221 @@
"x-ms-visibility": "important"
}
},
"/accounts/salesCopilotAccount/envelopes/getRelatedActivities": {
"get": {
"tags": [
"DocuSign"
],
"summary": "Sales Copilot: Get related activities",
"description": "Sales Copilot: Get related activities.",
"operationId": "scp-get-related-activities",
"x-ms-no-generic-test": true,
"consumes": [
"application/json",
"text/json",
"application/xml",
"text/xml",
"application/x-www-form-urlencoded"
],
"produces": [
"application/json",
"text/json",
"application/xml",
"text/xml"
],
"parameters": [
{
"name": "recordType",
"in": "query",
"required": true,
"enum": [
"account",
"opportunity",
"lead"
],
"type": "string"
},
{
"name": "recordId",
"in": "query",
"required": true,
"type": "string"
},
{
"name": "startDateTime",
"description": "Enter start date-time in the format: 2017-05-02T01:44Z",
"in": "query",
"type": "string",
"required": false,
"format": "date-time"
},
{
"name": "endDateTime",
"description": "Enter end date-time in the format: 2017-05-02T01:44Z",
"in": "query",
"type": "string",
"format": "date-time"
},
{
"name": "top",
"description": "Top envelopes to be returned",
"in": "query",
"type": "integer",
"format": "int32"
},
{
"name": "skip",
"description": "Envelopes to be skipped",
"in": "query",
"type": "integer",
"format": "int32"
},
{
"name": "crmType",
"in": "query",
"enum": [
"Dynamics365"
],
"type": "string"
},
{
"name": "crmOrgUrl",
"in": "query",
"type": "string"
}
],
"responses": {
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/ActivityListResponseEnvelope"
}
},
"400": {
"description": "Bad Request",
"schema": {
"$ref": "#/definitions/ApiError"
}
},
"500": {
"description": "Server Error",
"schema": {
"$ref": "#/definitions/ApiError"
}
}
},
"x-ms-openai-data": {
"openai-enabled": true
}
}
},
"/accounts/salesCopilotAccount/envelopes/getRelatedRecords": {
"get": {
"tags": [
"DocuSign"
],
"summary": "Sales Copilot: Get related records",
"description": "Sales Copilot: Get related records.",
"operationId": "scp-get-related-records",
"x-ms-no-generic-test": true,
"consumes": [
"application/json",
"text/json",
"application/xml",
"text/xml",
"application/x-www-form-urlencoded"
],
"produces": [
"application/json",
"text/json",
"application/xml",
"text/xml"
],
"parameters": [
{
"name": "recordType",
"in": "query",
"required": true,
"enum": [
"account",
"opportunity",
"lead"
],
"type": "string"
},
{
"name": "recordId",
"in": "query",
"required": true,
"type": "string"
},
{
"name": "startDateTime",
"description": "Enter start date-time in the format: 2017-05-02T01:44Z",
"in": "query",
"type": "string",
"required": false,
"format": "date-time"
},
{
"name": "top",
"description": "Top envelopes to be returned",
"in": "query",
"type": "integer",
"format": "int32"
},
{
"name": "skip",
"description": "Envelopes to be skipped",
"in": "query",
"type": "integer",
"format": "int32"
},
{
"name": "crmType",
"in": "query",
"enum": [
"Dynamics365"
],
"type": "string"
},
{
"name": "crmOrgUrl",
"in": "query",
"type": "string"
}
],
"responses": {
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/DocumentRecordListResponseEnvelope"
}
},
"400": {
"description": "Bad Request",
"schema": {
"$ref": "#/definitions/ApiError"
}
},
"401": {
"description": "Unauthorized",
"schema": {
"$ref": "#/definitions/ApiError"
}
},
"500": {
"description": "Server Error",
"schema": {
"$ref": "#/definitions/ApiError"
}
}
},
"x-ms-openai-data": {
"openai-enabled": true
}
}
},
"/accounts/{accountId}/envelopes/createFromTemplate": {
"post": {
"tags": [
Expand Down Expand Up @@ -2478,7 +2694,7 @@
"deprecated": false,
"x-ms-visibility": "important",
"x-ms-no-generic-test": true
},
}
},
"/login_information": {
"get": {
Expand Down Expand Up @@ -4465,6 +4681,86 @@
}
}
},
"Activity": {
"required": [
"dateTime",
"description",
"title"
],
"type": "object",
"properties": {
"title": {
"minLength": 1,
"type": "string"
},
"description": {
"minLength": 1,
"type": "string"
},
"dateTime": {
"type": "string",
"format": "date-time"
},
"url": {
"type": "string"
},
"additionalProperties": {
"type": "object",
"properties": {
"additionalProperties": {
"type": "string"
}
},
"x-ms-summary": "Additional Properties"
}
},
"additionalProperties": false
},
"DocumentRecord": {
"required": [
"recordId",
"recordTitle",
"recordTypeDisplayName",
"recordTypePluralDisplayName",
"recordType"
],
"type": "object",
"properties": {
"recordId": {
"minLength": 1,
"type": "string"
},
"recordTypeDisplayName": {
"minLength": 1,
"type": "string"
},
"recordTypePluralDisplayName": {
"minLength": 1,
"type": "string"
},
"recordType": {
"minLength": 1,
"type": "string"
},
"recordTitle": {
"minLength": 1,
"type": "string"
},
"url": {
"type": "string"
},
"additionalProperties": {
"type": "object",
"properties": {
"additionalProperties": {
"type": "string"
}
},
"x-ms-summary": "Additional Properties"
}
},
"additionalProperties": false
},
"Envelope": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -4534,6 +4830,63 @@
}
}
},
"ActivityListResponseEnvelope": {
"type": "object",
"properties": {
"value": {
"description": "Related activies",
"type": "array",
"items": {
"$ref": "#/definitions/Activity"
},
"x-ms-summary": "Related activities"
},
"hasMoreResults": {
"type": "boolean"
}
},
"additionalProperties": false
},
"DocumentRecordListResponseEnvelope": {
"type": "object",
"properties": {
"value": {
"description": "Related records",
"type": "array",
"items": {
"$ref": "#/definitions/DocumentRecord"
},
"x-ms-summary": "Related records"
},
"hasMoreResults": {
"type": "boolean"
}
},
"additionalProperties": false
},
"ApiError": {
"required": [
"errorCode"
],
"type": "object",
"properties": {
"errorCode": {
"minLength": 1,
"type": "string"
},
"errorMessage": {
"type": "string"
},
"activityId": {
"type": "string"
},
"details": {
"type": "object",
"additionalProperties": { }
}
},
"additionalProperties": false
},
"CreateEnvelopeResponse": {
"type": "object",
"properties": {
Expand Down
Loading