I've run into another issue with uploading a file using the Anaplan API. For this client I'm trying to do a data integration from a data migration tool called Scribe Online where the API connections are configured using a GUI. When Scribe receives the API specifications from anaplan.com/swagger.json it brings in the expected set of methods (i.e. POST, PUT, DELETE, etc.) in the form of objects that Scribe calls "blocks".
When I grab the PUT block into the Scribe Online mapping configuration it returns several PUT methods listed in their entirety below;
Put Put_1subversioncustomerscustomeriduseruserid
Put Put_1subversionworkspacesworkspaceguidrestofpath
Put Put_2subversioncat_valuescategory_value_id
Put Put_2subversiondwahostshostGuid
Put Put_2subversiondwapoolspoolGuid
Put Put_2subversionwaworkspaces
Put Put_2subversiondwaworkspaceServerGuid
Put Put_2subversiondwaworkspacesworkspaceGuid
Put Put_2subversionmodels
Put Put_2subversionmodelsmodel_idcat_valuescategory_value_id
Put Put_2subversionmodelsmodelIdpath
Put Put_2subversionmodelsmodelIduseruserIdfavoritefavorite
Put Put_2subversiontenants
Put Put_2subversiontenantstenantId
Put Put_2subversionusers
Put Put_2subversionworkspacesworkspaceIdmodelsmodelIdpath
Examining the fields in these PUT method "variations" it would seem that they do not have many headers and parameters that match up with the Anaplan API docs in Apiary. For example, not a single one of those PUT methods will populate a field for "Content-Type" which is obviously critical for performing a file upload into Anaplan. I've attached screenshots to this post for further detail.
Has anyone else had to use a data migration tool or run into these PUT methods before? If so, which variation did you find worked out and to which fields & headers did you enter the parameters?