Update Job Segment Metadata Properties

Submits a request to update (and replace) the metadata properties for a specific Job Segment entity in the Server.

Request takes a JSON Name/Value List as content (the Job Segment ID and the new metadata properties), and on success returns a response containing the result of the request for update/replacement (“true”).

Type: PUT
URI: /rest/serverengine/entity/jobsegments/{jobSegmentId}/metadata
Parameters:

Path:

  • jobSegmentId – the ID of the Job Segment entity in Server
Request:
Add. Headers: auth_token – Authorization Token (if server security settings enabled)
Content: JSON Name/Value List of metadata properties for Job Segment
Content Type: application/json
Response:
Add. Headers: -
Content: Result of request to update Job Segment
Content Type: text/plain
Status:
  • 200 OK – Update of Job Segment metadata properties successfully requested (response of “true” for success)
  • 401 Unauthorized – Server authentication required
  • 403 Forbidden – Server authentication has failed or expired
  • 500 Internal Server Error – Server error or Job Segment ID mismatch in JSON
 
   
  • Last Topic Update: Sep-13-2017 11:09
  • Last Published: 2017-10-30 : 4:43 PM