Crm

APIDescription
GET api/crm/GetExcelData

No documentation available.

MTO

MTO controller handles al the mto requests

APIDescription
POST api/mto/Authentication

Checks the if a user is authenticated to the in summa service bus

GET api/mto/updateusers

Gets the emails for all users and if needed adds new entrys from crm

GET api/mto/activeusers

Gets all active users

GET api/mto/getUsers

Gets all user from database table users

GET api/mto/customers

Gets all customers from database table customers

GET api/mto/activecustomers

Gets all active customers from database table customers

POST api/mto/newcustomer

Creates a new customer

POST api/mto/updatecustomer

Updates customer

DELETE api/mto/deletecustomer/{id}

Deletes an existing customer from the database

GET api/mto/customersbymtoid/{mtoId}

Gets all customers for mto from database table customers

POST api/mto/promote

Promotes a User to admin

POST api/mto/demote

Promotes a User to admin

GET api/mto/all/{role}

Gets all mto models for hrm

GET api/mto/getCurrentUser

Gets all mto models for hrm

GET api/mto/allroles

Gets all roles

POST api/mto/updateroleforuser

Updates role for user

GET api/mto/questionKinds

Gets all the QuestionKinds for the Admin

GET api/mto/getQuestions

Gets all the Questions for the Admin

GET api/mto/get/{id}

Gets a MTO by id

POST api/mto/new/{bol}

Creates a new MTO in the database with a name only

POST api/mto/asnew

Creates a new MTO in the database with a name only

PUT api/mto/updateMTO/{id}

Updates an existing MTO in the database

GET api/mto/delete/{id}

Deletes an existing MTO from the database

GET api/mto/userEmails

Gets emailadresses for all users

GET api/mto/reminderEmails/{mtoId}

Gets all emails that can be reminded for mto

GET api/mto/getEmailsForMto/{mtoId}

Gets all emails that can be reminded for mto

POST api/mto/sendMail

Sends an invitation or reminder to selected group of people

POST api/mto/close

Closes a MTO

GET api/mto/departments

Gets all the departments

GET api/mto/departmentsByMtoId/{mtoId}

Gets departments by mtoid

GET api/mto/departmentById/{id}

Gets department by id

POST api/mto/addDepartment

Adds new department

PUT api/mto/updateDepartment

Updates department

GET api/mto/deleteDepartment/{id}

Deletes an existing department from the database

GET api/mto/chapters

Gets all the chapters

GET api/mto/open/{userId}/{isKTO}

Gets the open mto's for a user

POST api/mto/newReport

Creates new report in the database

PUT api/mto/asnewReport

Updates report in the database

POST api/mto/setAnswers

Creates a list with AnswerModels and saves it to the mtoservice

GET api/mto/getuserresponsesforktos

Gets all userResponses for KTOs

GET api/mto/getAnswers

Gets all given answers

GET api/mto/getAnswersByMtoId/{id}

Gets given answers for MTO

GET api/mto/getAnswersByGroupId/{id}

Gets given answers by GroupId

GET api/mto/getGradesForQuestionFromMto/{qId}/{mId}

Gets grades for Question

GET api/mto/getdefaultTexts/{role}

Gets default texts for specific role

GET api/mto/getDefaultTextsByKind/{role}/{kind}

Gets default texts for specific role

POST api/mto/newdefaulttext/{role}

Gets default texts for specific role

POST api/mto/updatedefaulttexts/{role}

Gets default texts for specific role

GET api/mto/deletedefaulttexts/{id}

Gets default texts for specific role

POST api/MTO?msg={msg}

No documentation available.

POST api/MTO.{ext}?msg={msg}

No documentation available.

HourRegistration

HourRegistration controller handles al the hourregistration requests

APIDescription
POST api/HourRegistration/Authentication

Checks the if a user is authenticated to the in summa service bus

GET api/HourRegistration/Get.{ext}/{weekId}/{yearId}

Gets all hourregistration models from the logged in user

GET api/HourRegistration/Get.{ext}/{userId}/{weekId}/{yearId}

Gets all information needed for the requested user

GET api/HourRegistration/GetAllUsers.{ext}

Gets all the users for the admin.

GET api/HourRegistration/GetHistoryData.{ext}/{orderId}

Gets order and project information when a user issn't coopled to a project in crm anymore

POST api/HourRegistration

Addes a new hourregistration into the database

POST api/HourRegistration/Comment

Addes a new hourregistration comment by day into the database

POST api/HourRegistration/DeleteComment

