Purchase Order Detail

Field Type
cust_field_1 String
cust_field_2 String
cust_field_3 String
cust_field_4 String
cust_field_5 String
stop_recv_flg boolean
expensed_destination_flag String
requestor_name String
requestor_address String

New Fields - Allowed to be updated in different statuses

URL

PATCH .../wms/lgfapi/v10/entity/purchase_order_dtl/{id}/
{
  "fields": {
    "cust_field_1": "",
    "cust_field_2": "",
    "cust_field_3": "",
    "cust_field_4": "",
    "cust_field_5": "",
    "stop_recv_flg": "",
    "expensed_destination_flg": "",
    "requestor_name": "",
    "requestor_address": ""
  }
}

URL

PATCH .../wms/lgfapi/v10/entity/endpoint
{
  "fields": {
    "id": 456,
    "endpoint_name": "UPSPENDPOINT02",
    "endpoint_auth_type_id": "4",
    "username": "wxyz1",
    "host": "ht1",
    "port": "80801",
    "target_dir": "target_directory1",
    "external_sftp_key": "wxyz123*1"
  }
}
Note:
  1. Because the URL does not include {id}, the id field is required in fields.
  2. endpoint_auth_type_id = 4 indicates SFTP-style auth in this example (follow your UI mapping). The UI may require use_ssh_key or an uploaded key reference instead of password.