Edit Content Package Versions - Intergraph Smart Reference Data - Help - Intergraph

Intergraph Smart Reference Data REST API (10.2)

Language
English
Product
Intergraph Smart Reference Data
Search by Category
Help
Smart Materials/Smart Reference Data Version
10.2

Headers

Header name

Description

Required

Values

Authorization

Access token

Required

Bearer <access_token>

Content-Type

Request type format

Required

application/json

Put body

Element

Description

Type

Required

Notes

Status

The status of the job

String

Stage

The stage of the job

String

JobGoal

The goal of the job

String

Sample request

PUT

https://<appserver with domain>/<virtual_directory>/Srd/V2/Projects('TRAINPROJ')/Disciplines(5020)/Nls(1)/Interfaces(5000)/PackageTypes(5222)/ContentPackages('ASC')/Versions(58931)

The Versions ID is the specific version for which you want to make the edits.

{

"Status": "STAGE_FINISHED",

"Stage": "JOB_COMPLETE",

"JobGoal": "COMPLETE_JOB"

}

The job will be locked if the status is LOCKED.

Response

Parameter

Description

Type

Notes

VersionId

The ID of the version

Integer

VersionNumber

The version number of the Content Package

Integer

VersionComment

The comment for the requested response

String

Status

The status of the request

String

Stage

The stage of the request

String

SiteServer

The name of the site server

String

SiteDB

The name of the site database

String

CatalogServer

The name of the catalog server

String

CatalogDB

The name of the catalog database

String

CatalogSchemaServer

The name of the catalog schema server

String

CatalogSchemaDB

The name of the catalog schema database

String

InterfaceVersion

The version of the interface

String

JobGoal

The goal of the job

String

Sample Response

{

"@odata.context":

"https://<appserver with domain>/<virtual_directory>/Srd/V2/Projects('TRAINPROJ')/Disciplines(5020)/Nls(1)/Interfaces(5000)/PackageTypes(5222)/ContentPackages('ASC')/Versions/$entity",

"VersionId": 58931,

"VersionNumber": 0,

"VersionComment": null,

"Status": "STAGE_FINISHED",

"Stage": "JOB_COMPLETE",

"SiteServer": null,

"SiteDB": null,

"CatalogServer": null,

"CatalogDB": null,

"CatalogSchemaServer": null,

"CatalogSchemaDB": null,

"InterfaceVersion": null,

"JobGoal": "COMPLETE_JOB"

}