On the Representations page, you can configure method representations. ReadyAPI applies representations on the method level to all underlying requests and responses.
Open the page
To open the Representations page:
-
Double-click a method in the Navigator.
-
Switch to the Representations page.
Add representations
To add a representation:
-
Click .
-
In the Add Representation dialog, specify the representation type.
The new representation will appear in the table.
The table includes the following columns:
Column | Description |
---|---|
Type |
A basic type of a representation.
|
Media-Type |
A two-part identifier for file formats. For details, see http://www.iana.org/assignments/media-types/media-types.xhtml. |
Status Codes |
A status code of a representation. |
QName |
A qualified name of an element or attribute in the XML content. Allows identifying and accessing them. |
View sample content
If your API definition has examples for operation parameters, properties, or objects, ReadyAPI shows sample responses in the Sample Content field.
Delete representations
To delete a representation, select it in the table and click .
See Also
Method Parameters Page
Method Properties
Method Requests Page
REST Method Editors