Skip to content

Unable to insert all flight bodies in a package #100

@rrishabh27

Description

@rrishabh27

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions