POST api/Login/SaveUserSessionInfo

Request Information

URI Parameters

None.

Body Parameters

UserDetail
NameDescriptionTypeAdditional information
UserID

integer

None.

UserName

string

None.

Email

string

None.

UTCOffset

string

None.

IsSuperUser

string

None.

role_id

integer

None.

is_active

integer

None.

profile_pic

string

None.

UserType

string

None.

TenantId

string

None.

SubTenantId

string

None.

TPTenantId

string

None.

CompName

string

None.

GUID

string

None.

TradeType

string

None.

IsSupportedINV

string

None.

IsSupportedPOA

string

None.

IsSupportedASN

string

None.

Token_type

string

None.

Refresh_token

string

None.

Access_token

string

None.

Expires_in

integer

None.

expires

string

None.

issued

string

None.

redirect

string

None.

IsWOMSPlusAccess

string

None.

IsSpiceTradeAccess

string

None.

IDP

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "UserName": "sample string 1",
  "Email": "sample string 2",
  "UTCOffset": "sample string 3",
  "IsSuperUser": "sample string 4",
  "role_id": 1,
  "is_active": 1,
  "profile_pic": "sample string 5",
  "UserType": "sample string 6",
  "TenantId": "sample string 7",
  "SubTenantId": "sample string 8",
  "TPTenantId": "sample string 9",
  "CompName": "sample string 10",
  "GUID": "sample string 11",
  "TradeType": "sample string 12",
  "IsSupportedINV": "sample string 13",
  "IsSupportedPOA": "sample string 14",
  "IsSupportedASN": "sample string 15",
  "Token_type": "sample string 16",
  "Refresh_token": "sample string 17",
  "Access_token": "sample string 18",
  "Expires_in": 19,
  "expires": "sample string 20",
  "issued": "sample string 21",
  "redirect": "sample string 22",
  "IsWOMSPlusAccess": "sample string 23",
  "IsSpiceTradeAccess": "sample string 24",
  "IDP": "sample string 25"
}

application/xml, text/xml

Sample:
<UserDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DBusinessRulesAPI.Models">
  <Access_token>sample string 18</Access_token>
  <CompName>sample string 10</CompName>
  <Email>sample string 2</Email>
  <Expires_in>19</Expires_in>
  <GUID>sample string 11</GUID>
  <IDP>sample string 25</IDP>
  <IsSpiceTradeAccess>sample string 24</IsSpiceTradeAccess>
  <IsSuperUser>sample string 4</IsSuperUser>
  <IsSupportedASN>sample string 15</IsSupportedASN>
  <IsSupportedINV>sample string 13</IsSupportedINV>
  <IsSupportedPOA>sample string 14</IsSupportedPOA>
  <IsWOMSPlusAccess>sample string 23</IsWOMSPlusAccess>
  <Refresh_token>sample string 17</Refresh_token>
  <SubTenantId>sample string 8</SubTenantId>
  <TPTenantId>sample string 9</TPTenantId>
  <TenantId>sample string 7</TenantId>
  <Token_type>sample string 16</Token_type>
  <TradeType>sample string 12</TradeType>
  <UTCOffset>sample string 3</UTCOffset>
  <UserID>1</UserID>
  <UserName>sample string 1</UserName>
  <UserType>sample string 6</UserType>
  <expires>sample string 20</expires>
  <is_active>1</is_active>
  <issued>sample string 21</issued>
  <profile_pic>sample string 5</profile_pic>
  <redirect>sample string 22</redirect>
  <role_id>1</role_id>
</UserDetail>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RootObjectOfString
NameDescriptionTypeAdditional information
Success

integer

None.

Message

string

None.

Result

string

None.

NoOfRecords

integer

None.

Alert

string

None.

AlertType

string

None.

Action

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": 1,
  "Message": "sample string 2",
  "Result": "sample string 3",
  "NoOfRecords": 4,
  "Alert": "sample string 5",
  "AlertType": "sample string 6",
  "Action": "sample string 7"
}

application/xml, text/xml

Sample:
<RootObjectOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DBusinessRulesAPI.Models">
  <Action>sample string 7</Action>
  <Alert>sample string 5</Alert>
  <AlertType>sample string 6</AlertType>
  <Message>sample string 2</Message>
  <NoOfRecords>4</NoOfRecords>
  <Result>sample string 3</Result>
  <Success>1</Success>
</RootObjectOfstring>