As per the Doc :
sessionID | Security handle for calling web services.[mandatory parameter] |
requestData | List of system name:value pairs from this list: request_id, name, req_by_user_id, req_for_account_id, req_for_user_id, priority, desired_date, comments. For adding a new request request_id must not be specified alongside the following mandatory fields: name, req_by_user_id and req_for_account_id/req_for_user_id. When editing an existing request only request_id is mandatory. Fields that need to be updated should be included as name:value pairs. Example: request_id:10001!name:t r 19!desired_date:6/24/2005!priority :5!req_by_user_id:spadmin!req_for_account_id:10001!comments:my comment |
requestValuesData | List of extended name:value pairs from this list: ship_to_address1, ship_to_address2, ship_to_city, ship_to_state, ship_to_country, ship_to_postal, gl_code, cost_center, authorization_number, project. All extended fields should be passed as name:value pairs using this parameter. This is not a mandatory parameter and can be left empty. Example: ship_to_city:Islandia!ship_to_state:NY!ship_to_postal:11749 |
requestValuesDataType | Data type mapping to the list of name:value pairs for parameter requestValuesData. If left empty, all associated data is stored in the database as string values. This is not a mandatory parameter and can be left empty. |
So if you only want to set the requested_for, you only need to provide the "requestData" parameter.
As i said : "request_id:12345!req_for_user_id:abcd12345" should be enough.
request_id : The ID of your request
req_for_user_id : User ID of the user you want to set as the requested for.
It should looks like this :
<saveRequestHeader xmlns="urn:usmRequestService">
<sessionID>*********************************************</sessionID>
<requestData>request_id:12345!req_for_user_id:abcd12345</requestData>
<requestValuesData></requestValuesData>
<requestValuesDataType></requestValuesDataType>
</saveRequestHeader>