Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

REST API Method: PUT /rest/spmmessagetable/{identifier}/spmstatuslinerule/{identifier}

Creates a Status Line Rule Table Entry given a specific Table Entry ID in a given Message Table. The ID must be within the range 3001 through 4000. The Element Descriptors associated with the Status Line Rule need to be created before creating the Status Line Rule. The Element Descriptors IDs must be unique across all SIP Manipulation Rules.

URL:

https://192.168.0.111/rest/spmmessagetable/{identifier}/spmstatuslinerule/{identifier}

HTTP Method

PUT

Requires Authentication:

true

Noprint
Panel
bgColortransparent
titleBGColor#DDD
title[spmstatuslinerule - REST API Methods|Resource - spmstatuslinerule]

Page Tree
root@parent

Parameters

Parameter Name Required Service Affecting Data Type Default Value Possible Values Description
DescriptionNoNostringnone64 - Max LengthDescription of the Rule (Status Line)
ConditionExpressionNoNostringnone255 - Max LengthLogical expression, including Condition Rule references, the logical operators && and ||, and parenthesis grouping. If the condition evaluates true then this rule will be applied, otherwise it will not. Condition rule references are of the form ${n}, where 'n' is the row ID of the condition rule. If no logical expression is provided then the expression is evaluated as 'true'.
ResultTypeYesNoEnum1Possible values:
  • 0 - eRtMandatory
  • 1 - eRtOptional
Specifies the result type of the current rule to go on to the next rule. If eRtMandatory, and this rule fails, all other rules in this message table will be dropped. If eRtOptional, then continue to the next rule unconditionally.
ElementDescriptorListNoNostringnone5 - Max LengthThis is a comma-separated list of the element descriptor row IDs which are part of this rule. In the present release there is a maximum of 2 members for Status Line (1 each of class eSPRClass_StatusCode and eSPRClass_SIPVersion).