POST api/Users/GetUserDetails

Request Information

URI Parameters

None.

Body Parameters

UserRequest
NameDescriptionTypeAdditional information
SWP_DealerCode

integer

Required

SWP_USER_ID

string

Required

Request Formats

application/json, text/json

Sample:
{
  "SWP_DealerCode": 1,
  "SWP_USER_ID": "sample string 2"
}

application/xml, text/xml

Sample:
<UserRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <SWP_DealerCode>1</SWP_DealerCode>
  <SWP_USER_ID>sample string 2</SWP_USER_ID>
</UserRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UserResponse
NameDescriptionTypeAdditional information
SWP_ID

integer

None.

DEALER_CODE

string

None.

DEALER_NAME

string

None.

USER_ID

string

None.

TITLE

TitleEnums

None.

FIRST_NAME

string

None.

LAST_NAME

string

None.

CELLPHONE

string

None.

EMAIL_ADDRESS

string

None.

IDNUMBER

string

None.

ACTIVE_YN

string

None.

Department

UserDepartment

None.

UserRole

UserRoles

None.

IsSuccess

boolean

None.

IsWebCallSuccess

boolean

None.

SuccessMessage

string

None.

success

boolean

None.

LocalErrorCode

integer

None.

FriendlyErrorMessage

string

None.

HttpStatusCode

HttpStatusCode

None.

Response Formats

application/json, text/json

Sample:
{
  "SWP_ID": 1,
  "DEALER_CODE": "sample string 2",
  "DEALER_NAME": "sample string 3",
  "USER_ID": "sample string 4",
  "TITLE": 0,
  "FIRST_NAME": "sample string 5",
  "LAST_NAME": "sample string 6",
  "CELLPHONE": "sample string 7",
  "EMAIL_ADDRESS": "sample string 8",
  "IDNUMBER": "sample string 9",
  "ACTIVE_YN": "sample string 10",
  "Department": 1,
  "UserRole": 1,
  "IsSuccess": true,
  "IsWebCallSuccess": true,
  "SuccessMessage": "sample string 13",
  "success": true,
  "LocalErrorCode": 1,
  "FriendlyErrorMessage": "sample string 15",
  "HttpStatusCode": 100
}

application/xml, text/xml

Sample:
<UserResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <IsSuccess>true</IsSuccess>
  <IsWebCallSuccess>true</IsWebCallSuccess>
  <SuccessMessage>sample string 13</SuccessMessage>
  <success>true</success>
  <LocalErrorCode>1</LocalErrorCode>
  <FriendlyErrorMessage>sample string 15</FriendlyErrorMessage>
  <HttpStatusCode>Continue</HttpStatusCode>
  <SWP_ID>1</SWP_ID>
  <DEALER_CODE>sample string 2</DEALER_CODE>
  <DEALER_NAME>sample string 3</DEALER_NAME>
  <USER_ID>sample string 4</USER_ID>
  <TITLE>Mr</TITLE>
  <FIRST_NAME>sample string 5</FIRST_NAME>
  <LAST_NAME>sample string 6</LAST_NAME>
  <CELLPHONE>sample string 7</CELLPHONE>
  <EMAIL_ADDRESS>sample string 8</EMAIL_ADDRESS>
  <IDNUMBER>sample string 9</IDNUMBER>
  <ACTIVE_YN>sample string 10</ACTIVE_YN>
  <Department>USED</Department>
  <UserRole>CRMCOR</UserRole>
</UserResponse>