Get Access Token
Please provide your username and password for get access token.
/ARCAuthentication/SignInForExternalUser
Query String
Parameter | Required | Value |
---|---|---|
externalUser | Mandatory | 1 |
Request Header
Parameter | Required | Value |
---|---|---|
LoginId | Mandatory | User Input |
Password | Mandatory | User Input |
ModuleKeyRequest | Mandatory | PWP |
Decrypt | Mandatory | false |
IsExpirable | Mandatory | True |
Accept-Language | Optional | en-US |
Accept-Encoding | Optional | gzip |
Content-Type | Mandatory | application/json |
Successful Response:
Header | TokenKey |
Content | UserObject |
Example
LoginId:[email protected]
Password:YourPassword
Content-Type:application/json
ModuleIdKeyRequest:PWP
Decrypt:false
IsExpirable:false
TokenKey → Your-Key
{
"CompanyName": "Your comapny name",
"Fax": "",
"Address1": "Your Addreess1",
"Address2": "",
"City": "Your city",
"StateName": "Your Statename",
"CountryName": "Your Country",
"ZipCode": "Your zipcode",
"Phone": "",
"WebURL": "",
"PhoneWork": "Your work phone number",
"PhoneExt": "",
"PhoneAfterHrs": "",
"Pager": "",
"PhoneMobile": "",
"WorkingDays": "",
"WorkingStartHours": "",
"WorkingEndHours": "",
"TimeZone": "Your time zone",
"Title": "",
"LastLoginDate": "your last login date",
"StateID": 1,
"CountryID": 1,
"PWRoleID": 1,
"SYSRoleID": 4,
"SuperAdminType": 0,
"IsReseller": false,
"PCModuleID": 0,
"isGuestUser": false,
"PINProjectID": -1,
"LicenseUserType": 0,
"PWPLicUserType": 1,
"UserLicenseType": 0,
"StrLastLoginDate": "your last login date fomatted",
"LastLogoutDate": "your last logout date",
"StrLastLogoutDate": "your last logout date formatted",
"PrimaryUserID": 0,
"EncryptedPrimaryUserID": "your primary user id",
"Password": "your encrypted password",
"IsProfileCompleted": true,
"IsWelcomed": false,
"PWPSuperAdminType": 0,
"IsEmailVerified": true,
"GuestProjectCount": 0,
"AuthReason": 0,
"PWPSubscriptionType": 0,
"IsLatestDocumentHidingAllowed": false,
"AccountPaymentMode": 2,
"PWUserID": 0,
"EncryptedPWUserID": "your PWuserid",
"PWAccountID": 0,
"EncryptedPWAccountID": "Your pwa account id",
"PWContactID": 0,
"EncryptedPrimaryPWContactID": "Your primary contact id",
"PrimaryPWContactID": 0,
"EncryptedPWContactID": "",
"FirstName": "Your firstname",
"MiddleName": "Your middle name",
"LastName": "Your last name",
"Email": "[email protected]",
"UserName": "your user name",
"Admin": false,
"Status": 1,
"AccountExpiryDate": "Your account expiry date",
"ShareProjectCount": 0,
"AccountCreateDate": "Your account create date",
"BillingStartDate": "Your billing start date"
}
Remarks:
1) In Query String: startIndex and endIndex is user input. It defined from which index to which index data required. If startIndex and endIndex value is zero then it returned all data.
2) In Header: SortBy and SortOrder is optional field. It only works above mention value only.
Updated almost 7 years ago