Skip to content

CommunityHiQ/Frends.Community.Efecte

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frends.Community.Efecte

A community task for sending requests to Efecte.
Only works on .NET6.0 and forward.

License: MIT

Installing

This task has to be built and imported manually.

Tasks

SendAttachment

A frends task for sending an attachment to data card.

Input

Property Type Description Example
Url string Target URL. Has to contain entityId, attributeId and operationType. https://efectetest.fi/api/itsm/fileUpload.ws?entityId=XXXXX&attributeId=XXXXX&operationType=add
FilePath string Full path to attachment file. FileParameterKey = file, FullPath = C:\tmp\test.txt
EntityId string Data card Entity ID to which the attachment should be sent to. 123456
AttributeId string Data card attribute ID to which the attachment should be saved to. 123

Options

Property Type Description Example
Username string Username for authentication. Only required when Basic authentication is selected. testuser
Password string Password for the user. Only required when Basic authentication is selected. verysecretpassword123
ThrowExceptionOnErrorResponse bool Throw exception if return code of request is not successful. token123

Returns

Property Type Description Example
StatusCode int Status code of response. 200
Body string Response from the target server. {"json": null, "url": "https://httpbin.org/post"}

Building

Clone a copy of the repository

git clone https://github.com/CommunityHiQ/Frends.Community.Efecte.git

Rebuild the project

dotnet build

Run tests

dotnet test

Create a NuGet package

dotnet pack --configuration Release

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

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.

  1. Fork the repository on GitHub
  2. Clone the project to your own machine
  3. Commit changes to your own branch
  4. Push your work back up to your fork
  5. 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!

Change Log

Version Changes
1.0.0 Initial implementation of the task.

About

Community tasks for sending requests to Efecte

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages