WEBCommitteeGetSubCommitteeListByCommittee

 

WEBCommitteeGetSubCommitteeListByCommittee

Initial Build 2008.01
xWeb Web Method
Response Type XML results

The WEBCommitteeGetSubCommitteeListByCommittee web method returns a list of Subcommittees related to a specific committee as identified by the key provided.

Parameters

The request contains the following required parameter:

       
Name Type Occurs Description
CommitteeKey guid 1..1 The key of the committee being requested.

 

Response

XML Results. A list of the subcommittees related to the committee including the subcommittee name, type, begin and end dates, and description. See WEBCommitteeGetCommitteeList for more details.

Sample Request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.avectra.com/2005/">
<soapenv:Header>
<ns:AuthorizationToken>
<ns:Token>*******************</ns:Token>
</ns:AuthorizationToken>
</soapenv:Header>
<soapenv:Body>
<ns:WEBCommitteeGetSubCommitteeListByCommittee>
<ns:CommitteeKey>4B0D5203-6840-401B-8B1F-A239C80D42D0</ns:CommitteeKey>
</ns:WEBCommitteeGetSubCommitteeListByCommittee>
</soapenv:Body>
</soapenv:Envelope>

Sample Response

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Header>
<AuthorizationToken xmlns="http://www.avectra.com/2005/">
<Token>a89fe1c1-c707-4f88-bff9-7e0db9348908</Token>
</AuthorizationToken>
</soap:Header>
<soap:Body>
<WEBCommitteeGetSubCommitteeListByCommitteeResponse xmlns="http://www.avectra.com/2005/">
<WEBCommitteeGetSubCommitteeListByCommitteeResult>
<Results recordReturn="2">
<Result>
<cmt_key>e22c90e6-ce64-4cc1-a351-99b76d1dbceb</cmt_key>
<cmt_code>RSR-SUBCOM</cmt_code>
<cmt_name>RSR - SubCommittee</cmt_name>
<cmt_ctp_code>RSR</cmt_ctp_code>
<cmt_begin_date/>
<cmt_end_date/>
<cmt_description>RSR - SubCommittee</cmt_description>
</Result>
<Result>
<cmt_key>467e50fc-2982-4b5e-8f3e-4698892f01ba</cmt_key>
<cmt_code>TEST456</cmt_code>
<cmt_name>Test 456</cmt_name>
<cmt_ctp_code>RSR</cmt_ctp_code>
<cmt_begin_date>6/13/2011 12:00:00 AM</cmt_begin_date>
<cmt_end_date>3/16/2012 12:00:00 AM</cmt_end_date>
<cmt_description>This is a test effort for General Release</cmt_description>
</Result>
</Results>
</WEBCommitteeGetSubCommitteeListByCommitteeResult>
</WEBCommitteeGetSubCommitteeListByCommitteeResponse>
</soap:Body>
</soap:Envelope>

 

JSON Method

POST /xWeb/JSON/WEBCommitteeGetSubCommitteeListByCommittee


DATA: JSON
{
    "WEBCommitteeGetSubCommitteeListByCommittee": {
        "CommitteeKey": "{{cmcKeyCommitteeWithSubCommittees}}"
    }
}

SAMPLE RESULT
HTTP STATUS: 200
DATA: JSON
{
    "Results": {
        "@recordReturn": "3",
        "Result": [
            {
                "cmt_key": "df5eb6cf-18ba-4f34-a367-3cc2333ceb72",
                "cmt_code": "Nik PSGjqv",
                "cmt_name": "haha1",
                "cmt_ctp_code": "Drafting Committees",
                "cmt_begin_date": "1/20/2021 12:00:00 AM",
                "cmt_end_date": null,
                "cmt_description": null
            },
            {
                "cmt_key": "75affbf0-7405-44a9-8195-02aa4afa71bb",
                "cmt_code": "Sample",
                "cmt_name": "Sample testing",
                "cmt_ctp_code": "Executive Committee",
                "cmt_begin_date": "10/1/2020 12:00:00 AM",
                "cmt_end_date": "12/31/2020 12:00:00 AM",
                "cmt_description": null
            },
            {
                "cmt_key": "873ef442-2ea8-4965-8b7f-c4981d189094",
                "cmt_code": "CS103",
                "cmt_name": "test",
                "cmt_ctp_code": "Committee TypeQVbqbk",
                "cmt_begin_date": null,
                "cmt_end_date": null,
                "cmt_description": "gfgfg"
            }
        ]
    }
}

 

Related Functionality

Recommendations

This data rarely changes. Therefore we recommend you cache these results and get a new list on a regular interval, especially in a high-traffic application that calls this method frequently.

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