Retrieve Sampling Information - Intergraph Smart Reference Data - Customization & Programming - Hexagon

SRD REST API

ft:locale
en-US
Product
Intergraph Smart Reference Data
Search by Category
Customization & Programming
Smart Materials/Smart Reference Data Version
10.6

GET https://<appserver with domain>/<virtual_directory>/Srd/V2/Projects('TRAINPROJ')/Disciplines(5020)/Nls(1)/Samplings/Com.Ingr.Srd.V2.GetSamplingDetails(<StagingAreaId>,<MappingType>)

GET https://<appserver with domain>/<virtual_directory>/Srd/V2/Projects('SDB')/Disciplines(5020)//Nls(1)/Samplings/Com.Ingr.Srd.V2.GetSamplingDetailsForComapanyCC(CompanyId=5066)

Example :https://<appserver with domain>/<virtual_directory>/Srd/V2/Projects('TRAINPROJ')/Disciplines(5020)/Nls(1)/Samplings/Com.Ingr.Srd.V2.GetSamplingDetails(StagingAreaId=5260,MappingType="Commodity Codes")/

Headers

Header Name

Description

Required

Values

Authorization

Access token

Required

Bearer <access_token>

Content-Type

Request type format

Required

application/json

Get URI Parameter

Element

Description

Type

Required

Notes

StagingAreaId

Staging Area ID for which Source corpus will be generated

Integer

Required

MappingType

Type of data for which mapping will be performed to train the model

String

Required

Response

Element

Description

Type

Notes

SourceCorpusFile

Source corpus generated location

String

Sample Response

{

"@odata.context":

"https://<appserver with domain>/<virtual_directory>/Srd/V2/$metadata#Com.Ingr.Srd.V2.SamplingInfo",

"SourceCorpusFile": "D:\\Download\\in-srddevdb_sdb_rtm\\TRAINPROJ\\5120\\5260\\commoditycode\\Sampling\\source.json"

}