Deletes a hourregistration comment by day

PUT api/HourRegistration

Updates a hourregistartion with new values

PUT api/HourRegistration/{hourRegistrationId}

Will delete an hourregistration rocord by id, Only available for the admin.

Intranet

APIDescription
GET api/intranet/user/loggedin

Checks if user is logged in.

GET api/intranet/user/isadmin

Checks if user is a administrator.

GET api/intranet/user/get

Gets a user.

GET api/intranet/user/get/all

Gets all users.

POST api/intranet/user/update/legacy

Updates legacy credentials of the logged in user.

GET api/intranet/user/get/legacy

Gets legacy credentials of the logged in user.

GET api/intranet/sotech/get

Gets So Tech upcoming presentations.

GET api/intranet/sotech/check/{presentationId}

Checks if presentation can be filled in.

POST api/intranet/sotech/rating/post

Post a given rating.

POST api/intranet/sotech/get/comments

Get comments that are linked to a specific presentation.

GET api/intranet/sotech/get/results

Gets the results of all linked presentation.

POST api/intranet/sotech/get/results/average

Gets the average result by presentation name.

POST api/intranet/sotech/add/presentation

Adds a new So Tech presentation.

GET api/intranet/sotech/get/all

Gets all So Tech presentations.

POST api/intranet/sotech/remove

Remove a So Tech presentation.

GET api/intranet/weather/get

Gets the weather forecast from http://xml.buienradar.nl/.

GET api/intranet/suggestions/get/all

Get all suggestions.

POST api/intranet/suggestions/post

Post a new suggestions.

GET api/intranet/social/get

Get all social media posts.

GET api/intranet/settings/get/widgets

Get all widgets.

POST api/intranet/settings/post/widgets

Post widget positions.

GET api/intranet/settings/get/herostate

Get the state of the hero menu.

GET api/intranet/settings/toggle/herostate

Toggle the hero menu.

GET api/intranet/birthday/get

Get all birthdays of today.

GET api/intranet/birthday/get/upcoming

Get all upcoming birthdays.

GET api/intranet/tickets/{active}/{pageNumber}/{pageCount}

Get support tickets.

GET api/intranet/tickets/activities/get/{_guid}

Get the activities of a specific support ticket.

GET api/intranet/employee/overview/get

Get all employees.

POST api/intranet/poll/post

Creates a new poll.

GET api/intranet/poll/get/recent

Get most recent poll number.

GET api/intranet/poll/get/all

Get all poll numbers.

Ticket

Ticket controller handles al the ticketing requests

APIDescription
GET api/ticket/getuserdetails

Gets the details for the user that just logged in

GET api/ticket/getallinsummists

Get all the InSummists

GET api/ticket/gettickets/{active}/{pageNumber}/{pageCount}

Gets all the tickets, depending on the values that are passed with the call

GET api/ticket/getticketsstatusprio

Gets all tickets with the id, status and priority

POST api/ticket/updateticket

Updates the chosen ticket

POST api/ticket/closeticket

Closes the chosen ticket

POST api/ticket/cancelticket

Cancels the chosen ticket

POST api/ticket/reinstateticket

Reinstates the chosen ticket

POST api/ticket/deleteticket

Deletes the chosen ticket

POST api/ticket/createticket

Creates a new ticket

POST api/ticket/createticketfile/{ticketId}

Creates a new attachment for a ticket

GET api/ticket/getactivities/{_guid}

Gets the activities for a ticket

POST api/ticket/createnote

Create a note for a ticket

GET api/ticket/getnotes/{_guid}

Gets the notes for a ticket

GET api/ticket/getnoteowners

Gets the noteowners

GET api/ticket/getattachments/{_guid}

Gets the notes with attachments for a ticket

POST api/ticket/deletenote

Deletes a note

GET api/ticket/getprojectswithcustomer/{filtered}

Get the projects with the customerinfo

GET api/ticket/getaverageamountclosed

Gets the average amount of days that a closed case took

GET api/ticket/getrules

Get all the existing rules

POST api/ticket/createrule

Creates a new rule

POST api/ticket/updaterule

Updates a rule

POST api/ticket/deleterule

Deletes a rule

GET api/ticket/getothercontacts

Gets a list of other contacts

POST api/ticket/createcontact

Creates a new contact

GET api/ticket/gethistory/{ticketId}

Get the history of a ticket

GET api/ticket/getreportsfrompowerbi

Gets the reports from powerBI

GET api/ticket/getotherids

Gets id's of the reports that are linked to any other entity than account with customerid