PUT api/v1/measurement/updateGasStation?siteService={siteService}
Sends a Gas Station record to the FMS service to update.
CygNet Access Requirements
CygNet ACS security: BRDGAPI ACCESS 3
CygNet Bridge API license type: Base
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| siteService |
CygNet site and service (Site.Service) of the FMS Service |
string |
Required |
Body Parameters
The request to modify gas station record.
| Name | Description | Type | Additional information |
|---|---|---|---|
| nodeName |
The name of the group representing the Gas Station. This group must be a physical station |
string |
Required |
| beginDateTime |
Begin Active Date |
date |
Required |
| influence |
The value of the Influence of the Data Quality record to associate with the Gas Station record. This value must match the Influence column of an existing Data Quality record. |
integer |
Required |
| processVariables |
Process Variables |
Collection of FmsParameterValueDTO |
Required |
| auditComments |
The comment to be added to the transaction’s audit record. |
string |
Required |
| gasQualityId |
[Optional] The ID of the Gas Quality record associated with this Gas Station. This parameter is optional. |
integer |
None |
Request Formats
application/json, text/json
{
"nodeName": "GasDevice",
"beginDateTime": "2018-01-08T10:25:33",
"influence": 1,
"processVariables": [
{
"key": "Mass",
"value": "3.56"
},
{
"key": "Energy",
"value": "2.291"
},
{
"key": "Temperature",
"value": "34.3"
}
],
"auditComments": "Sample Data",
"gasQualityId": null
}
Response Information
Resource Description
| Name | Description | Type | Additional information |
|---|---|---|---|
| errorList |
The error list |
Collection of string |
None |
Response Formats
application/json, text/json
{
"errorList": [
"sample string 1",
"sample string 2"
]
}