WEBOrganizationGetTypes

 

WEBOrganizationGetTypes

Initial Build 2008.01
xWeb Web Method
Response Type XML Results

This method returns a list of the organizational types available in NetForum.

Parameters

This method has no parameters.

Response

XML Node—A list of the organizational types including the key and code.

Sample Request

<<SAMPLE REQUEST>>

Sample Response

<<SAMPLE RESPONSE>>

 

JSON Method

POST /xWeb/JSON/WEBOrganizationGetTypes

DATA: JSON
{
    "WEBOrganizationGetTypes" : null
}

 

SAMPLE RESULT
HTTP STATUS: 200
DATA: JSON
{
    "Results": {
        "@recordReturn": "10",
        "Result": [
            {
                "ogt_key": "c1f4d915-89ca-493e-83e1-6d9fb0392d68",
                "ogt_code": "Agency"
            },
            {
                "ogt_key": "a6755cd6-931f-469a-bc99-4e7b38540eca",
                "ogt_code": "Association"
            },
            {
                "ogt_key": "f48c5e50-5dc7-4398-9b05-c8f9c45313d2",
                "ogt_code": "Company"
            },
            {
                "ogt_key": "13d9f360-29d9-45d9-ad9e-2c95ef2779ec",
                "ogt_code": "Corporation"
            },
            {
                "ogt_key": "d11c85e6-f1f2-4dc7-99f0-f67e7b31c12b",
                "ogt_code": "Federation"
            },
            {
                "ogt_key": "4d4d778f-338a-46fe-bb79-e6b69059d6b8",
                "ogt_code": "Institute"
            },
            {
                "ogt_key": "4b56e110-03e6-44d6-ab3b-055dad22245b",
                "ogt_code": "Local"
            },
            {
                "ogt_key": "eb12c144-b57a-4ddb-aa4e-a3f66e34a859",
                "ogt_code": "Medical"
            },
            {
                "ogt_key": "b33fb6b8-c070-48dc-9d98-8b1f65a008c8",
                "ogt_code": "Non-Profit"
            },
            {
                "ogt_key": "2397cf35-b19b-492b-aa1f-0e5a336dbb37",
                "ogt_code": "University"
            }
        ]
    }
}

 

Was this article helpful?
0 out of 0 found this helpful