Gets a GED document
GET
/GedDocument/External/Select
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Get, RequestUri = new Uri("https://api-prod.scoreplan.com.br/GedDocument/External/Select"), Headers = { { "Authorization", "Bearer <token>" }, },};using (var response = await client.SendAsync(request)){ response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body);}package main
import ( "fmt" "net/http" "io")
func main() {
url := "https://api-prod.scoreplan.com.br/GedDocument/External/Select"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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/GedDocument/External/Select")) .header("Authorization", "Bearer <token>") .method("GET", HttpRequest.BodyPublishers.noBody()) .build();HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());System.out.println(response.body());OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder() .url("https://api-prod.scoreplan.com.br/GedDocument/External/Select") .get() .addHeader("Authorization", "Bearer <token>") .build();
Response response = client.newCall(request).execute();import axios from 'axios';
const options = { method: 'GET', url: 'https://api-prod.scoreplan.com.br/GedDocument/External/Select', headers: {Authorization: 'Bearer <token>'}};
try { const { data } = await axios.request(options); console.log(data);} catch (error) { console.error(error);}const url = 'https://api-prod.scoreplan.com.br/GedDocument/External/Select';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}val client = OkHttpClient()
val request = Request.Builder() .url("https://api-prod.scoreplan.com.br/GedDocument/External/Select") .get() .addHeader("Authorization", "Bearer <token>") .build()
val response = client.newCall(request).execute()curl --request GET \ --url https://api-prod.scoreplan.com.br/GedDocument/External/Select \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” id
integer format: int32
Responses
Section titled “ Responses ”OK
Media type application/json
object
id
integer format: int64
businessGroupId
integer format: int64
companyId
null | integer format: int64
codeDocument
null | string
code
integer format: int64
name
null | string
description
null | string
revision
integer format: int64
docLevel
integer format: int32
version
integer format: int64
categoryId
integer format: int64
sectorName
null | string
sectorId
null | integer format: int64
copySectorName
null | string
copySectorId
null | integer format: int64
processName
null | string
processId
null | integer format: int64
expiracyDate
string format: date-time
expiracyDateLastStep
null | string format: date-time
obsolescenceDate
null | string format: date-time
conclusionDate
null | string format: date-time
daysToNotifyExpiration
integer format: int32
isTemplate
boolean
useWatermark
boolean
convertDocument
boolean
documentHeader
null | integer format: int64
documentHeaderName
null | string
requestReviewId
null | integer format: int64
requestReview
object
id
integer format: int64
documentId
integer format: int64
documentName
null | string
requestUserId
integer format: int64
requestUserName
null | string
requestUserImage
null | string
reviewerUserId
null | integer format: int64
reviewerUserName
null | string
reviewerUserImage
null | string
justification
null | string
justificationRejection
null | string
approved
boolean
revision
null | integer format: int64
version
null | integer format: int64
createdBy
null | string
createdByName
null | string
createdByImage
null | string
dateCreated
null | string format: date-time
modifiedBy
null | string
modifiedByName
null | string
modifiedByImage
null | string
dateModified
null | string format: date-time
relatedDocuments
Array<object> | null
object
id
integer format: int64
parentId
integer format: int64
childId
integer format: int64
createdBy
null | string
createdByName
null | string
createdByImage
null | string
dateCreated
null | string format: date-time
modifiedBy
null | string
modifiedByName
null | string
modifiedByImage
null | string
dateModified
null | string format: date-time
relatedDocumentsWithData
Array<object> recursive | null
canRequestReview
boolean
recordControlId
null | integer format: int64
recordControlName
null | string
parentId
null | integer format: int64
currentStepId
null | integer format: int64
currentStepName
null | string
currentStepSequence
integer format: int32
currentStepExpired
boolean
canInsertHistoric
boolean
canEditObsolescence
boolean
canInsertHistoricObsolescence
boolean
hasChildren
boolean
hasSonInDump
boolean
hasHistoricInsertedByCurrentUser
boolean
isBlocked
boolean
alreadySign
boolean
hasEnvelopInQueue
boolean
envelopExternalId
null | string
envelopSameSequence
boolean
situation
integer
obsoleteDescription
null | string
obsolescenceRev
boolean
daysToObsolete
null | integer format: int64
canEditAtCurrentStep
boolean
canEdit
boolean
isResponsible
boolean
canDownloadAndPrint
boolean
canViewFiles
boolean
allowDownloadAndPrint
boolean
canSeePreview
boolean
canViewDocument
boolean
copiesNumberMax
integer format: int32
copiesNumberAut
integer format: int32
lastCopyNumber
integer format: int32
size
integer format: int64
categoryName
null | string
favorite
boolean
useReadAcknowledgment
boolean
missingReadAcknowledgment
boolean
missingMyReadAcknowledgment
boolean
generateFooter
boolean
includeEmissionInFooter
boolean
includePageCounter
boolean
footerFormat
integer format: int32
watermarkTextCopies
null | string
watermarkTextSource
null | string
watermarkSize
integer format: int32
watermarkOrientation
integer format: int32
watermarkRepositoryId
null | integer format: int64
watermarkRepositoryName
null | string
watermarkPosition
integer format: int32
initialReview
integer format: int32
attachments
Array<object> | null
object
hash
null | string
path
null | string
pendingUpdate
boolean
hasModifications
boolean
remotePath
null | string
selected
boolean
id
null | integer format: int64
identifier
null | string
type
null | string
size
integer format: int64
name
null | string
lastModifiedDate
null | string format: date-time
createdByName
null | string
createdByImage
null | string
signedAttachments
Array<object> | null
object
hash
null | string
path
null | string
pendingUpdate
boolean
hasModifications
boolean
remotePath
null | string
selected
boolean
id
null | integer format: int64
identifier
null | string
type
null | string
size
integer format: int64
name
null | string
lastModifiedDate
null | string format: date-time
createdByName
null | string
createdByImage
null | string
preSignedAttachments
Array<object> | null
object
hash
null | string
path
null | string
pendingUpdate
boolean
hasModifications
boolean
remotePath
null | string
selected
boolean
id
null | integer format: int64
identifier
null | string
type
null | string
size
integer format: int64
name
null | string
lastModifiedDate
null | string format: date-time
createdByName
null | string
createdByImage
null | string
filesThatGenerateCopies
null | object
tags
Array<object> | null
object
id
integer format: int64
description
null | string
recordControl
object
recordItem
object
id
integer format: int64
businessGroupId
integer format: int64
title
null | string
description
null | string
active
boolean
alreadyUsed
boolean
columns
Array<object> | null
object
id
integer format: int64
recordControlId
integer format: int64
name
null | string
size
integer format: int64
order
integer format: int32
createdBy
null | string
createdByName
null | string
createdByImage
null | string
dateCreated
null | string format: date-time
modifiedBy
null | string
modifiedByName
null | string
modifiedByImage
null | string
dateModified
null | string format: date-time
createdBy
null | string
createdByName
null | string
createdByImage
null | string
dateCreated
null | string format: date-time
modifiedBy
null | string
modifiedByName
null | string
modifiedByImage
null | string
dateModified
null | string format: date-time
recordValues
Array<object> | null
object
id
integer format: int64
documentId
integer format: int64
sequence
integer format: int64
values
Array<object> | null
object
id
integer format: int64
lineId
integer format: int64
columnId
integer format: int64
text
null | string
createdBy
null | string
createdByName
null | string
createdByImage
null | string
dateCreated
null | string format: date-time
modifiedBy
null | string
modifiedByName
null | string
modifiedByImage
null | string
dateModified
null | string format: date-time
createdBy
null | string
createdByName
null | string
createdByImage
null | string
dateCreated
null | string format: date-time
modifiedBy
null | string
modifiedByName
null | string
modifiedByImage
null | string
dateModified
null | string format: date-time
steps
Array<object> | null
object
id
integer format: int64
name
null | string
sequence
integer format: int32
elaborates
boolean
userElaborates
boolean
getDoc
boolean
distribute
boolean
publish
boolean
isCurrentStep
boolean
canInsertHistoric
boolean
canEditFiles
boolean
deadlineDays
integer format: int32
deadlineDate
string format: date-time
checklistId
null | integer format: int64
checklistDescription
null | string
returnStepId
null | integer format: int64
returnStepName
null | string
order
integer format: int32
responsibles
Array<object> | null
object
id
integer format: int64
userId
null | integer format: int64
userName
null | string
userImage
null | string
userEmail
null | string
groupId
null | integer format: int64
groupName
null | string
required
null | string
historics
Array<object> | null
object
id
integer format: int64
stepId
integer format: int64
sequence
integer format: int32
date
string format: date-time
userId
integer format: int64
userName
null | string
userImage
null | string
comment
null | string
approved
null | string
checklists
Array<object> | null
object
id
integer format: int64
title
null | string
text
null | string
situation
integer format: int32
order
integer format: int32
checklists
Array<object> | null
object
id
integer format: int64
title
null | string
text
null | string
situation
integer format: int32
order
integer format: int32
responsibles
Array<object> | null
object
id
integer format: int64
userId
null | integer format: int64
userName
null | string
userImage
null | string
userEmail
null | string
groupId
null | integer format: int64
groupName
null | string
required
null | string
responsiblesLabel
Array<string> | null
signature
object
sitba002
Array<object> | null
object
sia002Id
integer format: int64
sia002Sia001Id
integer format: int64
sia002Efa005Id
null | integer format: int64
sia002NomeParticipante
null | string
sia002EmailParticipante
null | string
sia002Qualificacao
null | string
sia002TpRequisicao
null | string
sia002TpRetorno
null | string
sia002TpAuth
null | string
sia002Fone
null | string
createdBy
null | string
dateCreated
null | string format: date-time
modifiedBy
null | string
dateModified
null | string format: date-time
sia001Id
integer format: int64
sia001IdOrigem
integer format: int64
sia001Funcionalidade
integer format: int64
sia001Ativo
boolean
sia001DiasAssinatura
integer format: int64
sia001Texto
null | string
sia001Assunto
null | string
sia001DiasLembrete
integer format: int64
createdBy
null | string
dateCreated
null | string format: date-time
modifiedBy
null | string
dateModified
null | string format: date-time
logs
Array<object> | null
object
date
string format: date-time
action
integer format: int32
fileName
null | string
origin
integer format: int32
userId
integer format: int64
userName
null | string
userImage
null | string
readAcknowledgments
Array<object> | null
object
userId
integer format: int64
userImage
null | string
userName
null | string
userEmail
null | string
userGroups
null | object
informedById
null | integer format: int64
informedByImage
null | string
informedByName
null | string
aware
boolean
awareDate
null | string format: date-time
permissions
Array<object> | null
object
id
integer format: int64
userId
null | integer format: int64
userName
null | string
groupId
null | integer format: int64
groupName
null | string
permission
null | string
canDownloadAndPrint
boolean
required
boolean
obsolescenceApprovers
Array<object> | null
object
id
integer format: int64
userId
null | integer format: int64
userName
null | string
groupId
null | integer format: int64
groupName
null | string
permission
null | string
canDownloadAndPrint
boolean
required
boolean
obsolescenceHistoric
Array<object> | null
object
id
integer format: int64
sequence
integer format: int32
date
string format: date-time
userId
null | integer format: int64
userName
null | string
userImage
null | string
comment
null | string
approved
null | string
attachments
Array<object> | null
object
hash
null | string
path
null | string
pendingUpdate
boolean
hasModifications
boolean
remotePath
null | string
selected
boolean
id
null | integer format: int64
identifier
null | string
type
null | string
size
integer format: int64
name
null | string
lastModifiedDate
null | string format: date-time
createdByName
null | string
createdByImage
null | string
obsolescenceSequence
integer format: int32
createdBy
null | string
createdByName
null | string
createdByImage
null | string
dateCreated
null | string format: date-time
modifiedBy
null | string
modifiedByName
null | string
modifiedByImage
null | string
dateModified
null | string format: date-time
Example generated
{ "id": 1, "businessGroupId": 1, "companyId": 1, "codeDocument": "example", "code": 1, "name": "example", "description": "example", "revision": 1, "docLevel": 1, "version": 1, "categoryId": 1, "sectorName": "example", "sectorId": 1, "copySectorName": "example", "copySectorId": 1, "processName": "example", "processId": 1, "expiracyDate": "2026-04-15T12:00:00Z", "expiracyDateLastStep": "2026-04-15T12:00:00Z", "obsolescenceDate": "2026-04-15T12:00:00Z", "conclusionDate": "2026-04-15T12:00:00Z", "daysToNotifyExpiration": 1, "isTemplate": true, "useWatermark": true, "convertDocument": true, "documentHeader": 1, "documentHeaderName": "example", "requestReviewId": 1, "requestReview": { "id": 1, "documentId": 1, "documentName": "example", "requestUserId": 1, "requestUserName": "example", "requestUserImage": "example", "reviewerUserId": 1, "reviewerUserName": "example", "reviewerUserImage": "example", "justification": "example", "justificationRejection": "example", "approved": true, "revision": 1, "version": 1, "createdBy": "example", "createdByName": "example", "createdByImage": "example", "dateCreated": "2026-04-15T12:00:00Z", "modifiedBy": "example", "modifiedByName": "example", "modifiedByImage": "example", "dateModified": "2026-04-15T12:00:00Z" }, "relatedDocuments": [ { "id": 1, "parentId": 1, "childId": 1, "createdBy": "example", "createdByName": "example", "createdByImage": "example", "dateCreated": "2026-04-15T12:00:00Z", "modifiedBy": "example", "modifiedByName": "example", "modifiedByImage": "example", "dateModified": "2026-04-15T12:00:00Z" } ], "relatedDocumentsWithData": [], "canRequestReview": true, "recordControlId": 1, "recordControlName": "example", "parentId": 1, "currentStepId": 1, "currentStepName": "example", "currentStepSequence": 1, "currentStepExpired": true, "canInsertHistoric": true, "canEditObsolescence": true, "canInsertHistoricObsolescence": true, "hasChildren": true, "hasSonInDump": true, "hasHistoricInsertedByCurrentUser": true, "isBlocked": true, "alreadySign": true, "hasEnvelopInQueue": true, "envelopExternalId": "example", "envelopSameSequence": true, "situation": 1, "obsoleteDescription": "example", "obsolescenceRev": true, "daysToObsolete": 1, "canEditAtCurrentStep": true, "canEdit": true, "isResponsible": true, "canDownloadAndPrint": true, "canViewFiles": true, "allowDownloadAndPrint": true, "canSeePreview": true, "canViewDocument": true, "copiesNumberMax": 1, "copiesNumberAut": 1, "lastCopyNumber": 1, "size": 1, "categoryName": "example", "favorite": true, "useReadAcknowledgment": true, "missingReadAcknowledgment": true, "missingMyReadAcknowledgment": true, "generateFooter": true, "includeEmissionInFooter": true, "includePageCounter": true, "footerFormat": 1, "watermarkTextCopies": "example", "watermarkTextSource": "example", "watermarkSize": 1, "watermarkOrientation": 1, "watermarkRepositoryId": 1, "watermarkRepositoryName": "example", "watermarkPosition": 1, "initialReview": 1, "attachments": [ { "hash": "example", "path": "example", "pendingUpdate": true, "hasModifications": true, "remotePath": "example", "selected": true, "id": 1, "identifier": "example", "type": "example", "size": 1, "name": "example", "lastModifiedDate": "2026-04-15T12:00:00Z", "createdByName": "example", "createdByImage": "example" } ], "signedAttachments": [ { "hash": "example", "path": "example", "pendingUpdate": true, "hasModifications": true, "remotePath": "example", "selected": true, "id": 1, "identifier": "example", "type": "example", "size": 1, "name": "example", "lastModifiedDate": "2026-04-15T12:00:00Z", "createdByName": "example", "createdByImage": "example" } ], "preSignedAttachments": [ { "hash": "example", "path": "example", "pendingUpdate": true, "hasModifications": true, "remotePath": "example", "selected": true, "id": 1, "identifier": "example", "type": "example", "size": 1, "name": "example", "lastModifiedDate": "2026-04-15T12:00:00Z", "createdByName": "example", "createdByImage": "example" } ], "filesThatGenerateCopies": "example", "tags": [ { "id": 1, "description": "example" } ], "recordControl": { "recordItem": { "id": 1, "businessGroupId": 1, "title": "example", "description": "example", "active": true, "alreadyUsed": true, "columns": [ { "id": 1, "recordControlId": 1, "name": "example", "size": 1, "order": 1, "createdBy": "example", "createdByName": "example", "createdByImage": "example", "dateCreated": "2026-04-15T12:00:00Z", "modifiedBy": "example", "modifiedByName": "example", "modifiedByImage": "example", "dateModified": "2026-04-15T12:00:00Z" } ], "createdBy": "example", "createdByName": "example", "createdByImage": "example", "dateCreated": "2026-04-15T12:00:00Z", "modifiedBy": "example", "modifiedByName": "example", "modifiedByImage": "example", "dateModified": "2026-04-15T12:00:00Z" }, "recordValues": [ { "id": 1, "documentId": 1, "sequence": 1, "values": [ { "id": 1, "lineId": 1, "columnId": 1, "text": "example", "createdBy": "example", "createdByName": "example", "createdByImage": "example", "dateCreated": "2026-04-15T12:00:00Z", "modifiedBy": "example", "modifiedByName": "example", "modifiedByImage": "example", "dateModified": "2026-04-15T12:00:00Z" } ], "createdBy": "example", "createdByName": "example", "createdByImage": "example", "dateCreated": "2026-04-15T12:00:00Z", "modifiedBy": "example", "modifiedByName": "example", "modifiedByImage": "example", "dateModified": "2026-04-15T12:00:00Z" } ] }, "steps": [ { "id": 1, "name": "example", "sequence": 1, "elaborates": true, "userElaborates": true, "getDoc": true, "distribute": true, "publish": true, "isCurrentStep": true, "canInsertHistoric": true, "canEditFiles": true, "deadlineDays": 1, "deadlineDate": "2026-04-15T12:00:00Z", "checklistId": 1, "checklistDescription": "example", "returnStepId": 1, "returnStepName": "example", "order": 1, "responsibles": [ { "id": 1, "userId": 1, "userName": "example", "userImage": "example", "userEmail": "example", "groupId": 1, "groupName": "example", "required": "example" } ], "historics": [ { "id": 1, "stepId": 1, "sequence": 1, "date": "2026-04-15T12:00:00Z", "userId": 1, "userName": "example", "userImage": "example", "comment": "example", "approved": "example", "checklists": [ { "id": 1, "title": "example", "text": "example", "situation": 1, "order": 1 } ] } ], "checklists": [ { "id": 1, "title": "example", "text": "example", "situation": 1, "order": 1 } ] } ], "responsibles": [ { "id": 1, "userId": 1, "userName": "example", "userImage": "example", "userEmail": "example", "groupId": 1, "groupName": "example", "required": "example" } ], "responsiblesLabel": [ "example" ], "signature": { "sitba002": [ { "sia002Id": 1, "sia002Sia001Id": 1, "sia002Efa005Id": 1, "sia002NomeParticipante": "example", "sia002EmailParticipante": "example", "sia002Qualificacao": "example", "sia002TpRequisicao": "example", "sia002TpRetorno": "example", "sia002TpAuth": "example", "sia002Fone": "example", "createdBy": "example", "dateCreated": "2026-04-15T12:00:00Z", "modifiedBy": "example", "dateModified": "2026-04-15T12:00:00Z" } ], "sia001Id": 1, "sia001IdOrigem": 1, "sia001Funcionalidade": 1, "sia001Ativo": true, "sia001DiasAssinatura": 1, "sia001Texto": "example", "sia001Assunto": "example", "sia001DiasLembrete": 1, "createdBy": "example", "dateCreated": "2026-04-15T12:00:00Z", "modifiedBy": "example", "dateModified": "2026-04-15T12:00:00Z" }, "logs": [ { "date": "2026-04-15T12:00:00Z", "action": 1, "fileName": "example", "origin": 1, "userId": 1, "userName": "example", "userImage": "example" } ], "readAcknowledgments": [ { "userId": 1, "userImage": "example", "userName": "example", "userEmail": "example", "userGroups": "example", "informedById": 1, "informedByImage": "example", "informedByName": "example", "aware": true, "awareDate": "2026-04-15T12:00:00Z" } ], "permissions": [ { "id": 1, "userId": 1, "userName": "example", "groupId": 1, "groupName": "example", "permission": "example", "canDownloadAndPrint": true, "required": true } ], "obsolescenceApprovers": [ { "id": 1, "userId": 1, "userName": "example", "groupId": 1, "groupName": "example", "permission": "example", "canDownloadAndPrint": true, "required": true } ], "obsolescenceHistoric": [ { "id": 1, "sequence": 1, "date": "2026-04-15T12:00:00Z", "userId": 1, "userName": "example", "userImage": "example", "comment": "example", "approved": "example", "attachments": [ { "hash": "example", "path": "example", "pendingUpdate": true, "hasModifications": true, "remotePath": "example", "selected": true, "id": 1, "identifier": "example", "type": "example", "size": 1, "name": "example", "lastModifiedDate": "2026-04-15T12:00:00Z", "createdByName": "example", "createdByImage": "example" } ] } ], "obsolescenceSequence": 1, "createdBy": "example", "createdByName": "example", "createdByImage": "example", "dateCreated": "2026-04-15T12:00:00Z", "modifiedBy": "example", "modifiedByName": "example", "modifiedByImage": "example", "dateModified": "2026-04-15T12:00:00Z"}