Remove Personal Info

This operation is used to remove personal information on selected orders. This is the API form of the UI action button “Remove Personal Info”

POST .../wms/lgfapi/v10/entity/order_hdr/remove_personal_info

POST .../wms/lgfapi/v10/entity/order_hdr/{id}/remove_personal_info

Request Parameters

Parameters (Filters)

Only applicable when `id` is not present in the URL.

Name Required Type Default Description
facility_id C Integer

Facility context by id.

one of id or code should be provided

facility_id__code C String

Facility context by code.

one of id or code should be provided

company_id C Integer

Company context by id.

one of id or code should be provided

company_id__code C String

Company context by code.

one of id or code should be provided

order_nbr

OR

order_nbr__in

C String

Order/Orders for which PI needs to be removed.

one of id or order_nbr should be provided.

id

OR

id__in

C

ID or IDs of Orders for which PI needs to be removed.

one of id or order_nbr should be provided.

  • If facility and/or company are provided, set login context accordingly.
  • Only one of `facility_id` or `facility_id__code` may be provided.
  • Only one of `company_id` or `company_id__code` may be provided.

Example:

URL: POST .../wms/lgfapi/v10/entity/order_hdr/remove_personal_info

{
    "parameters": {
        "facility_id__code": "FAC",
        "company_id": 1,
        "order_nbr": "ORD1"
    }
}

Request sent with an ID:

{
    "parameters": {
        "facility_id__code": "FAC",
        "company_id": 1,
        "id": 123
    }
}

Or for multiple orders:

{
    "parameters": {
        "facility_id__code": "FAC",
        "company_id": 1,
        "order_nbr__in": ["ORD1","ORD2","ORD3"]
    }
} 

Request sent with IDs:

{
    "parameters": {
        "facility_id__code": "FAC",
        "company_id": 1,
        "id__in": [123, 124, 126]
    }
}