Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to insert all flight bodies in a package #100

Open
rrishabh27 opened this issue Nov 29, 2023 · 0 comments
Open

Unable to insert all flight bodies in a package #100

rrishabh27 opened this issue Nov 29, 2023 · 0 comments

Comments

@rrishabh27
Copy link

I am inserting flight data into packages using the CM360 API. The data comes from a pandas dataframe.
The problem is that the new inserted flight replaces the existing flights. For example, I want to insert 3 flights into a package at once. The first flight will be inserted, then the second one replaces the first one and finally, the third flight replaces the second one.
I am using placementGroups patch() method to achieve this.
Any suggestions or fixes you have for this? I have attached a picture of the code.

get_data_and_insert_cm360
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant