Administration
Click here for a complete list of operations.
OrganisationUpdate
from OrganisationUpdate
Provides a mechanism to update an existing organisation.
It is suggested to get an organisation object using OrganisationList, modify values, and then submit back in this function.
Only certain fields are updateable.
The updated organisation is returned.
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /json/Administration.asmx/OrganisationUpdate HTTP/1.1 Host: api.logicmelon.com Content-Type: application/json; charset=utf-8 Content-Length: length { "Request": { "sCultureID": "string", "sAPIKey": "string", "sUsername": "string", "sPassword": "string", "Organisation": [ "SchemaIdentifier": "string", "OrganisationID": int, "ParentOrganisationID": int, "OrganisationIdentifier": "string", "OrganisationName": "string", "OrganisationTZID": "short", "OrganisationCultureID": "string", "Address1": "string", "Address2": "string", "Address3": "string", "State": "string", "Country": "string", "PostCode": "string", "MainContactName": "string", "MainContactPhone": "string", "MainContactFax": "string", "MainContactEmail": "string", "WebSite": "string", "OrganisationLogoURL": "string" } } }
HTTP/1.1 200 OK Content-Type: application/json; charset=utf-8 Content-Length: length { "d": [ or { "SchemaIdentifier": "string", "OrganisationID": int, "ParentOrganisationID": int, "OrganisationIdentifier": "string", "OrganisationName": "string", "OrganisationTZID": "short", "OrganisationCultureID": "string", "Address1": "string", "Address2": "string", "Address3": "string", "State": "string", "Country": "string", "PostCode": "string", "MainContactName": "string", "MainContactPhone": "string", "MainContactFax": "string", "MainContactEmail": "string", "WebSite": "string", "OrganisationLogoURL": "string" ] }
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /json/Administration.asmx/OrganisationUpdate HTTP/1.1 Host: api.logicmelon.com Content-Type: application/json; charset=utf-8 Content-Length: length { "Request": { "sCultureID": "string", "sAPIKey": "string", "sUsername": "string", "sPassword": "string", "Organisation": [ "SchemaIdentifier": "string", "OrganisationID": int, "ParentOrganisationID": int, "OrganisationIdentifier": "string", "OrganisationName": "string", "OrganisationTZID": "short", "OrganisationCultureID": "string", "Address1": "string", "Address2": "string", "Address3": "string", "State": "string", "Country": "string", "PostCode": "string", "MainContactName": "string", "MainContactPhone": "string", "MainContactFax": "string", "MainContactEmail": "string", "WebSite": "string", "OrganisationLogoURL": "string" } } }
HTTP/1.1 200 OK Content-Type: application/json; charset=utf-8 Content-Length: length { "d": [ or { "SchemaIdentifier": "string", "OrganisationID": int, "ParentOrganisationID": int, "OrganisationIdentifier": "string", "OrganisationName": "string", "OrganisationTZID": "short", "OrganisationCultureID": "string", "Address1": "string", "Address2": "string", "Address3": "string", "State": "string", "Country": "string", "PostCode": "string", "MainContactName": "string", "MainContactPhone": "string", "MainContactFax": "string", "MainContactEmail": "string", "WebSite": "string", "OrganisationLogoURL": "string" ] }