Pular para o conteúdo

Atualiza projeto

PUT
/Project/External/Update
curl --request PUT \
--url https://api-prod.scoreplan.com.br/Project/External/Update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "id": 1, "idc": 1, "idp": 1, "code": 1, "title": "example", "programId": 1, "situation": 1, "level": "example", "startDateEstimated": "example", "endDateEstimated": "example", "estimatedExpenseDeduction": 1, "estimatedRevenueDeduction": 1, "validateDate": true, "actionsAutonomy": true, "considerWeekends": true, "percentageConclusion": 1, "porfolioPath": "example", "infoAction": { "expectedExpenseDeduction": 1, "expectedRevenueDeduction": 1, "realExpenseDeduction": 1, "realRevenueDeduction": 1, "expectedStartDate": "example", "expectedEndDate": "example", "realStartDate": "example", "realEndDate": "example" }, "infoCriteriaSelection": { "maxCriteriaPoints": 1, "criteriaPoints": 1, "percentageCriteriaPoints": 1, "modelCriteriaTitle": "example", "modelCriteriaDescription": "example", "criterias": [ { "title": "example", "description": "example", "maxPoints": 1, "obtainedPoints": 1, "percentageItens": 1, "criteriaComment": "example", "questions": [ { "title": "example", "description": "example", "points": 1, "answers": { "title": "example", "points": 1 } } ] } ] }, "raci": { "responsible": { "userId": 1, "trackProgress": true }, "authority": { "userId": 1, "trackProgress": true }, "responsibles": [ { "userId": 1, "trackProgress": true } ], "groupResponsible": [ { "userGroupId": 1, "trackProgress": true } ], "authorities": [ { "userId": 1, "trackProgress": true } ], "groupAuthority": [ { "userGroupId": 1, "trackProgress": true } ], "consulted": [ { "userId": 1, "trackProgress": true } ], "groupConsulted": [ { "userGroupId": 1, "trackProgress": true } ], "informed": [ { "userId": 1, "trackProgress": true } ], "groupInformed": [ { "userGroupId": 1, "trackProgress": true } ], "sponsor": [ { "userId": 1, "trackProgress": true } ], "groupSponsor": [ { "userGroupId": 1, "trackProgress": true } ] }, "sector": "example", "projectObjective": "example", "projectJustify": "example", "projectLessons": "example", "canvas": { "canvasId": 1, "canvasDescription": "example", "canvasModelDescription": "example" }, "kanban": { "kanbanId": 1, "description": "example" }, "extraFields": [ { "description": "example", "explanation": "example", "path": "example", "value": "example" } ], "extraFieldsHistory": "example", "tags": [ "example" ], "relevantFactHistory": [ { "date": "example", "trafficLight": 1, "relevantFact": "example" } ] }'
Media type application/json
object
id
integer format: int64
idc
null | number format: double
idp
null | number format: double
code
integer format: int64
title
null | string
0 <= 200 characters
programId
integer format: int64
situation
integer format: int32
level
null | string
startDateEstimated
null | string
endDateEstimated
null | string
estimatedExpenseDeduction
number format: double
estimatedRevenueDeduction
number format: double
validateDate
boolean
actionsAutonomy
null | boolean
considerWeekends
null | boolean
percentageConclusion
integer format: int32
porfolioPath
null | string
infoAction
object
expectedExpenseDeduction
number format: double
expectedRevenueDeduction
number format: double
realExpenseDeduction
number format: double
realRevenueDeduction
number format: double
expectedStartDate
null | string
expectedEndDate
null | string
realStartDate
null | string
realEndDate
null | string
infoCriteriaSelection
object
maxCriteriaPoints
null | number format: double
criteriaPoints
null | number format: double
percentageCriteriaPoints
null | number format: double
modelCriteriaTitle
null | string
modelCriteriaDescription
null | string
criterias
Array<object> | null
object
title
null | string
description
null | string
maxPoints
null | number format: double
obtainedPoints
null | number format: float
percentageItens
null | number format: double
criteriaComment
null | string
questions
Array<object> | null
object
title
null | string
description
null | string
points
null | number format: double
answers
object
title
null | string
points
number format: float
raci
object
responsible
object
userId
integer format: int64
trackProgress
null | boolean
authority
object
userId
integer format: int64
trackProgress
null | boolean
responsibles
Array<object> | null
object
userId
integer format: int64
trackProgress
null | boolean
groupResponsible
Array<object> | null
object
userGroupId
integer format: int64
trackProgress
null | boolean
authorities
Array<object> | null
object
userId
integer format: int64
trackProgress
null | boolean
groupAuthority
Array<object> | null
object
userGroupId
integer format: int64
trackProgress
null | boolean
consulted
Array<object> | null
object
userId
integer format: int64
trackProgress
null | boolean
groupConsulted
Array<object> | null
object
userGroupId
integer format: int64
trackProgress
null | boolean
informed
Array<object> | null
object
userId
integer format: int64
trackProgress
null | boolean
groupInformed
Array<object> | null
object
userGroupId
integer format: int64
trackProgress
null | boolean
sponsor
Array<object> | null
object
userId
integer format: int64
trackProgress
null | boolean
groupSponsor
Array<object> | null
object
userGroupId
integer format: int64
trackProgress
null | boolean
sector
null | string
projectObjective
null | string
projectJustify
null | string
projectLessons
null | string
canvas
object
canvasId
integer format: int64
canvasDescription
null | string
canvasModelDescription
null | string
kanban
object
kanbanId
integer format: int64
description
null | string
extraFields
Array<object> | null
object
description
null | string
explanation
null | string
path
null | string
value
null | string
extraFieldsHistory
null | object
tags
Array<string> | null
relevantFactHistory
Array<object> | null
object
date
null | string
trafficLight
null | integer format: int32
relevantFact
null | string
Example generated
{
"id": 1,
"idc": 1,
"idp": 1,
"code": 1,
"title": "example",
"programId": 1,
"situation": 1,
"level": "example",
"startDateEstimated": "example",
"endDateEstimated": "example",
"estimatedExpenseDeduction": 1,
"estimatedRevenueDeduction": 1,
"validateDate": true,
"actionsAutonomy": true,
"considerWeekends": true,
"percentageConclusion": 1,
"porfolioPath": "example",
"infoAction": {
"expectedExpenseDeduction": 1,
"expectedRevenueDeduction": 1,
"realExpenseDeduction": 1,
"realRevenueDeduction": 1,
"expectedStartDate": "example",
"expectedEndDate": "example",
"realStartDate": "example",
"realEndDate": "example"
},
"infoCriteriaSelection": {
"maxCriteriaPoints": 1,
"criteriaPoints": 1,
"percentageCriteriaPoints": 1,
"modelCriteriaTitle": "example",
"modelCriteriaDescription": "example",
"criterias": [
{
"title": "example",
"description": "example",
"maxPoints": 1,
"obtainedPoints": 1,
"percentageItens": 1,
"criteriaComment": "example",
"questions": [
{
"title": "example",
"description": "example",
"points": 1,
"answers": {
"title": "example",
"points": 1
}
}
]
}
]
},
"raci": {
"responsible": {
"userId": 1,
"trackProgress": true
},
"authority": {
"userId": 1,
"trackProgress": true
},
"responsibles": [
{
"userId": 1,
"trackProgress": true
}
],
"groupResponsible": [
{
"userGroupId": 1,
"trackProgress": true
}
],
"authorities": [
{
"userId": 1,
"trackProgress": true
}
],
"groupAuthority": [
{
"userGroupId": 1,
"trackProgress": true
}
],
"consulted": [
{
"userId": 1,
"trackProgress": true
}
],
"groupConsulted": [
{
"userGroupId": 1,
"trackProgress": true
}
],
"informed": [
{
"userId": 1,
"trackProgress": true
}
],
"groupInformed": [
{
"userGroupId": 1,
"trackProgress": true
}
],
"sponsor": [
{
"userId": 1,
"trackProgress": true
}
],
"groupSponsor": [
{
"userGroupId": 1,
"trackProgress": true
}
]
},
"sector": "example",
"projectObjective": "example",
"projectJustify": "example",
"projectLessons": "example",
"canvas": {
"canvasId": 1,
"canvasDescription": "example",
"canvasModelDescription": "example"
},
"kanban": {
"kanbanId": 1,
"description": "example"
},
"extraFields": [
{
"description": "example",
"explanation": "example",
"path": "example",
"value": "example"
}
],
"extraFieldsHistory": "example",
"tags": [
"example"
],
"relevantFactHistory": [
{
"date": "example",
"trafficLight": 1,
"relevantFact": "example"
}
]
}

