Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Get All Terms

GET /ssp/api/1/reference/term

Security

SERVICE_REFERENCE_READ

Parameters

status : ALL, ACTIVE, INACTIVE, DELETED<br>
start : First result (0-based index) to return<br>
limit : Maximum number of results to return<br>
sort : Property name<br>
sortDirection : Ascending/descending keyword (ASC/DESC or ASCENDING/DESCENDING)

Returns

{"success" : "true",
 "results" : "100",
 "rows" : 
    [{"code" : "FA12",
      "name" : "Fall 2012",
      "startDate" : 1332216000000,
      "endDate" : 1332316000000,
      "reportingYear" : 2013},
     {"code" : "SP13",
      "name" : "Spring 2013",
      "startDate" : 1333216000000,
      "endDate" : 1333316000000,
      "reportingYear" : 2013},
     ...
    ]
}

 

Get a Term

GET /ssp/api/1/reference/term/{code}

Security

SERVICE_REFERENCE_READ

Returns

 

{"code" : "FA12",
 "name" : "Fall 2012",
 "startDate" : 1332216000000,
 "endDate" : 1332316000000,
 "reportingYear" : 2013}
  • No labels