Update Projects
curl --request PATCH \
--url https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId} \
--header 'Content-Type: application/json' \
--data '
{
"publicItemPagesEnabled": true,
"name": "<string>",
"code": "<string>",
"description": "<string>",
"sector": "<string>",
"workType": "<string>",
"lifecycleStatus": "<string>",
"specDisciplines": [],
"tagIds": [
"<string>"
],
"clientId": "<string>",
"billingClientId": "<string>",
"projectLeadId": "<string>",
"plannedStartDate": "<string>",
"targetEndDate": "<string>"
}
'import requests
url = "https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}"
payload = {
"publicItemPagesEnabled": True,
"name": "<string>",
"code": "<string>",
"description": "<string>",
"sector": "<string>",
"workType": "<string>",
"lifecycleStatus": "<string>",
"specDisciplines": [],
"tagIds": ["<string>"],
"clientId": "<string>",
"billingClientId": "<string>",
"projectLeadId": "<string>",
"plannedStartDate": "<string>",
"targetEndDate": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
publicItemPagesEnabled: true,
name: '<string>',
code: '<string>',
description: '<string>',
sector: '<string>',
workType: '<string>',
lifecycleStatus: '<string>',
specDisciplines: [],
tagIds: ['<string>'],
clientId: '<string>',
billingClientId: '<string>',
projectLeadId: '<string>',
plannedStartDate: '<string>',
targetEndDate: '<string>'
})
};
fetch('https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'publicItemPagesEnabled' => true,
'name' => '<string>',
'code' => '<string>',
'description' => '<string>',
'sector' => '<string>',
'workType' => '<string>',
'lifecycleStatus' => '<string>',
'specDisciplines' => [
],
'tagIds' => [
'<string>'
],
'clientId' => '<string>',
'billingClientId' => '<string>',
'projectLeadId' => '<string>',
'plannedStartDate' => '<string>',
'targetEndDate' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}"
payload := strings.NewReader("{\n \"publicItemPagesEnabled\": true,\n \"name\": \"<string>\",\n \"code\": \"<string>\",\n \"description\": \"<string>\",\n \"sector\": \"<string>\",\n \"workType\": \"<string>\",\n \"lifecycleStatus\": \"<string>\",\n \"specDisciplines\": [],\n \"tagIds\": [\n \"<string>\"\n ],\n \"clientId\": \"<string>\",\n \"billingClientId\": \"<string>\",\n \"projectLeadId\": \"<string>\",\n \"plannedStartDate\": \"<string>\",\n \"targetEndDate\": \"<string>\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}")
.header("Content-Type", "application/json")
.body("{\n \"publicItemPagesEnabled\": true,\n \"name\": \"<string>\",\n \"code\": \"<string>\",\n \"description\": \"<string>\",\n \"sector\": \"<string>\",\n \"workType\": \"<string>\",\n \"lifecycleStatus\": \"<string>\",\n \"specDisciplines\": [],\n \"tagIds\": [\n \"<string>\"\n ],\n \"clientId\": \"<string>\",\n \"billingClientId\": \"<string>\",\n \"projectLeadId\": \"<string>\",\n \"plannedStartDate\": \"<string>\",\n \"targetEndDate\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"publicItemPagesEnabled\": true,\n \"name\": \"<string>\",\n \"code\": \"<string>\",\n \"description\": \"<string>\",\n \"sector\": \"<string>\",\n \"workType\": \"<string>\",\n \"lifecycleStatus\": \"<string>\",\n \"specDisciplines\": [],\n \"tagIds\": [\n \"<string>\"\n ],\n \"clientId\": \"<string>\",\n \"billingClientId\": \"<string>\",\n \"projectLeadId\": \"<string>\",\n \"plannedStartDate\": \"<string>\",\n \"targetEndDate\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"name": "<string>",
"code": "<string>",
"description": "<string>",
"sector": "<string>",
"workType": "<string>",
"lifecycleStatus": "<string>",
"projectLead": {
"userId": "<string>",
"email": "<string>",
"firstName": "<string>",
"lastName": "<string>"
},
"plannedStartDate": "<string>",
"targetEndDate": "<string>",
"region": "north_america",
"isPrototype": true,
"sourceProjectId": "<string>",
"client": {
"id": "<string>",
"name": "<string>",
"available": true
},
"billingClient": {
"id": "<string>",
"name": "<string>",
"available": true
},
"coverImageKey": "<string>",
"createdById": "<string>",
"status": "active",
"publicItemPagesEnabled": true,
"memberCount": 123,
"lastViewedAt": "<string>",
"specDisciplines": [
{}
],
"segments": [
{}
],
"tags": [
{
"id": "<string>",
"name": "<string>",
"color": "grey"
}
],
"categories": [
{}
],
"createdAt": "<string>",
"updatedAt": "<string>",
"archivedAt": "<string>"
}Projects
Update Projects
PATCH
/
v1
/
workspaces
/
{workspaceId}
/
projects
/
{projectId}
Update Projects
curl --request PATCH \
--url https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId} \
--header 'Content-Type: application/json' \
--data '
{
"publicItemPagesEnabled": true,
"name": "<string>",
"code": "<string>",
"description": "<string>",
"sector": "<string>",
"workType": "<string>",
"lifecycleStatus": "<string>",
"specDisciplines": [],
"tagIds": [
"<string>"
],
"clientId": "<string>",
"billingClientId": "<string>",
"projectLeadId": "<string>",
"plannedStartDate": "<string>",
"targetEndDate": "<string>"
}
'import requests
url = "https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}"
payload = {
"publicItemPagesEnabled": True,
"name": "<string>",
"code": "<string>",
"description": "<string>",
"sector": "<string>",
"workType": "<string>",
"lifecycleStatus": "<string>",
"specDisciplines": [],
"tagIds": ["<string>"],
"clientId": "<string>",
"billingClientId": "<string>",
"projectLeadId": "<string>",
"plannedStartDate": "<string>",
"targetEndDate": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
publicItemPagesEnabled: true,
name: '<string>',
code: '<string>',
description: '<string>',
sector: '<string>',
workType: '<string>',
lifecycleStatus: '<string>',
specDisciplines: [],
tagIds: ['<string>'],
clientId: '<string>',
billingClientId: '<string>',
projectLeadId: '<string>',
plannedStartDate: '<string>',
targetEndDate: '<string>'
})
};
fetch('https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'publicItemPagesEnabled' => true,
'name' => '<string>',
'code' => '<string>',
'description' => '<string>',
'sector' => '<string>',
'workType' => '<string>',
'lifecycleStatus' => '<string>',
'specDisciplines' => [
],
'tagIds' => [
'<string>'
],
'clientId' => '<string>',
'billingClientId' => '<string>',
'projectLeadId' => '<string>',
'plannedStartDate' => '<string>',
'targetEndDate' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}"
payload := strings.NewReader("{\n \"publicItemPagesEnabled\": true,\n \"name\": \"<string>\",\n \"code\": \"<string>\",\n \"description\": \"<string>\",\n \"sector\": \"<string>\",\n \"workType\": \"<string>\",\n \"lifecycleStatus\": \"<string>\",\n \"specDisciplines\": [],\n \"tagIds\": [\n \"<string>\"\n ],\n \"clientId\": \"<string>\",\n \"billingClientId\": \"<string>\",\n \"projectLeadId\": \"<string>\",\n \"plannedStartDate\": \"<string>\",\n \"targetEndDate\": \"<string>\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}")
.header("Content-Type", "application/json")
.body("{\n \"publicItemPagesEnabled\": true,\n \"name\": \"<string>\",\n \"code\": \"<string>\",\n \"description\": \"<string>\",\n \"sector\": \"<string>\",\n \"workType\": \"<string>\",\n \"lifecycleStatus\": \"<string>\",\n \"specDisciplines\": [],\n \"tagIds\": [\n \"<string>\"\n ],\n \"clientId\": \"<string>\",\n \"billingClientId\": \"<string>\",\n \"projectLeadId\": \"<string>\",\n \"plannedStartDate\": \"<string>\",\n \"targetEndDate\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"publicItemPagesEnabled\": true,\n \"name\": \"<string>\",\n \"code\": \"<string>\",\n \"description\": \"<string>\",\n \"sector\": \"<string>\",\n \"workType\": \"<string>\",\n \"lifecycleStatus\": \"<string>\",\n \"specDisciplines\": [],\n \"tagIds\": [\n \"<string>\"\n ],\n \"clientId\": \"<string>\",\n \"billingClientId\": \"<string>\",\n \"projectLeadId\": \"<string>\",\n \"plannedStartDate\": \"<string>\",\n \"targetEndDate\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"name": "<string>",
"code": "<string>",
"description": "<string>",
"sector": "<string>",
"workType": "<string>",
"lifecycleStatus": "<string>",
"projectLead": {
"userId": "<string>",
"email": "<string>",
"firstName": "<string>",
"lastName": "<string>"
},
"plannedStartDate": "<string>",
"targetEndDate": "<string>",
"region": "north_america",
"isPrototype": true,
"sourceProjectId": "<string>",
"client": {
"id": "<string>",
"name": "<string>",
"available": true
},
"billingClient": {
"id": "<string>",
"name": "<string>",
"available": true
},
"coverImageKey": "<string>",
"createdById": "<string>",
"status": "active",
"publicItemPagesEnabled": true,
"memberCount": 123,
"lastViewedAt": "<string>",
"specDisciplines": [
{}
],
"segments": [
{}
],
"tags": [
{
"id": "<string>",
"name": "<string>",
"color": "grey"
}
],
"categories": [
{}
],
"createdAt": "<string>",
"updatedAt": "<string>",
"archivedAt": "<string>"
}Body
application/json
Maximum string length:
255Maximum string length:
100Maximum string length:
2000Available options:
active, archived Available options:
north_america, east_coast, west_coast, europe, middle_east, latin_america, apac Available options:
architectural, finishes, ffe, ose Maximum array length:
20Pattern:
^\d{4}-\d{2}-\d{2}$Pattern:
^\d{4}-\d{2}-\d{2}$Response
200 - application/json
Show child attributes
Show child attributes
Available options:
north_america, east_coast, west_coast, europe, middle_east, latin_america, apac Show child attributes
Show child attributes
Show child attributes
Show child attributes
Available options:
active, archived Show child attributes
Show child attributes
⌘I