Headers
Header name |
Description |
Required |
Values |
---|---|---|---|
Authorization |
Access token |
Required |
Bearer <access_token> |
Content-Type |
Request type format |
Required |
application/json |
To retrieve all the Content Packages:
GET
https://<appserver with domain>/<virtual_directory>/Srd/V2/Projects('TRAINPROJ')//Disciplines(5020)/Nls(1)/Interfaces(5000)/PackageTypes(5222)/ContentPackages()
To retrieve a specific Content Package:
GET
https://<appserver with domain>/<virtual_directory>/Srd/V2/Projects('TRAINPROJ')//Disciplines(5020)/Nls(1)/Interfaces(5000)/PackageTypes(5222)/ContentPackages('SDB_SPEC_EXP')
Get URI Parameter
Parameter |
Description |
Type |
Required |
---|---|---|---|
ContentPackageName |
The name of the Content Package for which you want to retrieve the data. |
String |
Required |
Response
Parameter |
Description |
Type |
Notes |
---|---|---|---|
ContentPackageName |
Name of the Content Package |
String |
|
ContentPackageDescription |
Description of the Content Package |
String |
Sample Response
{
"@odata.context":
"https://<appserver with domain>/<virtual_directory>/Srd/V2/$metadata#Projects('TRAINPROJ')/Disciplines(5020)/Nls(1)/Interfaces(5000)/PackageTypes(5222)/ContentPackages",
"value": [
{
"ContentPackageName": "SDB_EXP_GB",
"ContentPackageDescription": "Sample Transfer Job for SDB GB data"
},
{
"ContentPackageName": "SDB_EXP_POWER_SPEC",
"ContentPackageDescription": "Sample Transfer Job for SDB POWER SPECS"
},
{
"ContentPackageName": "SDB_SPEC_EXP",
"ContentPackageDescription": "Sample job for S3D Export"
},
]
}