REST API - listOrgModelVersions

The table summarizes the REST API - listOrgModelVersions.

Request

Format
GET <baseurl>/orgmodel/versions

Response

JSON Returns a JSON representation of the content of the listOrgModelVersionsResponse element.
XML Returns the content of the listOrgModelVersionsResponse element (from the OrgModelService schema).

Example

Request
GET <baseurl>/orgmodel/versions
Response
{
  "xml-fragment": {
    "version": [
      {
        "@model-version": "0",
        "deployment": {
          "@name": "sys_org_model",
          "@major": "0",
          "@minor": "1",
          "@micro": "0",
          "@deployed": "2013-01-16T19:30:48.777Z"
        }
      },
      {
        "@model-version": "1",
        "deployment": [
          {
            "@name": "OrganizationModel",
            "@major": "1",
            "@minor": "0",
            "@micro": "0",
            "@qualifier": "201301210947",
            "@deployed": "2013-01-21T17:48:19.223Z"
          },
          {
            "@name": "OrganizationModel",
            "@major": "1",
            "@minor": "0",
            "@micro": "0",
            "@qualifier": "201301221016",
            "@deployed": "2013-01-22T18:16:58.157Z"
          }
        ]
      },
      {
        "@model-version": "3",
        "deployment": {
          "@name": "AcmeOrganizationModel",
          "@major": "3",
          "@minor": "5",
          "@micro": "2",
          "@qualifier": "201210231048",
          "@deployed": "2013-01-16T19:33:11.587Z"
        }
      }
    ]
  }
}