PROCESIO SDK ~ Integrating with PROCESIO
3 min
to come to the aid of the community of developers who use procesio in their applications we released a sdk that will help them get started the procesio sdk makes it easier to interact with the procesio api from your application depending on the technology you are using we provided two ways for accessing your processes https //procesio sdk typescript zk32h ondigitalocean app/classes/procesiosdk html https //github com/procesio/procesio sdk dotnet the procesio sdk allows through the use of its methods to control the platform from inside your application the methods made available at the time of writing this article allow you to authenticate and create a token, run your process and upload a file you can use the github repository or install procesio sdk dotnet via nuget package manager if you want to use the nuget just search for "procesiosdk" or run the following command in the nuget package manager console pm> install package procesiosdk https //procesio sdk typescript zk32h ondigitalocean app/classes/procesiosdk html#runprocess { "tab" "examples", "url" "https //webapi procesio app/api/projects/xxxxxxxx xxxx xxxx xxxx xxxxxxxxxx/run", "name" "run process", "method" "post", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[ { "kind" "required", "name" "key", "type" "string", "description" "xxxxxxxx" }, { "kind" "required", "name" "value", "type" "string", "description" "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" }, { "kind" "required", "name" "workspace", "type" "string", "description" "demo" } ], "bodydataparameters" \[], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "dfsqzzy2rubzflpmzor88", "code" "{\n \\"instanceid\\" \\"556ddca3 5506 4fb9 a352 xxxxxxx\\"\n}", "language" "200" }, { "id" "tdtdhmpv7jvoavs3pccks", "code" "\[\n {\n \\"statuscode\\" 501,\n \\"value\\" \\"unauthorized user \\",\n \\"target\\" \\"invalid api key name or workspace\\"\n },\n {\n \\"statuscode\\" 450,\n \\"value\\" \\"database requested information not found \\",\n \\"target\\" \\"user\\"\n }\n]", "language" "400" } ], "selectedlanguageid" "dfsqzzy2rubzflpmzor88" }, "examples" { "languages" \[ { "id" "jza8hrzvfcwqgxoktdsyx", "code" "const sdkinstance = new procesiosdk();\n\nawait sdkinstance authenticate('username', 'password');\n\nconst runreq = await sdkinstance runprocess('xxxxxxxx xxxx xxxx xxxx xxxxxxxxxx', {to \\"someemail\@domain com\\", subject \\"process launched via sdk\\"})\n\nconsole log(runreq content? instanceid? id); // \\"xxxxxxxx xxxx xxxx xxxx xxxxxxxxxx\\"", "language" "javascript" } ], "selectedlanguageid" "jza8hrzvfcwqgxoktdsyx" }, "description" "run specific proce", "currentnewparameter" { "label" "header parameter", "value" "headerparameters" } } you will also need to provide the following body {"connectionid" "string"}
