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. |
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>
See topic Common Parameters.
Required. The XML document containing the data for the organization.
Type xsd:string.
Required. Org ID
Type xsd:int.
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"}}}