updateOrganization

Updates an organization with the details provided in the passed XML document

Client Servlet Server Servlet HTTP Methods Supported Requires Authentication
None. SROrganizationAPI POST Yes.

Server API Syntax

https://secure2.convio.net/organization/site/SROrganizationAPI?method=updateOrganization & api_key =value & login_name =value & login_password =value & v =value [ & center_id =value ] [ & response_format =xml |json ] [ & source =value ] [ & sub_source =value ] [ & suppress_response_codes =value ] & organization =value & org_id =value

Usage Notes

This method adds a new organization record to the Luminate Online database. This method does not update the phone number or addresses.

Input data is passed url-encoded as the value of the organization parameter in the following format:

      
      <organizationRequest xmlns="http://convio.com/crm/v1.0">
          <organization>
              <name>Apple</name>
              <url>http://www.apple.com</url>
              <category_id>0</category_id>
              <num_employees>100000</num_employees>
          </organization>
      </organizationRequest>
      
      

Server API Parameters

Common Server Parameters

See topic Common Parameters.

organization

Required. The XML document containing the data for the organization.

Type xsd:string.

org_id

Required. Org ID

Type xsd:int.

Response

See topic HTTP Status Codes.

XML response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<getOrganizationResponse xmlns="http://convio.com/crm/v1.0">
    <organization>
        <org_id>100</org_id>
        <name>Test Organization</name>
        <url>http://sample.url</url>
        <category_id>5</category_id>
        <num_employees>10</num_employees>
    </organization>
</getOrganizationResponse>


        
JSON response
{"getOrganizationResponse":{"organization":{"org_id":"100","name":"Test Organization","category_id":"5","url":"http://sample.url","num_employees":"10"}}}

        

Leave a Comment

Nickname
Comment
Enter this word: