POST api/portalauth/internal
Provides a token to internal users so that secured services may be subsequently accessed.
Request Information
URI Parameters
None.
Body Parameters
ERP.Domain.Common.Auth.UserAccountCredentialsName | Description | Type | Additional information |
---|---|---|---|
Username | string |
None. |
|
Password | string |
None. |
|
Source | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "username": "sample string 1", "password": "********", "source": "sample string 3" }
application/xml, text/xml
Sample:
<UserAccountCredentials xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERP.Domain.Common.Auth"> <Password>sample string 2</Password> <Source>sample string 3</Source> <Username>sample string 1</Username> </UserAccountCredentials>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ERP.Api.Controllers.CustomerPortal.TokenResponseName | Description | Type | Additional information |
---|---|---|---|
Token |
Gets or sets the token. |
string |
None. |
Roles |
Gets the authorized roles. |
Collection of string |
None. |
Lifetime |
Gets the token lifetime (in seconds). |
integer |
None. |
ContactId |
Gets the contact id. |
integer |
None. |
ApplicationStatus |
Gets the application status. |
string |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.