Message SOAP hiérarchique
Lorsque le message SOAP est construit à partir du service Web hiérarchique décrit par le WSDL et invoqué, il crée les enregistrements d’incident, de u_custom_comments et de u_comment_items .
URL du point de terminaison
https://instance.service-now.com/incident.do?SOAP&hierarchical=true
Demander
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:inc="http://www.service-now.com/incident">
<soapenv:Header/>
<soapenv:Body>
<inc:insert>
<short_description>test hierarchical</short_description>
<u_custom_comments>
<u_comment>comment 1</u_comment>
<u_comment_type>travel</u_comment_type>
<u_comment_items>
<u_name>name 1</u_name>
<u_value>value 1</u_value>
</u_comment_items>
</u_custom_comments>
</inc:insert>
</soapenv:Body>
</soapenv:Envelope>Réponse
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:inc="http://www.service-now.com/incident">
<soapenv:Header/>
<soapenv:Body>
<insertResponse>
<sys_id>8422ebe7c0a8006e7d23848c2dc8ba47</sys_id>
<number>INC0010001</number>
</insertResponse>
</soapenv:Body>
</soapenv:Envelope>