POST api/v2/ticketing/login

Request Information

URI Parameters

None.

Body Parameters

APIUserLoginView
NameDescriptionTypeAdditional information
UserId

integer

None.

CompanyId

integer

None.

Username

string

None.

UserPassword

string

None.

FirstName

string

None.

ContactNo

string

None.

CNIC

string

None.

Email

string

None.

Status

boolean

None.

LockStatus

boolean

None.

OTPCode

string

None.

OTPExpiry

date

None.

IsOTPVerified

boolean

None.

RoleId

integer

None.

Role

string

None.

TerminalId

integer

None.

Channel

string

None.

APIKey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "CompanyId": 2,
  "Username": "sample string 3",
  "UserPassword": "sample string 4",
  "FirstName": "sample string 5",
  "ContactNo": "sample string 6",
  "CNIC": "sample string 7",
  "Email": "sample string 8",
  "Status": true,
  "LockStatus": true,
  "OTPCode": "sample string 11",
  "OTPExpiry": "2026-04-11T17:58:29.7014422+05:00",
  "IsOTPVerified": true,
  "RoleId": 13,
  "Role": "sample string 14",
  "TerminalId": 15,
  "Channel": "sample string 16",
  "APIKey": "sample string 17"
}

application/xml, text/xml

Sample:
<APIUserLoginView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Repository.Views">
  <APIKey>sample string 17</APIKey>
  <CNIC>sample string 7</CNIC>
  <Channel>sample string 16</Channel>
  <CompanyId>2</CompanyId>
  <ContactNo>sample string 6</ContactNo>
  <Email>sample string 8</Email>
  <FirstName>sample string 5</FirstName>
  <IsOTPVerified>true</IsOTPVerified>
  <LockStatus>true</LockStatus>
  <OTPCode>sample string 11</OTPCode>
  <OTPExpiry>2026-04-11T17:58:29.7014422+05:00</OTPExpiry>
  <Role>sample string 14</Role>
  <RoleId>13</RoleId>
  <Status>true</Status>
  <TerminalId>15</TerminalId>
  <UserId>1</UserId>
  <UserPassword>sample string 4</UserPassword>
  <Username>sample string 3</Username>
</APIUserLoginView>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.