Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
4.6 kB
10
Indexable
Never
curl --location '10.24.4.128/warehouses/blr_wfld/outbound_requests' \
--header 'X-REQUEST-ID: a216ce62-09eb-4187-a0e5-ae3697dfe906' \
--header 'X-RESTBUS-MESSAGE-ID: 029bee7f-20be-4211-82da-b1b159d9ed6e' \
--header 'Content-Type: application/json' \
--header 'Cookie: _session_id=c868446ae91778f242261d83cf4a5c0e' \
--data '{
    "date": "2024-03-18T09:00:24.081+05:30",
    "destination_location": "iwit_inward_bulk",
    "destination_warehouse": "binola",
    "external_id": "INTERNAL_STN113",
    "hold": true,
    "iwit_flow_version": "2.0",
    "location_type": "store",
    "reason": "iwit",
    "service_type": "regular",
    "ship_together_type": false,
    "type": "iwit",
    "user": "retail-iwit",
    "dispatch_by_date": "2024-05-13 16:00:00",
    "dispatch_after_date": "2024-05-13 20:00:00",
    "transfer_items": [
        {
            "fsn": "JCKGHWCMSYZXHYXW",
            "package_id": null,
            "quantity": 1,
            "seller_id": "fki",
            "sku": "SKU0000000000000",
            "purchase_order": {
                "id": "STN113_fki1_alpha",
                "external_id": "STN113_fki1_alpha",
                "po_item": "STN113_fki1_alpha_po_item_id"
            }
        },
        {
            "fsn": "JCKGHWCMSYZXHYXW",
            "package_id": null,
            "quantity": 3,
            "seller_id": "fki",
            "sku": "SKU0000000000001",
            "purchase_order": {
                "id": "STN113_beta1_alpha",
                "external_id": "STN113_beta1_alpha",
                "po_item": "STN113_beata1_alpha_po_item_id",
                "purchase_order": {
                    "id": "STN113_fki_beta1",
                    "external_id": "STN113_fki_beta1",
                    "po_item": "STN113_fki_beta1_po_item_id"
                }
            }
        },
        
        {
            "fsn": "JCKGHWCMSYZXHYXW",
            "package_id": null,
            "quantity": 1,
            "seller_id": "fki",
            "sku": "SKU0000000000000",
            "purchase_order": {
                "id": "STN113_beta1_alpha",
                "external_id": "STN113_beta1_alpha",
                "po_item": "STN113_beata1_alpha_po_item_id2",
                "purchase_order": {
                    "id": "STN113_fki_beta1",
                    "external_id": "STN113_fki_beta1",
                    "po_item": "STN113_fki_beta1_po_item_id2"
                }
            }
        },
        {
            "fsn": "JCKGHWCMSYZXHYXW",
            "package_id": null,
            "quantity": 1,
            "seller_id": "fki",
            "sku": "SKU0000000000000",
            "purchase_order": {
                "id": "STN113_beta1_alpha_2",
                "external_id": "STN113_beta1_alpha",
                "po_item": "STN113_beata1_alpha_po_item_id2",
                "purchase_order": {
                    "id": "STN113_fki_beta1_2",
                    "external_id": "STN113_fki_beta1",
                    "po_item": "STN113_fki_beta1_po_item_id2"
                }
            }
        },
        {
            "fsn": "JCKGHWCMSYZXHYXW",
            "package_id": null,
            "quantity": 1,
            "seller_id": "fki",
            "sku": "SKU0000000000000",
            "purchase_order": {
                "id": "STN113_beta2_alpha",
                "external_id": "STN113_beta2_alpha",
                "po_item": "STN113_beata2_alpha_po_item_id2",
                "purchase_order": {
                    "id": "STN113_fki_beta2",
                    "external_id": "STN113_fki_beta2",
                    "po_item": "STN113_fki_beta1_po_item_id2"
                }
            }
        }
       
    ],
    "purchase_orders": [
        {
            "id": "STN113_beta1_alpha",
            "source": "hbaker_ltd",
            "destination": "fki"
        },
        {
            "id": "STN113_beta1_alpha_2",
            "source": "hbaker_ltd",
            "destination": "fki"
        },
        {
            "id": "STN113_fki_beta1",
            "source": "fki",
            "destination": "hbaker_ltd"
        },
        {
            "id": "STN113_fki_beta1_2",
            "source": "fki",
            "destination": "hbaker_ltd"
        },
        {
            "id": "STN113_beta2_alpha",
            "source": "wsr",
            "destination": "fki"
        },
        {
            "id": "STN113_fki_beta2",
            "source": "fki",
            "destination": "wsr"
        },
        {
            "id": "STN113_fki1_alpha",
            "source": "fki",
            "destination": "fki"
        }
    ]
}'
Leave a Comment