CreatePoints
Create points in the
FactoryTalk Historian SE
server (Data Archive).Input Parameter
Item | Description |
|---|---|
Request | POST |
URL Parameter | None |
Request Header | Authentication : String (required). Bearer Token string returned from the Login action. |
Request Body |
|
Status Code |
|
Sample
Request Header
"Authorization": "eyJhbGciOiJIUzI1N…"
Request Body
{ "ServerName": "HisSrvName", "PointNames": ["TestPoint1", "TestPoint2", "TestPoint3"], "AttributesKeyValue": { "PointSource": "FTHAPI", "PointType": 8 }, "NoPtCreated": "true" }
Response Body
{ "Result": true, "Success": true, "ErrorMessage": "" }
TIP:
- The point types include:
- 6: Int16
- 8: Int32
- 11: Float16
- 12: Float32
- 13: Float64
- 101: Digital
- 104: Timestamp
- 105: String
- All the points created from Historian WebAPI can use the point sources of FTHAPI, FTHAPI (1-99), and FTMS, which should be specified in the request parameter. If it is not specified, the default point source FTHAPI will be used. Before using these point sources, ensure that you set the point source limit inFactoryTalk® Administration Console.
- The CreatePoints service does not support creating Attributes of "changedate", "creationdate", "creator", "pointid", "recno", and "changer". For more information about the Attributes that can be retrieved using the CreatePoints service, see Attributes.
Provide Feedback