GetOrganizationInformation

Initial Build

2006.02

xWEB

Web Method

Response Type

XML Node

GetOrganizationInformation returns general information about an Organization. If you need more information, consider using GetQuery or ExecuteMethod instead.

Parameters

OrganizationKey (string). The primary key of an Organization.

Response

XML Node

Sample Request

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Header>
<m:AuthorizationToken xmlns:m="http://www.avectra.com/2005/">
<m:Token>5453de37-f3e9-45a5-b4aa-f264726b85e8</m:Token>
</m:AuthorizationToken>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<m:GetOrganizationInformation xmlns:m="http://www.avectra.com/2005/">
<m:OrganizationKey>4a7fdedf-334b-4025-a24d-31d8b14fdcad</m:OrganizationKey>
</m:GetOrganizationInformation>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Sample Response

<?xml version="1.0" encoding="utf-8"?>
<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"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<soap:Header>
<AuthorizationToken xmlns="http://www.avectra.com/2005/">
<Token>c5072536-4c8e-427f-bf4d-e006c204a8e6</Token>
</AuthorizationToken>
<wsa:Action>http://www.avectra.com/2005/GetOrganizationInformationResponse</wsa:Action>
<wsa:MessageID>uuid:38dc825e-c751-48d8-8f22-4d21ae734822</wsa:MessageID>
<wsa:RelatesTo>uuid:32fd97d2-8759-4cce-973d-89aab0b9a8a2</wsa:RelatesTo>
<wsa:To>http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous</wsa:To>
<wsse:Security>
<wsu:Timestamp wsu:Id="Timestamp-c7e9a7f8-d0da-4717-b2f4-7a6e9659eeee">
<wsu:Created>2006-09-25T20:26:36Z</wsu:Created>
<wsu:Expires>2006-09-25T20:31:36Z</wsu:Expires>
</wsu:Timestamp>
</wsse:Security>
</soap:Header>
<soap:Body>
<GetOrganizationInformationResponse xmlns="http://www.avectra.com/2005/">
<GetOrganizationInformationResult>
<OrganizationObjects xsi:schemaLocation="http://www.avectra.com/2005/ Organization.xsd" recordReturn="1">
<OrganizationObject>
<org_cst_key>4a7fdedf-334b-4025-a24d-31d8b14fdcad</org_cst_key>
<org_name>Avectra2</org_name>
<org_acronym>AV</org_acronym>
<org_ind_cst_key/>
<url_code>http://www.avectra.com</url_code>
<cst_id>000080677O</cst_id>
<eml_address>test@avectra.com</eml_address>
<phn_number>(703)506-7000</phn_number>
<fax_number>(703)506-7001</fax_number>
<adr_line1>7901 Jones Branch Drive</adr_line1>
<adr_line2/>
<adr_line3/>
<adr_city>McLean</adr_city>
<adr_state>VA</adr_state>
<adr_post_code>22101</adr_post_code>
</OrganizationObject>
</OrganizationObjects>
</GetOrganizationInformationResult>
</GetOrganizationInformationResponse>
</soap:Body>
</soap:Envelope>
   

JSON Method

POST /xWeb/JSON/GetOrganizationInformation

Copy
DATA: JSON
{
    "GetOrganizationInformation ": {
        "OrganizationKey":"{{orgCstKeySample}}"
    }    
}

 

Copy
SAMPLE RESULT
HTTP STATUS: 200
DATA: JSON
{
    "OrganizationObjects": {
        "@schemaLocation": "http://www.avectra.com/2005/ Organization.xsd",
        "@recordReturn": "1",
        "OrganizationObject": [
            {
                "org_cst_key": "c4fda0d0-131c-4456-9a6a-31d5bc313d76",
                "org_name": "Herman Corp",
                "org_acronym": null,
                "org_ind_cst_key": null,
                "url_code": null,
                "cst_id": "000000753O",
                "cst_member_flag": "0",
                "vst_member_flag": "0",
                "eml_address": null,
                "phn_number": null,
                "fax_number": null,
                "adr_line1": "1234 Lubowitz Corners",
                "adr_line2": null,
                "adr_line3": null,
                "adr_city": "South Brigitte",
                "adr_state": "TX",
                "adr_post_code": "77433",
                "adr_country": "UNITED STATES"
            }
        ]
    }
}