Table A-2 JSONObject Fields
|
Field |
Description |
|---|---|
|
Fault |
JSONObject containing fault "Code" and "Reason" |
|
Fault/Code |
JSONObject containing fault "Value" and "Subcode" |
|
Fault/CodeValue |
String – Indicates if problem lies with the "Sender" or "Receiver" |
|
Fault/Code/Subcode |
JSONObject containing application service-specific error code or message type "Value" |
|
Fault/Code/Subcode/Value |
String – application service-specific error code |
|
Fault/Reason |
JSONObject containing descriptive "Text" |
|
Fault/Reason/Text |
String – Details of reason for the fault |
Here is some sample output:
{
"Fault":
{
"Code":
{
"Value":"Sender",
"Subcode":
{
"Value":"Managed System data does not exist"
}
},
"Reason":
{
"Text":"Managed System information is not available"
}
}
}