Jump to: navigation, search

Query Task Extension Schema

ApiRef2.png GET /metadata/tasks/extensions
Available since: 8.0.200.00

Description

Retrieves one or more schema of task extensions. This operation is possible in either maintenance and production mode.

Operation

ID CV.WS.SRV.META.8
Method GET
URL
  1. All: /metadata/tasks/extensions
  2. /metadata/tasks/extensions/${extension-name}
Name   Type   Mandatory Description
URL Parameters
${extension-name} string no The unique name of the extension, to retrieve a single extension schema. If you do not specify this name, all the task extension schemas are returned.

Information.png Note: The name is not case-sensitive.

<references />

Response

The Context Management Service API answers with HTTP codes for every request. The following table shows the correct response for a successful request. See HTTP Response Codes and Errors for further details on the possible codes that this operation can return.

Response
HTTP code 200
HTTP message OK
Body
Extension Schema or Extension Schema[]

Examples

Several results

Operation

 GET /metadata/tasks/extensions
 

Result

 200 OK
 [{
  "attributes": [
      {"name":"FeedbackType","type":"string","length":"10","mandatory":"true"},
      {"name":"rating","type":"integer","mandatory":"true"},
      {"name":"notes","type":"string","length":256,"mandatory":"false"}
      ],
  "name":"Feedback",
  "type":"single-valued",  
 },
 {
  "attributes": [
      {"name":"priority","type":"integer","mandatory":"true"},
      {"name":"customerNotes","type":"string","length":256,"mandatory":"false"}
      ],
  "name":"PriorityFlag",
  "type":"single-valued",  
 }
]

Single result

Operation

 GET /metadata/tasks/extensions/feedback
 

Result

  200 OK
 {
  "attributes": [
      {"name":"FeedbackType","type":"string","length":"10","mandatory":"true"},
      {"name":"rating","type":"integer","mandatory":"true"},
      {"name":"notes","type":"string","length":256,"mandatory":"false"}
      ],
  "name":"Feedback",
  "type":"single-valued",  
 }
This page was last edited on November 23, 2017, at 14:24.
Comments or questions about this documentation? Contact us for support!