Question

2
Replies
76
Views
Close popover
rajendhar sarasani (rajendhars3334)
Ven soft llc

Ven soft llc
US
rajendhars3334 Member since 2018 1 post
Ven soft llc
Posted: July 31, 2019
Last activity: September 9, 2019
Closed

Can we modify the OOTB request/response schemas generated by REST API?

I'm using Pega OOTB REST APIs to create cases. As part of my org standard, we need to use lower camel case for schema element in the REST response or request.

here is the sample response that Pega generates:

Q. Can i modify ErrorResponse to errorResponse? how does the automatic property mapping works? Did anyone tried changing like this?

Note: I just took Error Response as example, but we have handful of elements like this.

"definitions": {
"ErrorResponse": {
"properties": {
"pxObjClass": {
"type": "string",
"example": "Pega-API"
},
"errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
}
}
}

***Edited by Moderator: Lochan to add SR tag***

Data Integration Support Case Exists
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.