Hi,
I'm on 9.13 and working on a webservice. xml error response looks like this:-
<?xml version="1.0" encoding="utf-8"?>
<GetSubscriberDetails_response xmlns="Subscriptions">
<ServiceErrors>
<Error>
<ErrorNumber>9005</ErrorNumber>
<ErrorPosition>GetSubscriberDetails</ErrorPosition>
<ErrorRecordId>Password</ErrorRecordId>
<ErrorDescription>Authentication Failed</ErrorDescription>
<ErrorRecommendation/>
</Error>
</ServiceErrors>
</GetSubscriberDetails_response>
json like this :-
{
"GetSubscriberDetails_response" : {
"queue" : [
{
"ERRORNUMBER" : 9005,
"ERRORPOSITION" : "GetSubscriberDetails",
"ERRORRECORDID" : "Password",
"ERRORDESCRIPTION" : "Authentication Failed",
"ERRORRECOMMENDATION" : ""
}
]
}
}
What have I got wrong!?
Thanks.