Get metadata for import action returns the target line items instead of File headers
Hello everyone,
We were looking to query the mappings of a file that was being uploaded in the model through the endpoint of get metadata for import action.
the link Anaplan Integration API V2 Guide and Reference · Apiary suggests the below statement:
" You can use the API to obtain metadata for an import definition for module and list imports using the import ID. This enables you to use mappings on your imports without querying the import file itself. "
but the body for the import action of a module displays the line items of the target module, not the headers of the file that was used for uploading data to the module.
endpoint url used - /workspaces/{workspaceId}/models/{modelId}/imports/{importId}
aslo tried this - /workspaces/{workspaceId}/models/{modelId}/imports/{importId}?showImportDataSource=true
but is returning the same details of target line items not the headers of the file.
Anybody tried any alternative approach with respect to the above ask.
Thanks in advance for your time and support!
P.S.: it is working fine for the hierarchy load using the file, but shows misinformation for module data load.
Regards
Vaitesh
Comments
-
Hello @ryan_kohn ,
1. Yes, the import is from the File, below screenshot of the response
2. It is not a private file and the credentials used for authentication is having WSA access.
3.It is a GET method as the information is only being retrieved no updates to any objects.
Thanks
Vaitesh
0
Categories
- All Categories
- 2.3K Anaplan Community
- Academy
- Anaplan Talent Builder
- Model Design Course
- The Anaplan Way
- Archive
- 2 Idea exchange
- 62 Enterprise Scale
- 1.1K Extensibility
- 21 Intelligence
- 1.6K Planning & Modeling
- 331 Security
- Community Connections
- Connections
- Experiences
- Groups
- Personas
- Employees
- CS Toolkit
- Customer Care Center
- Forums
- Academy & Training
- Community Feedback & Updates
- Japan
- Anaplan Community Japan
- Anaplan Community Japan Knowledge Base
- HyperCare Japan
- JP-Central
- Support-Japanese
- Partners
- Partner Leadership Council
- Partner Product Council
- 724 Platform
- Anapedia
- App Hub
- Centers Of Excellence
- Extensions
- Planual
- Platform Updates
- 724 User Experience
- Profile Builder
- Resources
- Anaplan Advocates
- Anaplan Live!
- Community
- Community Advancement
- Community Connections
- Partner Program
- The Official Master Anaplanner Program
- Videos
- Welcome to the Anaplan Community!
- Success Central
- Support
- Case Portal Link
- Common Support Questions
- HyperCare Redirect
- Known Issues and Workarounds
- Support test page
- SupportFAQ
- Survey
- 2 Training Day Takeaways