The syntax for the UpdateResourceEffort data input parameters is as follows:
{
"global_properties":
{
"char_set":"<char_set>",
"date_format":"<date_format>",
"language":"<lang>"
"api_version":"et-integration-api-1.0",
},
"application_data":
{
"source_application_descriptor":
{
"source_app":"<source_App>",
"source_ref_unique_id":"<source_ID>",
"source_ref_description":"<source_desc>",
"source_ref_type":"<source_type>"
},
"security_descriptor":
{
"authorization_policy":"<auth_policy>",
"authorization_policy_given_resource_descriptor":
{
"resource_id":"<auth_resource_ID>",
"resource_login_id":"<auth_resource_login_ID>",
"resource_email":"<auth_resource_email>",
"resource_first_name":"<auth_resource_last_name>",
"resource_last_name":"<auth_resource_first_name>"
}
},
"resource_descriptor":
{
"resource_id":"<resource_ID>",
"resource_login_id":"<resource_login_ID>",
"resource_email":"<resource_email>",
"resource_first_name":"<resource_last_name>",
"resource_last_name":"<resource_first_name>"
},
"project_descriptor":
{
"project_id":"<project_ID>",
"project_name":"<project_name>",
"project_manager":"<project_manager>",
"project_status":"<project_status>",
"project_program":"<project_program>",
"activity_descriptor":
{
"activity_id":"<act_id>",
"activity_desc":"<act_desc>",
"role_descriptor":
{
"role_id":"<role_ID>",
"role_desc":"<role_desc>"
},
"effort_descriptor":
{
"update_action_code":"<action_code>",
"date":"<date>",
"total_hours":"<total_hrs>",
"overtime_hours":"<ot_hrs>",
"notes":"<notes>"
}
},
"time_category_descriptor":
{
"time_category_desc":"<time_desc>",
"effort_descriptor":
{
"update_action_code":"<action_code>",
"date":"<date>",
"total_hours":"<total_hrs>",
"overtime_hours":"<ot_hrs>",
"notes":"<notes>"
}
}
},
"time_category_descriptor":
{
"time_category_desc":"<time_desc>",
"effort_descriptor":
{
"update_action_code":"<action_code>",
"date":"<date>",
"total_hours":"<total_hrs>",
"overtime_hours":"<ot_hrs>",
"notes":"<notes>"
}
},
"operation_type":"<op_type>",
"test_mode":"<test_mode>"
}
}
This is an example with values for the placeholders.
{
"global_properties":
{
"char_set":"ISO-8859-1",
"date_format":"yyyy/MM/dd",
"language":"en"
"api_version":"et-integration-api-1.0",
},
"application_data":
{
"source_application_descriptor":
{
"source_app":"hp quality center",
"source_ref_unique_id":"WEWEWWW1222",
"source_ref_description":"this is related to new calls",
"source_ref_type":"support call"
},
"security_descriptor":
{
"authorization_policy":"authorize_with_login_resource",
"authorization_policy_given_resource_descriptor":
{
"resource_id":"",
"resource_login_id":"",
"resource_email":"",
"resource_first_name":"don",
"resource_last_name":"adams"
}
},
"resource_descriptor":
{
"resource_id":"",
"resource_login_id":"",
"resource_email":"",
"resource_first_name":"don",
"resource_last_name":"adams"
},
"project_descriptor":
{
"project_id":"4",
"project_name":"",
"project_manager":"",
"project_status":"",
"project_program":"",
"time_category_descriptor":
{
"time_category_desc":" ",
"effort_descriptor":
{
"date":" ",
"total_hours":" ",
"overtime_hours":" ",
"update_action_code":" ",
"notes":" "
}
},
"activity_descriptor":
{
"activity_id":"JXHQDCCGSVHPC",
"activity_desc":"new act",
"role_descriptor":
{
"role_id":"",
"role_desc":"Network Admin"
}
},
"effort_descriptor":
{
"update_action_code":"INCREMENT",
"date":"2012/10/11",
"total_hours":"10.5",
"overtime_hours":"5",
"notes":"some notes"
}
},
"operation_type":"EXTERNAL_ACTIVITY",
"test_mode":"false"
}
}
Legal Notices
Copyright © 2000, 2016,
Oracle and/or its affiliates. All rights reserved.
Last Published Thursday, December 01, 2016