Query State Extension Schema
GET /metadata/states/extensions | |
Available since: 8.0.200.00
|
Description
Retrieves one or more schema for state extensions. This operation is possible in either maintenance and production mode.
Operation
Prerequisites: Universal Contact Server is in maintenance mode.
ID | CV.WS.SRV.META.6 | ||
---|---|---|---|
Method | GET | ||
URL |
| ||
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 state extension schemas are returned. |
<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.
HTTP code | 200 |
---|---|
HTTP message | OK |
Body | |
Extension Schema or Extension Schema[] |
Examples
Several results
Operation
GET /metadata/states/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/states/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 16:01.
Comments or questions about this documentation? Contact us for support!