Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated with new look + changes from Cindy

Description

GET

/:site_number/types/orgleveltypes

Provides a list of Organization Level Types that can be used to identify or filter a list of Organizations. 

...

Example

...

Info

...

code
icon
false
https

http://secure.accessacs.com/api_accessacs_mobile/v2/

<sitenumber>

12345/types/orgleveltypes

Required Permissions

The user must fall into one of the categories below:

  • System Administration

  • A user with rights to view Organization records

 

Request Header

...

Query Parameters

sitenumberBasic Authorization is used to determine security rights for the user credentials supplied using the following parameters.

username: "jadams"

password: "password231"

URL Parameters

site_number – The site number to gather data for.

...

Return Data

Code Block
[
    {
        "TypeId": 1,
        "LevelDescription": "National Office",
        "LevelTypeId": 0
    },
    {
        "TypeId": 2,
        "LevelDescription": "State Office",
        "LevelTypeId": 1
    },
    {
        "TypeId": 3,
        "LevelDescription": "District Office",
        "LevelTypeId": 2
    },
    {
        "TypeId": 4,
        "LevelDescription": "Churches",
        "LevelTypeId": 3
    },
    {
        "TypeId": 5,
        "LevelDescription": "Missions",
        "LevelTypeId": 4
    }
]