PUT api/ServiceTransfer/WithLines/{Order_Document_ID}

Updates a Service Transfer and Service Transfer Line Items in one http request. 'LineItems' is an array property for Service Transfer Line Items.
Note: This endpoint will not create or delete lines, only update existing lines. To create or delete lines, use POST ServiceTransferLine or DELETE ServiceTransferLine.

Request Information

Parameters

NameDescriptionAdditional information
Order_Document_ID
No documentation available.

Define this parameter in the request URI.

pServiceTransfer
No documentation available.

None.

Request body formats

application/json, text/json

Sample:
{
  "LineItems": [
    {
      "Order_Document_ID": "sample string 1",
      "Line_Item_Seq": 2,
      "Status": 3,
      "Item_Number": "sample string 4",
      "Description": "sample string 5",
      "UofM": "sample string 6",
      "Transfer_From_Qty": 7.0,
      "Qty_Fulfilled": 8.0,
      "Qty_Shipped": 9.0,
      "Qty_To_Receive": 10.0,
      "Qty_Received": 11.0,
      "Serivce_Call_Number": "sample string 12",
      "Service_Record_Type": 13,
      "Service_Line_Seq": 14,
      "Equipment_Line_Seq": 15,
      "Line_Item_Type": "sample string 16",
      "Return_Document_ID": "sample string 17",
      "Line_Seq": 18.0,
      "RTV_Number": "sample string 19",
      "Work_Order_Record_Type": 20,
      "Work_Order_Number": "sample string 21",
      "Qty_Base_UofM": 22.0,
      "From_Site": "sample string 23",
      "Via_Site": "sample string 24",
      "To_Site": "sample string 25",
      "From_Qty_Type": 26,
      "To_Qty_Type": 27,
      "Decimal_Places_Currency": 1,
      "Decimal_Places_Qty": 1,
      "Landed_Cost_Group_ID": "sample string 28",
      "Original_Transfer_From_Qty": 29.0,
      "Source": "sample string 30",
      "UserFieldData": [
        {},
        {},
        {}
      ],
      "UserFieldNames": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ],
      "Notifications": null
    },
    {
      "Order_Document_ID": "sample string 1",
      "Line_Item_Seq": 2,
      "Status": 3,
      "Item_Number": "sample string 4",
      "Description": "sample string 5",
      "UofM": "sample string 6",
      "Transfer_From_Qty": 7.0,
      "Qty_Fulfilled": 8.0,
      "Qty_Shipped": 9.0,
      "Qty_To_Receive": 10.0,
      "Qty_Received": 11.0,
      "Serivce_Call_Number": "sample string 12",
      "Service_Record_Type": 13,
      "Service_Line_Seq": 14,
      "Equipment_Line_Seq": 15,
      "Line_Item_Type": "sample string 16",
      "Return_Document_ID": "sample string 17",
      "Line_Seq": 18.0,
      "RTV_Number": "sample string 19",
      "Work_Order_Record_Type": 20,
      "Work_Order_Number": "sample string 21",
      "Qty_Base_UofM": 22.0,
      "From_Site": "sample string 23",
      "Via_Site": "sample string 24",
      "To_Site": "sample string 25",
      "From_Qty_Type": 26,
      "To_Qty_Type": 27,
      "Decimal_Places_Currency": 1,
      "Decimal_Places_Qty": 1,
      "Landed_Cost_Group_ID": "sample string 28",
      "Original_Transfer_From_Qty": 29.0,
      "Source": "sample string 30",
      "UserFieldData": [
        {},
        {},
        {}
      ],
      "UserFieldNames": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ],
      "Notifications": null
    },
    {
      "Order_Document_ID": "sample string 1",
      "Line_Item_Seq": 2,
      "Status": 3,
      "Item_Number": "sample string 4",
      "Description": "sample string 5",
      "UofM": "sample string 6",
      "Transfer_From_Qty": 7.0,
      "Qty_Fulfilled": 8.0,
      "Qty_Shipped": 9.0,
      "Qty_To_Receive": 10.0,
      "Qty_Received": 11.0,
      "Serivce_Call_Number": "sample string 12",
      "Service_Record_Type": 13,
      "Service_Line_Seq": 14,
      "Equipment_Line_Seq": 15,
      "Line_Item_Type": "sample string 16",
      "Return_Document_ID": "sample string 17",
      "Line_Seq": 18.0,
      "RTV_Number": "sample string 19",
      "Work_Order_Record_Type": 20,
      "Work_Order_Number": "sample string 21",
      "Qty_Base_UofM": 22.0,
      "From_Site": "sample string 23",
      "Via_Site": "sample string 24",
      "To_Site": "sample string 25",
      "From_Qty_Type": 26,
      "To_Qty_Type": 27,
      "Decimal_Places_Currency": 1,
      "Decimal_Places_Qty": 1,
      "Landed_Cost_Group_ID": "sample string 28",
      "Original_Transfer_From_Qty": 29.0,
      "Source": "sample string 30",
      "UserFieldData": [
        {},
        {},
        {}
      ],
      "UserFieldNames": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ],
      "Notifications": null
    }
  ],
  "Order_Document_ID": "sample string 1",
  "Reference_Document": "sample string 2",
  "Tech_ID": "sample string 3",
  "Office_ID": "sample string 4",
  "Status": 5,
  "Order_Date": "2025-04-04T00:27:04.132-04:00",
  "ETA_Date": "2025-04-04T00:27:04.132-04:00",
  "Customer_Name": "sample string 8",
  "Address_1": "sample string 9",
  "Address_2": "sample string 10",
  "City": "sample string 11",
  "State": "sample string 12",
  "Zip_Code": "sample string 13",
  "Shipping_Method": "sample string 14",
  "From_Site": "sample string 15",
  "Via_Site": "sample string 16",
  "To_Site": "sample string 17",
  "Notes": "sample string 18",
  "Service_Address_Option": 19,
  "Service_Misc_Address_Code": "sample string 20",
  "Address_3": "sample string 21",
  "Country": "sample string 22",
  "User_ID": "sample string 23",
  "Prelock_Status": 1,
  "Source": "sample string 24",
  "Freight": 1.0,
  "UserFieldData": [
    {},
    {},
    {}
  ],
  "UserFieldNames": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ],
  "Notifications": null
}

