Symptom
When Making a call to the add/update webservice:
https://(learningserver)/learning/public-api/rest/v1/user
With a payload that contains the custom column class:
"customColumnVO": [{
"value": "CompanyName",
"id": "LCWEBSERVICE001",
"columnNumber": 10
}, {
"value": "EmployeeNumber",
"id": "LCWEBSERVICE001",
"columnNumber": 20
}]
The below error is thrown by the webservice:
Unrecognized field "customColumnVO" (Class com.plateausystems.elms.client.user.dto.UserDTO), not marked as ignorable
at [Source: org.apache.catalina.connector.CoyoteInputStream@4dbb7e88; line: 1, column: 411] (through reference chain: com.plateausystems.elms.client.user.dto.UserDTO["customColumnVO"])
org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "customColumnVO" (Class com.plateausystems.elms.client.user.dto.UserDTO), not marked as ignorable
at [Source: org.apache.catalina.connector.CoyoteInputStream@4dbb7e88; line: 1, column: 411] (through reference chain: com.plateausystems.elms.client.user.dto.UserDTO["customColumnVO"])
Environment
Learning Management System
SuccessFactors (LMS)
Reproducing the Issue
Run the Add/Update webservice with a payload that contains the customColumnVO class :
Code Sample:
"customColumnVO": [{
"value": "CompanyName",
"id": "LCWEBSERVICE001",
"columnNumber": 10
}, {
"value": "EmployeeNumber",
"id": "LCWEBSERVICE001",
"columnNumber": 20
}]
Cause
customColumnVO is no longer in use.
Resolution
customColumn must be used instead of customColumnVO.
This was changed in B1505 release.
The intention was to avoid showing ‘VO’ or ‘DTO’ in either REST or OData API
Keywords
Error when running the Add/Update Rest Webservices, Unrecognized field "customColumnVO", Cutom column in webservice , KBA , LOD-SF-LMS , Learning Management System , LOD-SF-LMS-TLS , Web Services & Tools , Problem