OK

Media type application/json
object
objectives
Array<object> | null
object
title
null | string
weigth
integer format: int64
strategies
Array<string> | null
premisses
Array<string> | null
restrictions
Array<string> | null
risks
Array<object> | null
object
title
null | string
description
null | string
cause
null | string
prevent
null | string
impactDescription
null | string
date
string format: date-time
probability
integer format: int64
impact
integer format: int64
degree
integer format: int64
situation
integer format: int64
code
integer format: int64
type
integer format: int64
classificationTitle
null | string
classificationActive
null | string
classificationWeight
integer format: int64
efficiency
Array<object> | null
object
name
null | string
finalized
null | string
userName
null | string
inspectDate
null | string
controlActions
Array<object> | null
object
code
integer format: int64
title
null | string
startDate
null | string
endDate
null | string
where
null | string
how
null | string
reason
null | string
situation
integer format: int32
dateConclusion
null | string
percentageConclusion
integer format: int32
valuePredictedExpense
null | number format: double
valueRealizedExpense
null | number format: double
valuePredictedRecipe
null | number format: double
valueRealizedRecipe
null | number format: double
valueReleased
null | number format: double
urgency
null | integer format: int32
importance
null | integer format: int32
nameAuthority
null | string
nameResponsible
null | string
notifyResponsible
null | string
notifyAuthority
null | string
descriptionSector
null | string
trafficLight
null | integer format: int64
relevantFact
null | string
swots
Array<object> | null
object
item
null | string
title
null | string
dimension
null | string
tags
Array<string> | null
id
integer format: int64
idc
null | number format: double
idp
null | number format: double
code
integer format: int64
title
null | string
0 <= 200 characters
programId
integer format: int64
situation
integer format: int32
level
null | string
startDateEstimated
null | string
endDateEstimated
null | string
estimatedExpenseDeduction
number format: double
estimatedRevenueDeduction
number format: double
validateDate
boolean
actionsAutonomy
boolean
considerWeekends
boolean
percentageConclusion
integer format: int32
porfolioPath
null | string
infoAction
object
expectedExpenseDeduction
number format: double
expectedRevenueDeduction
number format: double
realExpenseDeduction
number format: double
realRevenueDeduction
number format: double
expectedStartDate
null | string
expectedEndDate
null | string
realStartDate
null | string
realEndDate
null | string
infoCriteriaSelection
object
maxCriteriaPoints
null | number format: double
criteriaPoints
null | number format: double
percentageCriteriaPoints
null | number format: double
modelCriteriaTitle
null | string
modelCriteriaDescription
null | string
criterias
Array<object> | null
object
title
null | string
description
null | string
maxPoints
null | number format: double
obtainedPoints
null | number format: float
percentageItens
null | number format: double
criteriaComment
null | string
questions
Array<object> | null
object
title
null | string
description
null | string
points
null | number format: double
answers
object
title
null | string
points
number format: float
raci
object
responsible
object
userId
integer format: int64
trackProgress
null | boolean
authority
object
userId
integer format: int64
trackProgress
null | boolean
responsibles
Array<object> | null
object
userId
integer format: int64
trackProgress
null | boolean
groupResponsible
Array<object> | null
object
userGroupId
integer format: int64
trackProgress
null | boolean
authorities
Array<object> | null
object
userId
integer format: int64
trackProgress
null | boolean
groupAuthority
Array<object> | null
object
userGroupId
integer format: int64
trackProgress
null | boolean
consulted
Array<object> | null
object
userId
integer format: int64
trackProgress
null | boolean
groupConsulted
Array<object> | null
object
userGroupId
integer format: int64
trackProgress
null | boolean
informed
Array<object> | null
object
userId
integer format: int64
trackProgress
null | boolean
groupInformed
Array<object> | null
object
userGroupId
integer format: int64
trackProgress
null | boolean
sponsor
Array<object> | null
object
userId
integer format: int64
trackProgress
null | boolean
groupSponsor
Array<object> | null
object
userGroupId
integer format: int64
trackProgress
null | boolean
sector
null | string
projectObjective
null | string
projectJustify
null | string
projectLessons
null | string
canvas
object
canvasId
integer format: int64
canvasDescription
null | string
canvasModelDescription
null | string
kanban
object
kanbanId
integer format: int64
description
null | string
extraFieldsHistory
null | object
relevantFactHistory
Array<object> | null
object
date
null | string
trafficLight
null | integer format: int32
relevantFact
null | string
Example generated
{
"objectives": [
{
"title": "example",
"weigth": 1
}
],
"strategies": [
"example"
],
"premisses": [
"example"
],
"restrictions": [
"example"
],
"risks": [
{
"title": "example",
"description": "example",
"cause": "example",
"prevent": "example",
"impactDescription": "example",
"date": "2026-04-15T12:00:00Z",
"probability": 1,
"impact": 1,
"degree": 1,
"situation": 1,
"code": 1,
"type": 1,
"classificationTitle": "example",
"classificationActive": "example",
"classificationWeight": 1
}
],
"efficiency": [
{
"name": "example",
"finalized": "example",
"userName": "example",
"inspectDate": "example"
}
],
"controlActions": [
{
"code": 1,
"title": "example",
"startDate": "example",
"endDate": "example",
"where": "example",
"how": "example",
"reason": "example",
"situation": 1,
"dateConclusion": "example",
"percentageConclusion": 1,
"valuePredictedExpense": 1,
"valueRealizedExpense": 1,
"valuePredictedRecipe": 1,
"valueRealizedRecipe": 1,
"valueReleased": 1,
"urgency": 1,
"importance": 1,
"nameAuthority": "example",
"nameResponsible": "example",
"notifyResponsible": "example",
"notifyAuthority": "example",
"descriptionSector": "example"
}
],
"trafficLight": 1,
"relevantFact": "example",
"swots": [
{
"item": "example",
"title": "example",
"dimension": "example"
}
],
"tags": [
"example"
],
"id": 1,
"idc": 1,
"idp": 1,
"code": 1,
"title": "example",
"programId": 1,
"situation": 1,
"level": "example",
"startDateEstimated": "example",
"endDateEstimated": "example",
"estimatedExpenseDeduction": 1,
"estimatedRevenueDeduction": 1,
"validateDate": true,
"actionsAutonomy": true,
"considerWeekends": true,
"percentageConclusion": 1,
"porfolioPath": "example",
"infoAction": {
"expectedExpenseDeduction": 1,
"expectedRevenueDeduction": 1,
"realExpenseDeduction": 1,
"realRevenueDeduction": 1,
"expectedStartDate": "example",
"expectedEndDate": "example",
"realStartDate": "example",
"realEndDate": "example"
},
"infoCriteriaSelection": {
"maxCriteriaPoints": 1,
"criteriaPoints": 1,
"percentageCriteriaPoints": 1,
"modelCriteriaTitle": "example",
"modelCriteriaDescription": "example",
"criterias": [
{
"title": "example",
"description": "example",
"maxPoints": 1,
"obtainedPoints": 1,
"percentageItens": 1,
"criteriaComment": "example",
"questions": [
{
"title": "example",
"description": "example",
"points": 1,
"answers": {
"title": "example",
"points": 1
}
}
]
}
]
},
"raci": {
"responsible": {
"userId": 1,
"trackProgress": true
},
"authority": {
"userId": 1,
"trackProgress": true
},
"responsibles": [
{
"userId": 1,
"trackProgress": true
}
],
"groupResponsible": [
{
"userGroupId": 1,
"trackProgress": true
}
],
"authorities": [
{
"userId": 1,
"trackProgress": true
}
],
"groupAuthority": [
{
"userGroupId": 1,
"trackProgress": true
}
],
"consulted": [
{
"userId": 1,
"trackProgress": true
}
],
"groupConsulted": [
{
"userGroupId": 1,
"trackProgress": true
}
],
"informed": [
{
"userId": 1,
"trackProgress": true
}
],
"groupInformed": [
{
"userGroupId": 1,
"trackProgress": true
}
],
"sponsor": [
{
"userId": 1,
"trackProgress": true
}
],
"groupSponsor": [
{
"userGroupId": 1,
"trackProgress": true
}
]
},
"sector": "example",
"projectObjective": "example",
"projectJustify": "example",
"projectLessons": "example",
"canvas": {
"canvasId": 1,
"canvasDescription": "example",
"canvasModelDescription": "example"
},
"kanban": {
"kanbanId": 1,
"description": "example"
},
"extraFieldsHistory": "example",
"relevantFactHistory": [
{
"date": "example",
"trafficLight": 1,
"relevantFact": "example"
}
]
}