Response Information

Response body formats

application/json, text/json

Sample:
{
  "LineItems": [
    {
      "Order_Document_ID": "sample string 1",
      "Line_Item_Seq": 2,
      "Status": 3,
      "Item_Number": "sample string 4",
      "Description": "sample string 5",
      "UofM": "sample string 6",
      "Transfer_From_Qty": 7.0,
      "Qty_Fulfilled": 8.0,
      "Qty_Shipped": 9.0,
      "Qty_To_Receive": 10.0,
      "Qty_Received": 11.0,
      "Serivce_Call_Number": "sample string 12",
      "Service_Record_Type": 13,
      "Service_Line_Seq": 14,
      "Equipment_Line_Seq": 15,
      "Line_Item_Type": "sample string 16",
      "Return_Document_ID": "sample string 17",
      "Line_Seq": 18.0,
      "RTV_Number": "sample string 19",
      "Work_Order_Record_Type": 20,
      "Work_Order_Number": "sample string 21",
      "Qty_Base_UofM": 22.0,
      "From_Site": "sample string 23",
      "Via_Site": "sample string 24",
      "To_Site": "sample string 25",
      "From_Qty_Type": 26,
      "To_Qty_Type": 27,
      "Decimal_Places_Currency": 1,
      "Decimal_Places_Qty": 1,
      "Landed_Cost_Group_ID": "sample string 28",
      "Original_Transfer_From_Qty": 29.0,
      "Source": "sample string 30",
      "UserFieldData": [
        {},
        {},
        {}
      ],
      "UserFieldNames": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ],
      "Notifications": null
    },
    {
      "Order_Document_ID": "sample string 1",
      "Line_Item_Seq": 2,
      "Status": 3,
      "Item_Number": "sample string 4",
      "Description": "sample string 5",
      "UofM": "sample string 6",
      "Transfer_From_Qty": 7.0,
      "Qty_Fulfilled": 8.0,
      "Qty_Shipped": 9.0,
      "Qty_To_Receive": 10.0,
      "Qty_Received": 11.0,
      "Serivce_Call_Number": "sample string 12",
      "Service_Record_Type": 13,
      "Service_Line_Seq": 14,
      "Equipment_Line_Seq": 15,
      "Line_Item_Type": "sample string 16",
      "Return_Document_ID": "sample string 17",
      "Line_Seq": 18.0,
      "RTV_Number": "sample string 19",
      "Work_Order_Record_Type": 20,
      "Work_Order_Number": "sample string 21",
      "Qty_Base_UofM": 22.0,
      "From_Site": "sample string 23",
      "Via_Site": "sample string 24",
      "To_Site": "sample string 25",
      "From_Qty_Type": 26,
      "To_Qty_Type": 27,
      "Decimal_Places_Currency": 1,
      "Decimal_Places_Qty": 1,
      "Landed_Cost_Group_ID": "sample string 28",
      "Original_Transfer_From_Qty": 29.0,
      "Source": "sample string 30",
      "UserFieldData": [
        {},
        {},
        {}
      ],
      "UserFieldNames": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ],
      "Notifications": null
    },
    {
      "Order_Document_ID": "sample string 1",
      "Line_Item_Seq": 2,
      "Status": 3,
      "Item_Number": "sample string 4",
      "Description": "sample string 5",
      "UofM": "sample string 6",
      "Transfer_From_Qty": 7.0,
      "Qty_Fulfilled": 8.0,
      "Qty_Shipped": 9.0,
      "Qty_To_Receive": 10.0,
      "Qty_Received": 11.0,
      "Serivce_Call_Number": "sample string 12",
      "Service_Record_Type": 13,
      "Service_Line_Seq": 14,
      "Equipment_Line_Seq": 15,
      "Line_Item_Type": "sample string 16",
      "Return_Document_ID": "sample string 17",
      "Line_Seq": 18.0,
      "RTV_Number": "sample string 19",
      "Work_Order_Record_Type": 20,
      "Work_Order_Number": "sample string 21",
      "Qty_Base_UofM": 22.0,
      "From_Site": "sample string 23",
      "Via_Site": "sample string 24",
      "To_Site": "sample string 25",
      "From_Qty_Type": 26,
      "To_Qty_Type": 27,
      "Decimal_Places_Currency": 1,
      "Decimal_Places_Qty": 1,
      "Landed_Cost_Group_ID": "sample string 28",
      "Original_Transfer_From_Qty": 29.0,
      "Source": "sample string 30",
      "UserFieldData": [
        {},
        {},
        {}
      ],
      "UserFieldNames": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ],
      "Notifications": null
    }
  ],
  "Order_Document_ID": "sample string 1",
  "Reference_Document": "sample string 2",
  "Tech_ID": "sample string 3",
  "Office_ID": "sample string 4",
  "Status": 5,
  "Order_Date": "2025-04-04T00:27:04.147-04:00",
  "ETA_Date": "2025-04-04T00:27:04.147-04:00",
  "Customer_Name": "sample string 8",
  "Address_1": "sample string 9",
  "Address_2": "sample string 10",
  "City": "sample string 11",
  "State": "sample string 12",
  "Zip_Code": "sample string 13",
  "Shipping_Method": "sample string 14",
  "From_Site": "sample string 15",
  "Via_Site": "sample string 16",
  "To_Site": "sample string 17",
  "Notes": "sample string 18",
  "Service_Address_Option": 19,
  "Service_Misc_Address_Code": "sample string 20",
  "Address_3": "sample string 21",
  "Country": "sample string 22",
  "User_ID": "sample string 23",
  "Prelock_Status": 1,
  "Source": "sample string 24",
  "Freight": 1.0,
  "UserFieldData": [
    {},
    {},
    {}
  ],
  "UserFieldNames": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ],
  "Notifications": null
}