cURL
curl --request GET \ --url https://api.zivio.net/api/v3/milestones/{id} \ --header 'X-API-Key: <api-key>' \ --header 'zivio-tenant-id: <api-key>'
{ "id": "66", "client_suggested": "true", "title": "Title of Milestone", "details": "Details of Milestone", "rate": "1500.00", "ccy": "GBP", "due_on": "2023-11-07T05:31:56Z", "notes": "some notes relating to the milestone", "comments": "some comments relating to the milestone", "job_id": "2669", "job_summary": "summary of miestone", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "status": "open", "approved_at": "2023-11-07T05:31:56Z", "approved_by": { "id": "7158", "first_name": "Jack", "last_name": "Jones", "email": "[email protected]", "org_name": "Organisation Ltd", "org_id": "567", "business_unit": "Public Private Partnerships", "division": "Infastructure", "department": "Bridges", "vetting_status": "PASSED", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "custom_fields": { "key": "value" }, "has_oversight": "<string>" }, "level_1_approved_at": "2023-11-07T05:31:56Z", "level_1_approved_by": { "id": "258", "first_name": "John", "last_name": "Smith", "email": "[email protected]", "org_name": "Smith Co Ltd", "org_id": "200", "business_unit": "Public Private Partnerships", "division": "Infastructure", "department": "Bridges", "vetting_status": "PASSED", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "custom_fields": { "key": "value" }, "has_oversight": "<string>" }, "children": [ "124" ], "parents": [ "14" ], "custom_fields": { "key": "value" } }
ok
"66"
"true"
"Title of Milestone"
"Details of Milestone"
"1500.00"
"GBP"
"some notes relating to the milestone"
"some comments relating to the milestone"
"2669"
"summary of miestone"
"open"
Show child attributes
"7158"
"Jack"
"Jones"
"[email protected]"
"Organisation Ltd"
"567"
"Public Private Partnerships"
"Infastructure"
"Bridges"
"PASSED"
"value"
"258"
"John"
"Smith"
"Smith Co Ltd"
"200"