Overview
This web service allows users to test rate limits for the following web services:
Request Format
PwsTestRateLimiter
serviceRequest: PwsTestRateLimiterRq
RequestId: Int32
SessionTicket: String
SimulateInstallationHitsAfter: Int32
SimulateInstallationHitsBefore: Int32
SimulateSessionHitsAfter: Int32
SimulateSessionHitsBefore: Int32
SimulateUserHitsAfter: Int32
SimulateUserHitsBefore: Int32
Request Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
Int32 | No | Click here for more information. |
| ||
String | Yes | Click here for more information. |
| ||
SimulateInstallationHitsAfter | Int32 | No |
| ||
SimulateInstallationHitsBefore | Int32 | No |
| ||
SimulateSessionHitsAfter | Int32 | No |
| ||
SimulateSessionHitsBefore | Int32 | No |
| ||
SimulateUserHitsAfter | Int32 | No |
| ||
SimulateUserHitsBefore | Int32 | No |
|
Request Usage Example(s)
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pws="http://projectorpsa.com/PwsProjectorServices/" xmlns:req="http://projectorpsa.com/DataContracts/Requests/"> <soapenv:Header/> <soapenv:Body> <pws:PwsTestRateLimiter> <pws:serviceRequest> <req:RequestId>1</req:RequestId> <req:SessionTicket>AYecIQSsKNpDZ6wY4k5Ilw==</req:SessionTicket> <req:SimulateInstallationHitsAfter>500</req:SimulateInstallationHitsAfter> <req:SimulateInstallationHitsBefore>1500</req:SimulateInstallationHitsBefore> <req:SimulateSessionHitsAfter>200</req:SimulateSessionHitsAfter> <req:SimulateSessionHitsBefore>1000</req:SimulateSessionHitsBefore> <req:SimulateUserHitsAfter>1000</req:SimulateUserHitsAfter> <req:SimulateUserHitsBefore>1000</req:SimulateUserHitsBefore> </pws:serviceRequest> </pws:PwsTestRateLimiter> </soapenv:Body> </soapenv:Envelope>
Response Format
PwsTestRateLimiterResponse
PwsTestRateLimiterResult: PwsTestRateLimiterRs
Messages: PwsMessage[]
ResponseId: Int32
Status: RequestStatus
ServerTimestampUtc: DateTime
RateLimitSnapshot: PwsRateLimitSnapshot
Response Elements
Element | Data Type | Description | Sample Data |
---|---|---|---|
Messages | The web service response status and message. Click here for more information. | ||
Int32 | Click here for more information |
| |
Status | Click here for more information |
| |
DateTime | Click here for more information |
| |
RateLimitSnapshot | This structure contains a snapshot of the rate limits resulting from executing this web service. |
Response Usage Example(s)
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body> <PwsTestRateLimiterResponse xmlns="http://projectorpsa.com/PwsProjectorServices/"> <PwsTestRateLimiterResult xmlns:a="http://projectorpsa.com/DataContracts/Responses/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <Messages xmlns="http://projectorpsa.com/CommonServices/" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/> <ResponseId xmlns="http://projectorpsa.com/CommonServices/">1</ResponseId> <Status xmlns="http://projectorpsa.com/CommonServices/">Ok</Status> <ServerTimestampUtc xmlns="http://projectorpsa.com/CommonServices/">2025-01-23T19:26:07.3366577Z</ServerTimestampUtc> <a:RateLimitSnapshot xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"> <b:EnabledFlag>false</b:EnabledFlag> <b:InstallationHitCount>2001</b:InstallationHitCount> <b:InstallationRateLimit>2400</b:InstallationRateLimit> <b:RollingWindowSeconds>60</b:RollingWindowSeconds> <b:SessionHitCount>1201</b:SessionHitCount> <b:SessionRateLimit>1200</b:SessionRateLimit> <b:UserHitCount>2001</b:UserHitCount> <b:UserRateLimit>1800</b:UserRateLimit> </a:RateLimitSnapshot> </PwsTestRateLimiterResult> </PwsTestRateLimiterResponse> </s:Body> </s:Envelope>
PwsTestRateLimiter - Common Errors and Warnings
For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
10119 | ValueBelowMinimum | The value specified in the field "SimulateInstallationHitsAfter" in the class "PwsTestRateLimiterRq" is out of range. The value must not be less than 0. |