AnsweredAssumed Answered

RESTMAN /bundle params

Question asked by PhBrand on May 17, 2017
Latest reply on May 19, 2017 by Stephen_Hughes



When trying to export a bundle containing only one service (and dependencies), mapping about parent folder id show up but not folder definition (which is normal as not requested).


<l7:Service id="c630da68059b12c41a24f8f9df4dc70f" version="52">
<l7:ServiceDetail folderId="d3dfe996ca7aba6eea79e7cf2dd9df90" id="c630da68059b12c41a24f8f9df4dc70f" version="52">


<l7:Mapping action="NewOrExisting" srcId="d3dfe996ca7aba6eea79e7cf2dd9df90" srcUri="" type="FOLDER">
<l7:Property key="FailOnNew">


As we can't "MapByName" this folder, becuase folder definition is not included, if we then add "requireFolder" along with "service" query params, the mentioned folder does not show up in resulting bundle.

This is the command initiated:


/usr/bin/curl -k -X GET -H "L7-key-passphrase: foobar" -H "Accept: application/xml" -H "Content-Type: application/xml" -u "username:password" --cacert /etc/pki/tls/private/CA_chain.pem "" --output "/var/tmp/restapi_comm31404.xml"


What are we doing wrong here ?