/rest/projects/pid/01-01
<?xml version="1.0" encoding="UTF-8"?> <xml> <item0 id="209" project_number="01-01" project_name="test1" purpose="" location="" is_add_to_indirect_costs="0" is_private_project="0" is_calc_from_expenses="0" is_included_in_time_sheet="0" is_active_on_start_timelogging="0" ignore_required_purpose="0" project_phase_id="0" project_category_id="0" project_manager_id="0" client_id="0" office_in_charge_id="0" path_correspondence="" path_correspondence_default="" path_inbox="" path_inbox_default="" path_outbox="" path_outbox_default="" .../> </xml>
In X2 12.6, the cost_centre was moved to work packages and you will therefore not be able to gain access to the cost_centre_id via the projects REST call.
/rest/projects/all
<?xml version="1.0" encoding="UTF-8"?> <xml> <item0 id="209" project_number="01-01" project_name="test1" /> <item1 id="210" project_number="01-02" project_name="test2" /> </xml>
Maximum: 5000 rows
/rest/projects/search
keyword=test
Field | Description | Valid values | German Name |
---|---|---|---|
keyword | keyword | Suche | |
pid | project number | Projektnummer |