Home - Accompa  |  Home - API Manual
REST API MANUAL
 
 
Table of Contents
1) Introduction
2) Objects
3) Records:
Requirements:
Read, Create, Update, Delete
Features:
Read, Create, Update, Delete
Use Cases:
Read, Create, Update, Delete
Custom Object Records:
Read, Create, Update, Delete
4) Relationships:
Read Related Items
5) Field History:
Read Field History
6) Views:
Read a View, Read List of Views
7) Search:
Search a View, Search All Records
8) Users:
Read, Read List
9) HTTP Response Codes & Errors
10) API Rate Limits
11) Miscellaneous
12) API Versions/Release Notes
 
 
Contact Support
Contact Accompa Support

Objects

This page explains how to use the Accompa REST API to retrieve information about "Objects" in your company's Accompa account. (What is an Object?)
 

Read the List of Objects in Your Account

Reading the list of objects is achieved via a HTTP GET request to the following URI.
 
GET /object
Returns the list of objects in your company's Accompa account.
 
Availability: Available in Accompa API version "2" and later (Learn more about API versions).
 
RESPONSE

Status: 200

<objects>
     <object>
          <object_unique_id>4i8T-BgZUz2NGEuwcZP0jHrNJsuv6xVbF0HF8g8_jTc</object_unique_id>
          <api_prefix>re</api_prefix>
          <name_singular>Requirement</name_singular>
          <name_plural>Requirements</name_plural>
          <description />
          <id_prefix>RQ</id_prefix>
          <custom_object>No</custom_object>
          <deploy_status>Deployed</deploy_status>
     </object>
     <object>
          <object_unique_id>07bHzBgZUz2NGEuwcZP0jHrNJsuv6xVbF0HF8g809gH</object_unique_id>
          <api_prefix>ft</api_prefix>
          <name_singular>Feature</name_singular>
          <name_plural>Features</name_plural>
          <description />
          <id_prefix>FT</id_prefix>
          <custom_object>No</custom_object>
          <deploy_status>Deployed</deploy_status>
     </object>
     <object>
          <api_prefix>uc</api_prefix>
          <object_unique_id>8jKiBegZUz2NGEuwcZP0jHrNJsuv6xVbF0HF8g8k6Bb</object_unique_id>
          <name_singular>Use Case</name_singular>
          <name_plural>Use Cases</name_plural>
          <description />
          <id_prefix>UC</id_prefix>
          <custom_object>No</custom_object>
          <deploy_status>Deployed</deploy_status>
     </object>
     <object>
          <object_unique_id>kJ0BvCtYUz2NGEuwcZP0jHrNJsuv6xVbF0HF8g8yZxY</object_unique_id>
          <api_prefix>tcs</api_prefix>
          <name_singular>Test Case</name_singular>
          <name_plural>Test Cases</name_plural>
          <description />
          <id_prefix>TCS</id_prefix>
          <custom_object>Yes</custom_object>
          <deploy_status>Deployed</deploy_status>
     </object>
     ...
</objects>

If the request is valid, an XML response will be generated along with the status code "200". The XML response will contain the list of objects in your company's Accompa account, as shown above.

If the request is invalid, the response will have a status other than "200", usually along with an error message in XML format.
 
   
  back to top ^
Home - Requirements Management Software - Terms of Service - Privacy Policy
© Accompa, Inc. 5201 Great America Pkwy, Ste 320, Santa Clara, CA 95054 (United States)