SetOrganizationInformation
Initial Build |
2006.02 |
xWEB |
Web Method |
Response Type |
XmlNode |
Important! Abila recommends using the WEBOrganizationUpdate web method which is more powerful and easier to use than SetOrganizationInformation. Although the SetOrganizationInformation web method is not planned for removal because of the legacy applications that use it, any new applications should use WEBOrganizationUpdate.
SetOrganizationInformation updates basic contact information for an organization.
Parameters
- OrganizationKey (string). The primary key of the organization to be updated.
- oUpdateNode (XmlNode). An XmlNode containing elements for each field to be updated.
Response
XmlNode.
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>0fb15972-d8f2-47de-baab-704c11278094</m:Token>
</m:AuthorizationToken>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<m:SetOrganizationInformation xmlns:m="http://www.avectra.com/2005/">
<m:OrganizationKey>4a7fdedf-334b-4025-a24d-31d8b14fdcad</m:OrganizationKey>
<m:oUpdateNode>
<m:OrganizationObjects>
<m:OrganizationObject>
<m:org_ind_cst_key>5bb1722f-dc51-4424-aee9-3b204fcf09b6</m:org_ind_cst_key>
<m:eml_address>info@test.com</m:eml_address>
<m:phn_number>8008008000</m:phn_number>
<m:fax_number>8008008001</m:fax_number>
<m:adr_line1>1600 Pennsylvania Ave NW</m:adr_line1>
<m:adr_city>Washington</m:adr_city>
<m:adr_state>DC</m:adr_state>
<m:adr_post_code>20001</m:adr_post_code>
</m:OrganizationObject>
</m:OrganizationObjects>
</m:oUpdateNode>
</m:SetOrganizationInformation>
</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>a5e7086e-0538-4d19-9fe1-49cec4ffd6c3</Token>
</AuthorizationToken>
<wsa:Action>http://www.avectra.com/2005/SetOrganizationInformationResponse</wsa:Action>
<wsa:MessageID>uuid:a233b78b-e4a1-4ea3-b1ae-f2adf9058439</wsa:MessageID>
<wsa:RelatesTo>uuid:7c3b3d9c-fe26-4718-b203-f365476d3657</wsa:RelatesTo>
<wsa:To>http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous</wsa:To>
<wsse:Security>
<wsu:Timestamp wsu:Id="Timestamp-e7eadef4-43e3-4b00-a5a1-85598c6d1396">
<wsu:Created>2006-09-26T13:13:36Z</wsu:Created>
<wsu:Expires>2006-09-26T13:18:36Z</wsu:Expires>
</wsu:Timestamp>
</wsse:Security>
</soap:Header>
<soap:Body>
<SetOrganizationInformationResponse xmlns="http://www.avectra.com/2005/">
<SetOrganizationInformationResult>
<OrganizationObjects xsi:schemaLocation="http://www.avectra.com/2005/ Organization.xsd" recordReturn="1">
<OrganizationObject>
<org_cst_key>4a7fdedf-334b-4025-a24d-31d8b14fdcad</org_cst_key>
</OrganizationObject>
</OrganizationObjects>
</SetOrganizationInformationResult>
</SetOrganizationInformationResponse>
</soap:Body>
</soap:Envelope>