Create a system
POST/CreateSystem
Create a system with given requestBody data. System contains the assets so you can mapped multiple assets with one systems.
Request
- application/json
Body
required
A system node record object information
Array [
]
Array [
]
data
object
Possible values: [Industrility
]
Please add the name of the system.
mappedAssetsOld
object[]
required
You only need to pass the mappedAssetsOld array when you have chosen the createSystemStep to ASSET_MAPPING.
Possible values: [``]
You can keep this field to empty array as you are creating system, system would not have any existing assets.
Possible values: [SYS-123456
, 19-995-001
]
Please enter the sytemid, it is unique identification number of the system.
Possible values: [5396 North Reese Avenue, Fresno CA 93722
, 2035 Ninth Street, Berkeley CA 94710
]
Please enter the address of the system where it is located.
Possible values: [Boiler system which contains medium type boilers
]
Please enter the description for the system.
Possible values: [Industrility
]
Please enter the name of the integrator of the system or distributor.
Possible values: [SY-dd-d088-46f3-a636-be24c3b02832
]
Possible values: [factory
, location
, area
, zone
, room
, site
, system
, plant
]
Please enter the type of the system it can one of enums value.
Possible values: [boiler
, industrility
]
Possible values: [SY-dd-d088-46f3-a636-be24c3b02832
, ``]
mappedAsset
object[]
required
You only need to pass the mappedAsset Id's array when you have chosen the createSystemStep to ASSET_MAPPING.
Possible values: [AS-dd-d088-46f3-a636-be24c3b02832
, AS-ff-d088-46f3-a636-be24c3b02832
]
Kindly provide the asset ids you wish to have in this system.
Possible values: [META
, ASSET_MAPPING
]
Please enter the step name for system creation it is really important field as based on this field we are decide the system create step.
Possible values: [Boiler System
]
Please add the name of the system.
Possible values: [``]
enter the JSON stringified lat/long location object.
Possible values: [SY-dd-d088-46f3-a636-be24c3b02832
]
You need to enter the id of the system if you have chosen the createSystemStep to ASSET_MAPPING, that we usually do after the system creating the system with createSystemStep set to META.
Possible values: [active
, inactive
, designed
, commissioned
]
Please enter the status of the system. it can be one of active,inactive,designed,commissioned.
Responses
- 200
- 400
- 502
200 response
Response Headers
Access-Control-Expose-Headers
string
manages CORS exposed headers
Access-Control-Allow-Origin
string
manages CORS
Content-Range
string
data range of result
X-Total-Count
string
length of output
Access-Control-Allow-Headers
string
manages header for CORS
Content-Type
string
data type of content
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
queryResult
object[]
Successful response after fetching systems from selected security groups
{
"id": "string",
"queryResult": [
{
"owner": "string",
"systemid": "string",
"address": "string",
"modelTranslateUrl": "string",
"description": "string",
"integrator": "string",
"label": "string",
"type": "string",
"tags": "string",
"name": "string",
"location": "string",
"id": "string",
"translateType": "string",
"createDate": "string",
"status": "string"
}
]
}
400 response
- application/json
- Schema
- Example (from schema)
Schema
{
"message": "string"
}
502 response
- application/json
- Schema
- Example (from schema)
Schema
{
"message": "string"
}