Overview
This web service updates the user defined fields for a specified entity.
Request Format
- PwsSaveUserDefinedFieldsRq
- RequestId: Int32
- SessionTicket: String
- ProjectorLockSetId: Int32
- SaveOrders: PwsSaveUserDefinedFieldsOrder[1..100]
- UdfType: String (1)
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== | |
Int32 | No | Click here for more informatoin | 3884 | |
SaveOrders | PwsSaveUserDefinedFieldsOrder[1..100] | Yes | This structure represents the key fields associated with a user defined field | |
UdfType | String (1) | Yes | The user defined field type: "C" for Client "E" for Engagement "P" for Project "A" for Role "K" for Task "S" for Issue "R" for Resource "T" for Time Card "X" for Cost Card | P |
Request Usage Example(s)
Response Format
- PwsSaveUserDefinedFieldsRs
- Messages: PwsMessage[]
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
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 | 1 | |
Status | Click here for more information | Ok | |
DateTime | Click here for more information | 2018-11-06T22:29:22.7960743Z |
Response Usage Example(s)
PwsSaveUserDefinedFields - Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
10126 | InvalidEnumerationValueSpecified | An invalid value was specified for UdfType. Valid values are C, E, P, A, K, S, R, T, X. |
50024 | EntityNotFound | Error 50024, State 3: Entity not found ### [refStructureName:PwsProjectRef] |
50471 | LockStolen | Error 50471, State 1: Lock has been stolen. ### [referenceId1:3891] |