curl --request POST \
--url https://api.zivio.net/api/v3/jobs \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--header 'zivio-tenant-id: <api-key>' \
--data '
{
"jobs": [
{
"title": "My Project",
"description": "My Description",
"status": "new",
"start_date": "2023-12-25",
"due_on": "2023-12-25",
"submission_deadline": "2023-11-07T05:31:56Z",
"budget": "500000.00",
"fee": "15.00",
"markup": "4.75",
"ccy": "GBP",
"original_budget": "500000.00",
"rate": "500000.00",
"original_rate": "500000.00",
"award_type": "competition",
"visibility": "public",
"external_id": "ABC-101202",
"custom_fields": {
"key": "value"
},
"milestones_attributes": [
{
"title": "Title of Milestone",
"details": "Details of Milestone",
"rate": "1500.00",
"ccy": "GBP"
}
],
"job_line_items_attributes": [
{
"item_id": "2",
"item_type": "item",
"name": "Server",
"manufacturer_name": "Dell",
"manufacturer_part_number": "X15",
"quantity": "7.0",
"uom_id": 123
}
],
"administrator_id": "7158",
"client_id": "7158",
"client_org_id": "7158",
"supplier_id": "77",
"cost_centers": [
{
"cost_center_id": "303",
"job_id": "2606",
"allocation": "100.0"
}
]
}
]
}
'{
"id": "2606",
"title": "My Project",
"description": "My Description",
"status": "new",
"start_date": "2023-12-25",
"due_on": "2023-12-25",
"submission_deadline": "2023-11-07T05:31:56Z",
"budget": "500000.00",
"fee": "15.00",
"markup": "4.75",
"ccy": "GBP",
"original_budget": "500000.00",
"rate": "500000.00",
"original_rate": "500000.00",
"award_type": "competition",
"visibility": "public",
"external_id": "ABC-101202",
"is_child": "false",
"is_parent": "false",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"custom_fields": {
"key": "value"
},
"payment_terms_in_days": "30",
"badges": [
{
"id": "1",
"name": "Badge 1"
}
],
"milestones": [
{
"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]",
"business_unit": "Public Private Partnerships",
"division": "Infastructure",
"department": "Housing",
"org_name": "Organisation Ltd",
"org_id": "567",
"vetting_status": "PASSED",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"custom_fields": {
"key": "value"
},
"has_oversight": "true"
},
"children": [
"124"
],
"parents": [
"14"
],
"custom_fields": {
"key": "value"
}
}
],
"job_line_items": [
{
"id": "66",
"job_id": "6",
"item_type": "item",
"name": "Server",
"manufacturer_name": "Dell",
"manufacturer_part_number": "X15",
"quantity": "10.0",
"quantity_delivered": "0.0",
"quantity_undelivered": "10.0",
"price": "500.00",
"price_ccy": "GBP",
"uom": "<string>",
"net_total_price": "5000.00",
"net_total_price_ccy": "GBP",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"custom_fields": {
"key": "value"
}
}
],
"administrator": {
"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": "Infastructure",
"vetting_status": "PASSED",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"custom_fields": {
"key": "value"
},
"has_oversight": "true"
},
"client": {
"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": "Infastructure",
"vetting_status": "PASSED",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"custom_fields": {
"key": "value"
},
"has_oversight": "true"
},
"client_org": {
"id": "7158",
"name": "Company Ltd",
"is_external_client": "true",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"supplier": {
"id": "77",
"name": "Company Inc",
"email": "[email protected]",
"vetting_status": "PASSED",
"tax_number": "9876543234",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"cost_centers": [
{
"cost_center_id": "303",
"job_id": "2606",
"allocation_percentage": "100.0",
"name": "Cost Centre Name",
"code": "Cost Centre Code",
"admin_custom_fields": {
"key": "Field Name",
"value": "Field Value"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"job_screening_questions": [
{
"id": "66",
"key": "Screening Question",
"control_type": "string",
"values": "less than 10 employees, less than 50 employees, more than 50 employees",
"value_conversion_type": "to_s",
"mandatory": "true",
"hint": "please select number of team members.",
"order": "0"
}
]
}curl --request POST \
--url https://api.zivio.net/api/v3/jobs \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--header 'zivio-tenant-id: <api-key>' \
--data '
{
"jobs": [
{
"title": "My Project",
"description": "My Description",
"status": "new",
"start_date": "2023-12-25",
"due_on": "2023-12-25",
"submission_deadline": "2023-11-07T05:31:56Z",
"budget": "500000.00",
"fee": "15.00",
"markup": "4.75",
"ccy": "GBP",
"original_budget": "500000.00",
"rate": "500000.00",
"original_rate": "500000.00",
"award_type": "competition",
"visibility": "public",
"external_id": "ABC-101202",
"custom_fields": {
"key": "value"
},
"milestones_attributes": [
{
"title": "Title of Milestone",
"details": "Details of Milestone",
"rate": "1500.00",
"ccy": "GBP"
}
],
"job_line_items_attributes": [
{
"item_id": "2",
"item_type": "item",
"name": "Server",
"manufacturer_name": "Dell",
"manufacturer_part_number": "X15",
"quantity": "7.0",
"uom_id": 123
}
],
"administrator_id": "7158",
"client_id": "7158",
"client_org_id": "7158",
"supplier_id": "77",
"cost_centers": [
{
"cost_center_id": "303",
"job_id": "2606",
"allocation": "100.0"
}
]
}
]
}
'{
"id": "2606",
"title": "My Project",
"description": "My Description",
"status": "new",
"start_date": "2023-12-25",
"due_on": "2023-12-25",
"submission_deadline": "2023-11-07T05:31:56Z",
"budget": "500000.00",
"fee": "15.00",
"markup": "4.75",
"ccy": "GBP",
"original_budget": "500000.00",
"rate": "500000.00",
"original_rate": "500000.00",
"award_type": "competition",
"visibility": "public",
"external_id": "ABC-101202",
"is_child": "false",
"is_parent": "false",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"custom_fields": {
"key": "value"
},
"payment_terms_in_days": "30",
"badges": [
{
"id": "1",
"name": "Badge 1"
}
],
"milestones": [
{
"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]",
"business_unit": "Public Private Partnerships",
"division": "Infastructure",
"department": "Housing",
"org_name": "Organisation Ltd",
"org_id": "567",
"vetting_status": "PASSED",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"custom_fields": {
"key": "value"
},
"has_oversight": "true"
},
"children": [
"124"
],
"parents": [
"14"
],
"custom_fields": {
"key": "value"
}
}
],
"job_line_items": [
{
"id": "66",
"job_id": "6",
"item_type": "item",
"name": "Server",
"manufacturer_name": "Dell",
"manufacturer_part_number": "X15",
"quantity": "10.0",
"quantity_delivered": "0.0",
"quantity_undelivered": "10.0",
"price": "500.00",
"price_ccy": "GBP",
"uom": "<string>",
"net_total_price": "5000.00",
"net_total_price_ccy": "GBP",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"custom_fields": {
"key": "value"
}
}
],
"administrator": {
"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": "Infastructure",
"vetting_status": "PASSED",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"custom_fields": {
"key": "value"
},
"has_oversight": "true"
},
"client": {
"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": "Infastructure",
"vetting_status": "PASSED",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"custom_fields": {
"key": "value"
},
"has_oversight": "true"
},
"client_org": {
"id": "7158",
"name": "Company Ltd",
"is_external_client": "true",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"supplier": {
"id": "77",
"name": "Company Inc",
"email": "[email protected]",
"vetting_status": "PASSED",
"tax_number": "9876543234",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"cost_centers": [
{
"cost_center_id": "303",
"job_id": "2606",
"allocation_percentage": "100.0",
"name": "Cost Centre Name",
"code": "Cost Centre Code",
"admin_custom_fields": {
"key": "Field Name",
"value": "Field Value"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"job_screening_questions": [
{
"id": "66",
"key": "Screening Question",
"control_type": "string",
"values": "less than 10 employees, less than 50 employees, more than 50 employees",
"value_conversion_type": "to_s",
"mandatory": "true",
"hint": "please select number of team members.",
"order": "0"
}
]
}Show child attributes
"My Project"
"My Description"
"new"
"500000.00"
"15.00"
"4.75"
"GBP"
"500000.00"
"500000.00"
"500000.00"
"competition"
"public"
"ABC-101202"
Show child attributes
"2"
"item"
"Server"
"Dell"
"X15"
"7.0"
"7158"
"7158"
"7158"
"77"
ok
"2606"
"My Project"
"My Description"
"new"
"500000.00"
"15.00"
"4.75"
"GBP"
"500000.00"
"500000.00"
"500000.00"
"competition"
"public"
"ABC-101202"
"false"
"false"
"30"
Show child attributes
"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"
"Public Private Partnerships"
"Infastructure"
"Housing"
"Organisation Ltd"
"567"
"PASSED"
"true"
Show child attributes
"66"
"6"
"item"
"Server"
"Dell"
"X15"
"10.0"
"0.0"
"10.0"
"500.00"
"GBP"
"5000.00"
"GBP"
Show child attributes
"7158"
"Jack"
"Jones"
"Organisation Ltd"
"567"
"Public Private Partnerships"
"Infastructure"
"Infastructure"
"PASSED"
"true"
Show child attributes
"7158"
"Jack"
"Jones"
"Organisation Ltd"
"567"
"Public Private Partnerships"
"Infastructure"
"Infastructure"
"PASSED"
"true"
Show child attributes
Show child attributes
"303"
"2606"
"100.0"
"Cost Centre Name"
"Cost Centre Code"
Show child attributes
"66"
"Screening Question"
"string"
"less than 10 employees, less than 50 employees, more than 50 employees"
"to_s"
"true"
"please select number of team members."
"0"