Inserta proyecto
POST
/Project/External/Insert
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Post, RequestUri = new Uri("https://api-prod.scoreplan.com.br/Project/External/Insert"), Headers = { { "Authorization", "Bearer <token>" }, }, Content = new StringContent("{ \"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\" } ] }") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } }};using (var response = await client.SendAsync(request)){ response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body);}package main
import ( "fmt" "strings" "net/http" "io")
func main() {
url := "https://api-prod.scoreplan.com.br/Project/External/Insert"
payload := strings.NewReader("{ \"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\" } ] }")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>") req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close() body, _ := io.ReadAll(res.Body)
fmt.Println(res) fmt.Println(string(body))
}HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://api-prod.scoreplan.com.br/Project/External/Insert")) .header("Authorization", "Bearer <token>") .header("Content-Type", "application/json") .method("POST", HttpRequest.BodyPublishers.ofString("{ \"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\" } ] }")) .build();HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());System.out.println(response.body());OkHttpClient client = new OkHttpClient();
MediaType mediaType = MediaType.parse("application/json");RequestBody body = RequestBody.create(mediaType, "{ \"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\" } ] }");Request request = new Request.Builder() .url("https://api-prod.scoreplan.com.br/Project/External/Insert") .post(body) .addHeader("Authorization", "Bearer <token>") .addHeader("Content-Type", "application/json") .build();
Response response = client.newCall(request).execute();import axios from 'axios';
const options = { method: 'POST', url: 'https://api-prod.scoreplan.com.br/Project/External/Insert', headers: {Authorization: 'Bearer <token>', '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'}] }};
try { const { data } = await axios.request(options); console.log(data);} catch (error) { console.error(error);}const url = 'https://api-prod.scoreplan.com.br/Project/External/Insert';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"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"}]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}val client = OkHttpClient()
val mediaType = MediaType.parse("application/json")val body = RequestBody.create(mediaType, "{ \"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\" } ] }")val request = Request.Builder() .url("https://api-prod.scoreplan.com.br/Project/External/Insert") .post(body) .addHeader("Authorization", "Bearer <token>") .addHeader("Content-Type", "application/json") .build()
val response = client.newCall(request).execute()curl --request POST \ --url https://api-prod.scoreplan.com.br/Project/External/Insert \ --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" } ] }'Authorizations
Sección titulada «Authorizations »Request Body required
Sección titulada «Request Body required » 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
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" } ]}Responses
Sección titulada « Responses »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
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" } ]}