PwsSaveResourceSkillLevels
Overview
This web service updates skill levels (PwsResourceSkillLevel) for a specified resource (PwsResourceRef) . The service returns the identity of the resource (PwsResourceRef) that has been updated.
In order to protect our servers from inadvertent service overuse or intentional attack, and to fairly distribute services to all our customers, we have implemented a rate limiting algorithm. When fully deployed, this new algorithm will cause services to either succeed with new warnings or fail with new errors when services are consumed at too high a rate. Programs that consume Projector services should be enhanced to handle rate limiting errors so that they can continue functioning properly. For more information please visit: Projector Rate Limiting Behavior.
Request Format
- PwsSaveResourceSkillLevelsRq
- RequestId: Int32
- SessionTicket: String
- ResourceIdentity: PwsResourceRef
- ResourceTimestamp: String
- SkillLevels: PwsResourceSkillLevel[1..100]
Request Elements
Element | Data Type | Required? | Description | Sample Data |
---|---|---|---|---|
Int32 | No | Click here for more information. | 1 | |
String | Yes | Click here for more information. | AVqwYHFUvUT/fJlt22N2DA== | |
ResourceIdentity | Yes | The identity of the resource whose skills are to be updated. | ||
ResourceTimestamp | String | No | This is a Base64 encoded timestamp optionally utilized for resource locking. | |
SkillLevels | PwsResourceSkillLevel[1..100] | Yes | This structure represents a resource's skill level for a particular skill. |
Request Usage Example(s)
Response Format
- PwsSaveResourceSkillLevelsRs
- Messages: PwsMessage[]
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- ResourceIdentity: PwsResourceRef
- Timestamp: String
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. | Ok | |
DateTime | Click here for more information. | 2018-11-06T21:45:55.7273579Z | |
ResourceIdentity | The fully populated identity of the resource that was updated. | ||
Timestamp | String | This is a Base64 encoded timestamp optionally utilized for resource locking | AAAAABCzITc= |
Response Usage Example(s)
PwsSaveResourceSkillLevels - Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
10117 | ValueOutOfRange | The value specified in the field "SkillLevel" in the class "PwsResourceSkillLevel" is out of range. The value must be between 0 and 5. |
50024 | EntityNotFound | Error 50024, State 3: Entity not found ### [refStructureName:PwsResourceRef] |