POST api/mto/Authentication

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

Request Information

URI Parameters

None.

Body Parameters

Needs a username and password without IN-SUMMA/

AuthenticateViewModel
NameDescriptionTypeAdditional information
userName

string

None.

passWord

string

None.

isKTO

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "userName": "sample string 1",
  "passWord": "sample string 2",
  "isKTO": true
}

application/xml, text/xml

Sample:
<AuthenticateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InSumma_Servicebus.Models">
  <isKTO>true</isKTO>
  <passWord>sample string 2</passWord>
  <userName>sample string 1</userName>
</AuthenticateViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

If authorized: token, if not authorized: error

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.