Page tree

GET

/:site_number/orgs/:org_id

Returns detailed information on the Organization identified by Organization ID.

Example

https://secure.accessacs.com/api_accessacs_mobile/v2/12345/orgs/123

Required Permissions

The user must fall into one of the categories below:

  • System Administration

  • A user with rights to view Organization records

Request Header

Basic 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.

org_id  – The identification number of the organization you want to return data for.  Values from Organization List API.

Return Data

{
    "OrgId": 123,
    "ParentId": 617,
    "Name": "State Office",
    "RefName": "State Office",
    "ParentName": "National Office",
    "LevelTypeId": 2,
    "LevelTypeDesc": "State Office",
    "PictureUrl": "",
    "Addresses": [
        {
            "AddrId": 314,
            "AddrTypeId": 8,
            "AddrType": null,
            "FamilyAddress": false,
            "ActiveAddress": true,
            "MailAddress": true,
            "StatementAddress": true,
            "Country": "USA",
            "Company": null,
            "Address": "123 N Main St",
            "Address2": null,
            "City": "Florence",
            "State": "SC",
            "Zipcode": "29501-1466",
            "CityStateZip": "Florence, SC 29501-1466",
            "Latitude": null,
            "Longitude": null
        }
    ],
    "Emails": [
        {
            "EmailId": 592,
            "EmailType": "Home",
            "Preferred": false,
            "Email": "noreply@acstechnologies.com",
            "Listed": true
        }
    ],
    "Phones": [
        {
            "PhoneId": 280,
            "Preferred": false,
            "PhoneTypeId": 10,
            "PhoneType": "Organization",
            "FamilyPhone": false,
            "PhoneNumber": "843-111-9999",
            "Extension": null,
            "Listed": true,
            "AddrPhone": true,
            "PhoneRef": 8431119999
        }
    ],
    "Top5Children": [
        {
            "OrgId": 621,
            "LevelTypeId": 3,
            "Name": "SC District One",
            "RefName": "SC District One",
            "Address": "111 Home Ave, Florence, SC 29501-4739",
            "Phone": "843-666-5555",
            "Email": "noreply@acstechnologies.com"
        },
        {
            "OrgId": 625,
            "LevelTypeId": 3,
            "Name": "SC District Two",
            "RefName": "SC District Two",
            "Address": "50123 E Circle, Greenville, SC 29607-1507",
            "Phone": "864-333-2222",
            "Email": "noreply@acstechnologies.com"
        }
    ]
}