The syntax for the UpdateActivity 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_last_name":"<auth_resource_last_name>",
"resource_first_name":"<auth_resource_first_name>"
}
},
"resource_descriptor":
{
"resource_id":"<resource_ID>",
"resource_login_id":"<resource_login_ID>",
"resource_email":"<resource_email>",
"resource_last_name":"<resource_last_name>",
"resource_first_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_percent_completion":"<act_percent>",
"status_descriptor":
{
"status_id":"<act_ID>",
"status_desc":"<act_desc>"
}
}
},
"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":"",
"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 calls",
"source_ref_type":"support call"
},
"security_descriptor":
{
"authorization_policy":"authorize_with_login_resource",
"authorization_policy_given_resource_descriptor":
{
"resource_id":"JBCDQVW5QMV9F",
"resource_login_id":"",
"resource_email":"",
"resource_first_name":"John",
"resource_last_name":"Smith"
}
},
"resource_descriptor":
{
"resource_id":"JBCDQVW5QMV9F",
"resource_login_id":"",
"resource_email":"",
"resource_first_name":"",
"resource_last_name":""
},
"project_descriptor":
{
"project_id":"1",
"project_name":"ExampleA",
"activity_descriptor":
{
"activity_id":"JABC5V9JSF4SP",
"activity_percent_completion":"38",
"status_descriptor":
{
"status_id":"Closed",
"status_desc":""
}
}
},
"operation_type":"INTERNAL_ACTIVITY",
"test_mode":"FALSE"
}
}
Legal Notices
Copyright © 2000, 2016,
Oracle and/or its affiliates. All rights reserved.
Last Published Thursday, December 01, 2016