POST api/minor/login

Request Information

URI Parameters

None.

Body Parameters

LoginRequestEntity
NameDescriptionTypeAdditional information
ApiUserName

string

None.

Token

string

None.

username

string

None.

Password

string

None.

ProcID

integer

None.

UserType

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ApiUserName": "sample string 1",
  "Token": "sample string 2",
  "username": "sample string 3",
  "Password": "sample string 4",
  "ProcID": 5,
  "UserType": 6
}

application/xml, text/xml

Sample:
<LoginRequestEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MinorAPI.Models">
  <ApiUserName>sample string 1</ApiUserName>
  <Password>sample string 4</Password>
  <ProcID>5</ProcID>
  <Token>sample string 2</Token>
  <UserType>6</UserType>
  <username>sample string 3</username>
</LoginRequestEntity>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

LoginResponseEntity
NameDescriptionTypeAdditional information
respCode

string

None.

respMessage

string

None.

UserName

string

None.

UserType

integer

None.

OfficeCode

integer

None.

UserId

integer

None.

UserTypeText

string

None.

TotalApplication

integer

None.

TotalPending

integer

None.

TotalComplted

integer

None.

TotalInspected

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "respCode": "sample string 1",
  "respMessage": "sample string 2",
  "UserName": "sample string 3",
  "UserType": 4,
  "OfficeCode": 5,
  "UserId": 6,
  "UserTypeText": "sample string 7",
  "TotalApplication": 8,
  "TotalPending": 9,
  "TotalComplted": 10,
  "TotalInspected": 11
}

application/xml, text/xml

Sample:
<LoginResponseEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MinorAPI.Models">
  <OfficeCode>5</OfficeCode>
  <TotalApplication>8</TotalApplication>
  <TotalComplted>10</TotalComplted>
  <TotalInspected>11</TotalInspected>
  <TotalPending>9</TotalPending>
  <UserId>6</UserId>
  <UserName>sample string 3</UserName>
  <UserType>4</UserType>
  <UserTypeText>sample string 7</UserTypeText>
  <respCode>sample string 1</respCode>
  <respMessage>sample string 2</respMessage>
</LoginResponseEntity>