SystemConfigurableTreatmentGetRequest24
Bases: OCIRequest
Get all the attributes of a configurable treatment. The response is either a SystemConfigurableTreatmentGetResponse24 or an ErrorResponse.
Attributes:
treatment_id (str):
Source code in src/mercury_ocip/commands/commands.py
Responses
Bases: OCIDataResponse
Response to the SystemConfigurableTreatmentGetRequest24. The response contains the treatment configurable information.
The following elements are only used in AS data mode and not returned in XS data mode:
warnCode
warnText
The following elements are only used in AS data mode:
accessSendWarningHeader, value "false" is returned in XS data mode
networkSendWarningHeader, value "false" is returned in XS data mode
Attributes:
description (Optional[str]):
charge_indicator (str):
access_sip_status_code (Optional[int]):
access_sip_status_message (Optional[str]):
network_sip_status_code (Optional[int]):
network_sip_status_message (Optional[str]):
q850_cause_value (Optional[int]):
q850_text (Optional[str]):
access_treatment_audio_file (Optional[str]):
access_treatment_video_file (Optional[str]):
network_treatment_audio_file (Optional[str]):
network_treatment_video_file (Optional[str]):
cdr_termination_cause (Optional[str]):
route_advance (bool):
internal_release_cause (Optional[str]):
access_send_reason_header (bool):
network_send_reason_header (bool):
warn_code (Optional[int]):
warn_text (Optional[str]):
access_send_warning_header (bool):
network_send_warning_header (bool):
Source code in src/mercury_ocip/commands/commands.py
143042 143043 143044 143045 143046 143047 143048 143049 143050 143051 143052 143053 143054 143055 143056 143057 143058 143059 143060 143061 143062 143063 143064 143065 143066 143067 143068 143069 143070 143071 143072 143073 143074 143075 143076 143077 143078 143079 143080 143081 143082 143083 143084 143085 143086 143087 143088 143089 143090 143091 143092 143093 143094 143095 143096 143097 143098 143099 143100 143101 143102 143103 143104 143105 143106 143107 143108 143109 143110 143111 143112 143113 143114 143115 143116 143117 143118 143119 143120 143121 143122 143123 143124 143125 143126 143127 143128 143129 143130 143131 143132 143133 143134 143135 143136 143137 143138 143139 143140 143141 143142 143143 143144 143145 143146 143147 143148 143149 143150 143151 143152 143153 143154 143155 143156 143157 143158 143159 143160 143161 143162 143163 143164 143165 143166 143167 143168 143169 143170 143171 | |
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import SystemConfigurableTreatmentGetRequest24
client = Client()
command = SystemConfigurableTreatmentGetRequest24(
treatment_id=...,
)
response = client.command(command)
print(response)