有效载荷采用这种格式:
[[UpsertResult created='true'
errors='{[1][Error fields='{[1]Payroll_Type__c,}'
message='This payroll type is not associated to WSE's account. Please select another.'
statusCode='FIELD_CUSTOM_VALIDATION_EXCEPTION'
]
,}'
id='null'
success='false'
]
]我能够获得成功的关键是:
Message.payload.get(0)..success=‘false’
我想得到消息、错误、statusCode的值。使用message.payload.message、message.payload.get(0).errors和许多情况进行了尝试,但没有任何帮助。
https://stackoverflow.com/questions/31731853
复制相似问题