133 строки
5.3 KiB
JSON
133 строки
5.3 KiB
JSON
{
|
|
"properties": {
|
|
"connectionParameters": {
|
|
"username": {
|
|
"type": "securestring",
|
|
"uiDefinition": {
|
|
"displayName": "username",
|
|
"description": "The username for this api",
|
|
"tooltip": "Provide the username",
|
|
"constraints": {
|
|
"tabIndex": 2,
|
|
"clearText": true,
|
|
"required": "true"
|
|
}
|
|
}
|
|
},
|
|
"password": {
|
|
"type": "securestring",
|
|
"uiDefinition": {
|
|
"displayName": "password",
|
|
"description": "The password for this api",
|
|
"tooltip": "Provide the password",
|
|
"constraints": {
|
|
"tabIndex": 3,
|
|
"clearText": false,
|
|
"required": "true"
|
|
}
|
|
}
|
|
},
|
|
"companyid": {
|
|
"type": "string",
|
|
"uiDefinition": {
|
|
"constraints": {
|
|
"required": "true"
|
|
},
|
|
"description": "Company id is provided by Verified. Can be found in the URL by logging in to app.verified.eu",
|
|
"displayName": "Company ID",
|
|
"tooltip": "Provided by Verified, see description"
|
|
}
|
|
}
|
|
},
|
|
"iconBrandColor": "#248ECE",
|
|
"capabilities": [],
|
|
"policyTemplateInstances": [
|
|
{
|
|
"templateId": "setheader",
|
|
"title": "Set authorization header",
|
|
"parameters": {
|
|
"x-ms-apimTemplateParameter.name": "authorization",
|
|
"x-ms-apimTemplateParameter.value": "JWT @headers('Token')",
|
|
"x-ms-apimTemplateParameter.existsAction": "override",
|
|
"x-ms-apimTemplate-policySection": "Request",
|
|
"x-ms-apimTemplate-operationName": [
|
|
"GetCompaniesCompanyId",
|
|
"GetEnvelopesEnvelopeIdRecipients",
|
|
"PostEnvelopesEnvelopeIdRecipients",
|
|
"GetEnvelopesEnvelopeIdRecipientsRecipientId",
|
|
"PutEnvelopesEnvelopeIdRecipientsRecipientId",
|
|
"GetCompaniesCompanyIdUsersUserIdSettings",
|
|
"GetEnvelopesEnvelopeIdDocumentsDocumentIdFilesFileIdUrl",
|
|
"GetEnvelopesEnvelopeId",
|
|
"DeleteEnvelopesEnvelopeId",
|
|
"PutEnvelopesEnvelopeId",
|
|
"PutEnvelopesEnvelopeIdPublishStatus",
|
|
"PutEnvelopesEnvelopeIdAbortStatus",
|
|
"PostEnvelopesEnvelopeIdDocumentsDocumentIdFiles",
|
|
"GetAuthUserinfo",
|
|
"GetEnvelopeDescriptorsEnvelopeDescriptorId",
|
|
"PutEnvelopesEnvelopeIdTrashStatus",
|
|
"GetQueryEnvelopes",
|
|
"GetEnvelopeDescriptors",
|
|
"GetFlowsFlowIdJobsEnvelopeId",
|
|
"DeleteEnvelopesEnvelopeIdDocumentsDocumentId",
|
|
"GetEnvelopesEnvelopeIdDocumentsDocumentId",
|
|
"PostEnvelopeDescriptorsEnvelopeDescriptorIdEnvelopes",
|
|
"GetEnvelopesEnvelopeIdDocuments",
|
|
"PostEnvelopesEnvelopeIdDocuments",
|
|
"PostEnvelopesEnvelopeIdJobsGetSignLink",
|
|
"GetEnvelopesEnvelopeIdDocumentsDocumentIdFilesFileId",
|
|
"PostEnvelopeDescriptorsDefaultEnvelopes",
|
|
"GetEnvelopeDescriptorsDefault",
|
|
"PostEnvelopesEnvelopIdJobsSendNotification",
|
|
"PostEnvelopesEnvelopeIdDocumentsDocumentIdTemplatesTemplateIdUserData",
|
|
"GetEnvelopesEnvelopeIdDocumentsDocumentIdFiles",
|
|
"PostEnvelopesEnvelopeIdDocumentsDocumentIdStatusAborted"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"templateId": "setheader",
|
|
"title": "Set company id for all requests",
|
|
"parameters": {
|
|
"x-ms-apimTemplateParameter.name": "x-namespace",
|
|
"x-ms-apimTemplateParameter.value": "/companies/@connectionParameters('companyid')",
|
|
"x-ms-apimTemplateParameter.existsAction": "skip",
|
|
"x-ms-apimTemplate-policySection": "Request",
|
|
"x-ms-apimTemplate-operationName": [
|
|
"GetEnvelopesEnvelopeIdRecipients",
|
|
"PostEnvelopesEnvelopeIdRecipients",
|
|
"GetEnvelopesEnvelopeIdRecipientsRecipientId",
|
|
"PutEnvelopesEnvelopeIdRecipientsRecipientId",
|
|
"GetEnvelopesEnvelopeIdDocumentsDocumentIdFilesFileIdUrl",
|
|
"GetEnvelopesEnvelopeId",
|
|
"DeleteEnvelopesEnvelopeId",
|
|
"PutEnvelopesEnvelopeId",
|
|
"PutEnvelopesEnvelopeIdPublishStatus",
|
|
"PostEnvelopesEnvelopeIdDocumentsDocumentIdTemplatesTemplateIdUserData",
|
|
"PutEnvelopesEnvelopeIdAbortStatus",
|
|
"GetEnvelopesEnvelopeIdDocumentsDocumentIdFiles",
|
|
"PostEnvelopesEnvelopeIdDocumentsDocumentIdFiles",
|
|
"PostEnvelopesEnvelopeIdDocumentsDocumentIdStatusAborted",
|
|
"GetEnvelopeDescriptorsEnvelopeDescriptorId",
|
|
"PutEnvelopesEnvelopeIdTrashStatus",
|
|
"GetQueryEnvelopes",
|
|
"GetEnvelopeDescriptors",
|
|
"GetEnvelopesEnvelopeIdDocumentsDocumentId",
|
|
"DeleteEnvelopesEnvelopeIdDocumentsDocumentId",
|
|
"PostEnvelopeDescriptorsEnvelopeDescriptorIdEnvelopes",
|
|
"GetEnvelopesEnvelopeIdDocuments",
|
|
"PostEnvelopesEnvelopeIdDocuments",
|
|
"PostEnvelopesEnvelopeIdJobsGetSignLink",
|
|
"GetEnvelopesEnvelopeIdDocumentsDocumentIdFilesFileId",
|
|
"GetEnvelopeDescriptorsDefault",
|
|
"PostEnvelopeDescriptorsDefaultEnvelopes",
|
|
"PostEnvelopesEnvelopIdJobsSendNotification"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"publisher": "CRM Konsulterna i Sverige AB",
|
|
"stackOwner": "Verified AB"
|
|
}
|
|
} |