The syntax for the JSON formatted parameters from a successful GetActivityAssignments function is similar to the following.
{
"global_properties":
{
"char_set":"<some_character_set>",
"date_format":"<some_date_format>",
"effort_unit":"<some_units_for_effort>",
"language":"<some_language>"
"api_version":"et-integration-api-1.0",
},
"application_data":
{
"et_transaction_id":"<unique_transaction_ID>",
"result_code":"<result_code>",
"result_reason":"<result_reason>",
"activity_descriptor_list":
{
"resource_descriptor":
{
"resource_id":"<some_value>",
"resource_login_id":"<some_value>",
"resource_email":"<some_value>",
"resource_last_name":"<some_value>",
"resource_first_name":"<some_value>"
},
"total_assignments":"<number_of_activities>",
"rows_returned":"<number_of_rows_returned>",
"activity_descriptor":
[
{
"activity_id":"<ID_1>",
"activity_name":"<activity_name>",
"activity_desc":"<activity_description>",
"activity_type":"<activity_type>",
"activity_planned_start_date":"<some_date>",
"activity_planned_end_date":"<some_date>",
"activity_actual_start_date":"<some_date>",
"activity_actual_end_date":"<some_date>",
"activity_actual_efforts":"<actual_efforts_value>",
"activity_remaining_efforts":"<remaining_efforts_value>",
"activity_planned_efforts":"<planned_efforts_value>",
"activity_percent_completion":"<some_value>",
"activity_owner_info":"<list_of_owners>",
"activity_baseline_start_date":"<some_date>",
"activity_baseline_end_date":"<some_date>",
"activity_planned_effort_type":"<PET_value>",
"activity_actual_effort_type":"<AET_value>",
"status_descriptor":
{
"status_id":"<status_ID>",
"status_desc":"<status_description>"
},
"role_descriptor":
{
"role_id":"<role_ID>",
"role_desc":"<role_description>"
},
"activity_external":"<yes|no>",
"activity_external_id":"<some_ID>",
"project_descriptor":
{
"project_id":"<project_ID>",
"project_name":"<project_name>",
"project_manager":"<project_manager_name>",
"project_status":"<project_status>",
"project_program":"<list_of_program_names>"
}
},
{
"activity_id":"<ID_2>",
"activity_name":"<activity_name>",
"activity_desc":"<activity_description>",
"activity_type":"<activity_type>",
"activity_planned_start_date":"<some_date>",
"activity_planned_end_date":"<some_date>",
"activity_actual_start_date":"<some_date>",
"activity_actual_end_date":"<some_date>",
"activity_actual_efforts":"<actual_efforts_value>",
"activity_remaining_efforts":"<remaining_efforts_value>",
"activity_planned_efforts":"<planned_efforts_value>",
"activity_percent_completion":"<some_value>",
"activity_owner_info":"<list_of_owners>",
"activity_baseline_start_date":"<some_date>",
"activity_baseline_end_date":"<some_date>",
"activity_planned_effort_type":"<PET_value>",
"activity_actual_effort_type":"<AET_value>",
"status_descriptor":
{
"status_id":"<status_ID>",
"status_desc":"<status_description>"
},
"role_descriptor":
{
"role_id":"<role_ID>",
"role_desc":"<role_description>"
},
"activity_external":"<yes|no>",
"activity_external_id":"<some_ID>",
"project_descriptor":
{
"project_id":"<project_ID>",
"project_name":"<project_name>",
"project_manager":"<project_manager_name>",
"project_status":"<project_status>",
"project_program":"<list_of_program_names>"
}
}
]
}
}
}
Legal Notices
Copyright © 2000, 2016,
Oracle and/or its affiliates. All rights reserved.
Last Published Thursday, December 01, 2016