A community task for sending requests to Efecte.
Only works on .NET6.0 and forward.
This task has to be built and imported manually.
A frends task for sending an attachment to data card.
| 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 |
| 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 |
| 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"} |
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
This project is licensed under the MIT License - see the LICENSE file for details.
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 repository 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!
| Version | Changes |
|---|---|
| 1.0.0 | Initial implementation of the task. |