POST api/Operator/ValidateOperator

Validate operator for mobile (ITS credential)

Request Information

URI Parameters

None.

Body Parameters

LoginRequest
NameDescriptionTypeAdditional information
username

string

None.

password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "username": "sample string 1",
  "password": "sample string 2"
}

application/xml, text/xml

Sample:
<LoginRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMSWebAPI.Auth">
  <password>sample string 2</password>
  <username>sample string 1</username>
</LoginRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'LoginRequest'.

Response Information

Resource Description

ItsUsers
NameDescriptionTypeAdditional information
UserID

Either the ITS operator ID or the ITS driver ID

integer

None.

UserName

string

None.

CreatedDate

date

None.

ModifiedDate

date

None.

Pwd

string

None.

IdNumber

string

None.

TelNo

string

None.

FirstName

string

None.

Surname

string

None.

Response Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "UserName": "sample string 2",
  "CreatedDate": "2025-12-11T05:25:11.8514292+02:00",
  "ModifiedDate": "2025-12-11T05:25:11.8514292+02:00",
  "Pwd": "sample string 5",
  "IdNumber": "sample string 6",
  "TelNo": "sample string 7",
  "FirstName": "sample string 8",
  "Surname": "sample string 9"
}

application/xml, text/xml

Sample:
<ItsUsers xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMSWebAPI.Models.Operator">
  <CreatedDate>2025-12-11T05:25:11.8514292+02:00</CreatedDate>
  <FirstName>sample string 8</FirstName>
  <IdNumber>sample string 6</IdNumber>
  <ModifiedDate>2025-12-11T05:25:11.8514292+02:00</ModifiedDate>
  <Pwd>sample string 5</Pwd>
  <Surname>sample string 9</Surname>
  <TelNo>sample string 7</TelNo>
  <UserID>1</UserID>
  <UserName>sample string 2</UserName>
</ItsUsers>