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 · 0 comments
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" : ""
            }
        ]
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📅 Planned
Development

No branches or pull requests

2 participants