Headers
|
Header Name |
Description |
Required |
Values |
|---|---|---|---|
|
Authorization |
Access token |
Required |
Bearer <access_token> |
|
Content-Type |
Request type format |
Required |
application/json |
POST body
|
Element |
Description |
Type |
Required |
Notes |
|---|---|---|---|---|
|
ModelPath |
Path of model files |
String |
Required |
Sample request
https://<appserver with domain>/<virtual_directory>/Srd/V2/Projects('SDB')/Disciplines(5020)//Nls(1)CommodityCodeInference
{
"ModelPath": "Training\\Model",
}
Response
|
Element |
Description |
Type |
Notes |
|---|---|---|---|
|
ModelPath |
Path of model files |
String |
|
|
Port |
Port on which Inference Service is running |
Integer |
|
|
ProcessId |
Id of Inference Service process |
Integer |
|
|
InferenceServer |
IP address of the Inference Server |
String |
Sample Response
{
"@odata.context": "https://in-srddbvm1.ingrnet.com/SmartReferenceData/SRDAPI/Srd/V2/$metadata#Projects('SDB')/Disciplines(5020)/Nls(1)/CommodityCodeInference/$entity",
"ModelPath": "Training\\Model",
"Port": 2492,
"ProcessId": 7244,
"InferenceServer": "10.160.96.25"
}