Skip to content

Action – getItemNextStates

Eric Domke edited this page May 6, 2019 · 1 revision

Get valid promotion states

AML Query

<!-- SOAP_ACTION = GetItemNextStates, ApplyAML, or ApplyItem -->
<AML>
  <Item type="{Your Type}" action="getItemNextStates" id="{Your ID}"></Item>
</AML>

Example (Result):

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
  <SOAP-ENV:Body>
    <Result>
      <Item type="Life Cycle Transition" typeId="1E764495A5134823B30060D83FD6A2F9" id="7298FA897702440F91FAD46A52F37F5F">
        <get_comment>0</get_comment>
        <to_state keyed_name="Evaluating" type="Life Cycle State">
          <Item type="Life Cycle State" typeId="5EFB53D35BAE468B851CD388BEA46B30" id="5A600B427F1346E5A8B69D76989CFD05">
            <id keyed_name="Evaluating" type="Life Cycle State">5A600B427F1346E5A8B69D76989CFD05</id>
            <keyed_name>Evaluating</keyed_name>
            <label is_null="1" />
            <name>Evaluating</name>
          </Item>
        </to_state>
        <id keyed_name="7298FA897702440F91FAD46A52F37F5F" type="Life Cycle Transition">7298FA897702440F91FAD46A52F37F5F</id>
      </Item>
    </Result>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Clone this wiki locally