Ir al contenido

Modifica una acción

PUT
/Actions/External/Update
curl --request PUT \
--url https://api-prod.scoreplan.com.br/Actions/External/Update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "id": 1, "code": 1, "title": "example", "description": "example", "phaseId": 1, "startDateEstimated": "example", "endDateEstimated": "example", "situation": 1, "percentageConclusion": 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 } ] }, "traceability": [ { "additionalProperty": "example" } ], "lastTraceability": "example", "simplifiedTraceability": [ "example" ], "lastSimplifiedTraceability": "example", "idc": 1, "idp": 1, "sector": "example", "tags": [ "example" ], "classifications": [ "example" ] }'
Media type application/json
object
id
integer format: int64
code
integer format: int64
title
null | string
0 <= 200 characters
description
null | string
phaseId
null | integer format: int64
startDateEstimated
null | string
endDateEstimated
null | string
situation
integer format: int64
percentageConclusion
integer format: int32
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
traceability
Array<object> | null
object
key
additional properties
string
lastTraceability
null | object
simplifiedTraceability
Array<string> | null
lastSimplifiedTraceability
null | string
idc
null | number format: double
idp
null | number format: double
sector
null | string
tags
Array<string> | null
classifications
Array<string> | null
Example generated
{
"id": 1,
"code": 1,
"title": "example",
"description": "example",
"phaseId": 1,
"startDateEstimated": "example",
"endDateEstimated": "example",
"situation": 1,
"percentageConclusion": 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
}
]
},
"traceability": [
{
"additionalProperty": "example"
}
],
"lastTraceability": "example",
"simplifiedTraceability": [
"example"
],
"lastSimplifiedTraceability": "example",
"idc": 1,
"idp": 1,
"sector": "example",
"tags": [
"example"
],
"classifications": [
"example"
]
}

OK

Media type application/json
object
id
integer format: int64
code
integer format: int64
title
null | string
0 <= 200 characters
description
null | string
phaseId
null | integer format: int64
startDateEstimated
null | string
endDateEstimated
null | string
situation
integer format: int64
percentageConclusion
integer format: int32
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
traceability
Array<object> | null
object
key
additional properties
string
lastTraceability
null | object
simplifiedTraceability
Array<string> | null
lastSimplifiedTraceability
null | string
idc
null | number format: double
idp
null | number format: double
sector
null | string
tags
Array<string> | null
classifications
Array<string> | null
Example generated
{
"id": 1,
"code": 1,
"title": "example",
"description": "example",
"phaseId": 1,
"startDateEstimated": "example",
"endDateEstimated": "example",
"situation": 1,
"percentageConclusion": 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
}
]
},
"traceability": [
{
"additionalProperty": "example"
}
],
"lastTraceability": "example",
"simplifiedTraceability": [
"example"
],
"lastSimplifiedTraceability": "example",
"idc": 1,
"idp": 1,
"sector": "example",
"tags": [
"example"
],
"classifications": [
"example"
]
}