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

Migrate facility sequence and facility group association api calls to bulk api calls #339

Open
1 of 3 tasks
ymaheshwari1 opened this issue Dec 6, 2024 · 1 comment
Open
1 of 3 tasks
Assignees

Comments

@ymaheshwari1
Copy link
Contributor

What is the motivation for adding/enhancing this feature?

What are the acceptance criteria?

  • ...

Can you complete this feature request by yourself?

  • YES
  • NO

Additional information

Add Facility To Group:

Api endpoint: /api/service/bulkAddFacilityToGroup

Payload:

{
    "payload" : {
        "facilityList" : [
            {
                "facilityGroupId" : "PICKUP",
                "facilityId" : "GENERAL_OPS_PARKING",
                "sequenceNum" : "1"
            },
            {
                "facilityGroupId" : "PICKUP",
                "facilityId" : "REJECTED_ITM_PARKING",
                "sequenceNum" : "2"
            }
        ]
    }
}

Bulk Update facility to Group

Api endpoint: /api/service/bulkUpdateFacilityToGroup

Payload:

{
    "payload" : {
        "facilityList" : [
            {
                "facilityGroupId" : "PICKUP",
                "facilityId" : "CONFIGURATION",
                "fromDate" : "",
                "thruDate" : ""
            },
            {
                "facilityGroupId" : "PICKUP",
                "facilityId" : "REJECTED_ITM_PARKING",
                "fromDate" : "",
                "thruDate" : ""
            }
        ]
    }
}
@ymaheshwari1 ymaheshwari1 moved this from 📋 Backlog to 📅 Planned in Digital Experience Platform Dec 6, 2024
@ymaheshwari1 ymaheshwari1 self-assigned this Dec 13, 2024
@priyanshee1604 priyanshee1604 moved this from 📅 Planned to 🏗 In progress in Digital Experience Platform Jan 30, 2025
@ymaheshwari1
Copy link
Contributor Author

ymaheshwari1 commented Jan 31, 2025

The endpoints has been updated to bulkUpdateFacilityToGroup -> updateFacilitiesToGroup and bulkAddFacilityToGroup -> addFacilitiesToGroup.

priyanshee1604 added a commit to priyanshee1604/facilities that referenced this issue Feb 4, 2025
@priyanshee1604 priyanshee1604 moved this from 🏗 In progress to 👀 In review in Digital Experience Platform Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 👀 In review
Development

No branches or pull requests

2 participants