Frends tasks to use VismaSign API: https://sign.visma.net/api/docs/v1/
- Frends.Community.VismaSign
You can install the task via FRENDS UI Task view, by searching for packages. You can also download the latest NuGet package from nuget feed and import it manually via the Task view.
Requirements
NET Core SDK 2.1 or later
Clone a copy of the repo
git clone https://github.com/CommunityHiQ/Frends.Community.VismaSign
Restore dependencies
dotnet restore
Build the solution
dotnet build
Create a nuget package
dotnet pack Frends.Community.VismaSign
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
- Fork the repo on GitHub
- Clone the project to your own machine
- Commit changes to your own branch
- Push your work back up to your fork
- Submit a Pull request so that we can review your changes
NOTE: Be sure to merge the latest from "upstream" before making a pull request!
Create document. See https://sign.visma.net/api/docs/v1/#action-document-create
| Property | Type | Description | Example |
|---|---|---|---|
| Body | json | Json body | {"key":"value"} |
| Property | Type | Description |
|---|---|---|
| Identifier | string | Client identifier |
| Secret | string | Client secret |
| BaseAddress | string | Base address |
| ThrowExceptionOnErrorResponse | bool | Throws error if request failed |
| Property | Type | Description |
|---|---|---|
| Location | string | Location of the created document |
| Headers | Dictionary<string,string> | Response headers |
| StatusCode | int | Response status code |
Add file. See https://sign.visma.net/api/docs/v1/#action-document-add-file
| Property | Type | Description | Example |
|---|---|---|---|
| DocumentUriId | string | Document uri | e59c8dc8-8848-4936-ac7c-50d9ed72085a |
| InputBytes | byte[] | Input bytes if !ReadFromFile | |
| ReadFromFile | boolk | Choose to read data from file | true |
| FileLocation | string | Location of the pdf file if ReadFromFile | c:\test.pdf |
| FileName | string | (Optinal) add file name | test.pdf |
| Property | Type | Description |
|---|---|---|
| Identifier | string | Client identifier |
| Secret | string | Client secret |
| BaseAddress | string | Base address |
| ThrowExceptionOnErrorResponse | bool | Throws error if request failed |
| Property | Type | Description |
|---|---|---|
| Body | string | Response body as string |
| Headers | Dictionary<string,string> | Response headers |
| StatusCode | int | Response status code |
Add invitation. See https://sign.visma.net/api/docs/v1/#action-document-create-invitations
| Property | Type | Description | Example |
|---|---|---|---|
| DocumentUriId | string | Document uri | e59c8dc8-8848-4936-ac7c-50d9ed72085a |
| Body | json | Json body | {"key":"value"} |
| Property | Type | Description |
|---|---|---|
| Identifier | string | Client identifier |
| Secret | string | Client secret |
| BaseAddress | string | Base address |
| ThrowExceptionOnErrorResponse | bool | Throws error if request failed |
| Property | Type | Description |
|---|---|---|
| Body | string | Response body as string |
| Headers | Dictionary<string,string> | Response headers |
| StatusCode | int | Response status code |
Search document. See https://sign.visma.net/api/docs/v1/#search-documents
| Property | Type | Description | Example |
|---|---|---|---|
| Query | string | query parameters | uuid=e59c8dc8-8848-4936-ac7c-50d9ed72085a |
| Property | Type | Description |
|---|---|---|
| Identifier | string | Client identifier |
| Secret | string | Client secret |
| BaseAddress | string | Base address |
| ThrowExceptionOnErrorResponse | bool | Throws error if request failed |
| Property | Type | Description |
|---|---|---|
| Body | string | Response body as string |
| Headers | Dictionary<string,string> | Response headers |
| StatusCode | int | Response status code |
Get document. See https://sign.visma.net/api/docs/v1/#action-document-get-file
| Property | Type | Description | Example |
|---|---|---|---|
| DocumentUriId | string | Document uri | e59c8dc8-8848-4936-ac7c-50d9ed72085a |
| Passphrase | string | Passphrase can be left empty | VGy7KTxt |
| Property | Type | Description |
|---|---|---|
| Identifier | string | Client identifier |
| Secret | string | Client secret |
| BaseAddress | string | Base address |
| ThrowExceptionOnErrorResponse | bool | Throws error if request failed |
| Property | Type | Description |
|---|---|---|
| Body | string | Response body as string |
| Headers | Dictionary<string,string> | Response headers |
| StatusCode | int | Response status code |
Get document. See https://sign.visma.net/api/docs/v1/#action-document-delete
| Property | Type | Description | Example |
|---|---|---|---|
| DocumentUriId | string | Document uri | e59c8dc8-8848-4936-ac7c-50d9ed72085a |
| Property | Type | Description |
|---|---|---|
| Identifier | string | Client identifier |
| Secret | string | Client secret |
| BaseAddress | string | Base address |
| ThrowExceptionOnErrorResponse | bool | Throws error if request failed |
| Property | Type | Description |
|---|---|---|
| Body | string | Response body as string |
| Headers | Dictionary<string,string> | Response headers |
| StatusCode | int | Response status code |
Search document. See https://sign.visma.net/api/docs/v1/#get-categories
| Property | Type | Description |
|---|---|---|
| Identifier | string | Client identifier |
| Secret | string | Client secret |
| BaseAddress | string | Base address |
| ThrowExceptionOnErrorResponse | bool | Throws error if request failed |
| Property | Type | Description |
|---|---|---|
| Body | string | Response body as string |
| Headers | Dictionary<string,string> | Response headers |
| StatusCode | int | Response status code |
This project is licensed under the MIT License - see the LICENSE file for details
| Version | Changes | | 0.0.13 | Added support for .NET 6.0 and .NET8.0 |