Overview
This web service allows user to retrieve a session ticket for subsequent web service requests after receiving valid account information such as account code, user name and password.
Request Format
- PwsAuthenticateRq
- RequestId: Int32
- SessionTicket: String
- AccountCode: String
- CultureName: String
- Fingerprint: String
- Password: String
- UserName: String
- UtcOffsetMinutes: Int16
- CrossoverTicket: String
Request Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
RequestId | Int32 | No | Click here for more information. | ||
SessionTicket | String(24) | No | Click here for more information. | ||
AccountCode | String(30) | Yes | The account code of the web service user's installation | revcorp-min | |
CultureName | String(15) | No | The culture name is a unique identifier for a culture | en-US | |
Fingerprint | String | No | Authentication that grants user special permissions; Leave blank unless otherwise instructed by Projector support. | ||
Password | String(28) | Yes | The password of the web service user | 1JiLei$ | |
UserName | String(100) | Yes | The user name of the web service user | larry@revcorp.min | |
UtcOffsetMinutes | Int16 | No | Can be used (optionally) to specify the offset, in minutes between local time and UTC time. Should be expressed as a positive integer if local time is later than UTC time or a negative integer otherwise. Used in some circumstances to determine the current date sensitive to the caller’s local time. | ||
CrossoverTicket | String | No | Used internally; please disregard. |
Request Usage Example(s)
Response Format
- PwsAuthenticateRs
- Messages: PwsMessage[]
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- RedirectUrl: String
- SessionTicket: String
- AccountIdentity: PwsAccountRef
- UserIdentity: PwsUserRef
- SuperUserFlag: Boolean
- DocumentServerUrl: String
- Account: PwsAccountSummary
- User: PwsUserSummary
Response Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
Messages | |||||
ResponseId | Int32 | Click here for more information. | 0 | ||
Status | RequestStatus | Click here for more information. | Ok | ||
ServerTimestampUtc | DateTime | Click here for more information. | 2018-01-16T18:43:11.6585593Z | ||
RedirectUrl | String | ||||
SessionTicket | String(24) | Click here for more information. | ARQC8d/V3CZk+kOWf7w3KQ== | ||
AccountIdentity | |||||
UserIdentity | |||||
SuperUserFlag | Boolean | If true, web service user is a Projector support user. | |||
DocumentServerUrl | String | ||||
Account | |||||
User |
Response Usage Example(s)
PwsAuthenticate - Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
10002 | InvalidCredentials | The specified credentials are not valid. Please try again. |