Headers
Header Name |
Description |
Required |
Values |
---|---|---|---|
Authorization |
Access token |
Required |
Bearer <access_token> |
Content-Type |
Request type format |
Required |
application/json |
Sample URI request
GET
https://<appserver with domain>/<virtual_directory>/Srd/V2/Projects('TRAINPROJ')/Disciplines(5020)/Nls(1)/SpecificationTypes(5120)/SpecificationHeaders(9409)/Com.Ingr.Srd.V2.GetServiceLimits(temperature=310.9,pressure=1034214,npd=10,npdUnitCode='in')/
Response
Parameter |
Description |
Type |
Notes |
---|---|---|---|
ValidationCode |
Validation Code for Service limit (Pressure and Temperature) |
Num |
|
ValidationMessage |
Validation Message for Service limit (Pressure and Temperature) |
String |
Sample response
{
"@odata.context":
"https://<appserver with domain>/<virtual_directory>/Srd/V2/$metadata#Com.Ingr.Srd.V2.ValidationResponse",
"ValidationCode": 0,
"ValidationMessage": "Service Limits, matched"
}
-
Validation code is 0 when the service limits are matched.
-
Validation code is -2 when the service limits are out of range.
-
Validation code is -5 when the Unit code is not matched for Pressure/Temperature/NPD values.