pytan icon indicating copy to clipboard operation
pytan copied to clipboard

How do you specify the content set when calling create_package

Open lespea opened this issue 6 years ago • 2 comments

Not sure if I need to put a new key in the json that's sent? I tried 'content_set': {content set name} and while the package was created, the content set was still default.

lespea avatar Aug 17 '18 16:08 lespea

Not sure what PyTan expects, but the SOAP API expects XML like <content_set>123</content_set> or <content_set>foo</content_set>. So may be you need "content_set" : { "name": "foo" } ?

hardyti avatar Aug 17 '18 16:08 hardyti

Just tried that and it didn't seam to work :(

lespea avatar Aug 17 '18 16:08 lespea