CreateServerDigitalSets

Create the digital states in the specified FactoryTalk Historian 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
  • request
    : JSON.
  • URL Parameter Members
    :
    • ServerName
      : String (required). The FactoryTalk Historian server name.
    • DigitalSets
      : Key-value pair (required). The value of the digital set is array in the string format. Create the digital state sets in the specified Historian server. Every digital value is increased automatically from 0 to
      n
      .
Status Code
  • 200
    : The request succeeded.
  • 206
    : Partially processed.
  • 400
    : Bad request. For example, the URL parameter is not provided.
  • 401
    : Unauthorized.
  • 403
    : Forbidden.
  • 404
    : Resource not found.
  • 500
    : Internal server error.

Sample

Request Header
"Authorization": "eyJhbGciOiJIUzI1N…"
Request Body
{"ServerName":"HisSrvName","DigitalSets":{"Digital1":["Success","Unknown"],"Digital2":["High","Low"]}}
Response Body
{ "Result": true, "Success": true, "ErrorMessage": "" }
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal