One Central Place API reference - ocp.search.organisation.location

About

Returns a list of organisations which are in the location which match the search terms.

Authentication

This method requires a valid API key. Requests to this method count toward your daily request quota.

Arguments

key (Required): Your API application key.

query (Required): The text to use for query. For example, 'chorlton'.

detail: The amount of detail in the response. The value 'all' can be used to increase the information included in the response. If omitted, this method defaults to a brief response.

limit: Limit the number of returned organisations to the integer value of this parameter. Eg. '5'.

offest: Offset the result set to begin the response after a given number of organisations. Eg. '5'.

Example Response

<?xml version="1.0" encoding="utf-8"?>
<rsp stat="ok">
	<object uid="12740">
		<field name="name">Ark2Ark</field>
		<field name="description">&lt;br /&gt;Training in 3 key areas: Organisational Distinction; Personal Effectiveness; Life Mastery - designed to help people from all sectors and levels to push their limits in self-awareness, expanding on the mind-body connection and enhancing its impact on relevant skills. Professional &amp; Executive Life Coaching - 1-2-1 coaching provided to give time and space on exploring personal challenges and goals. The aim is to help a person to Be More &amp; Achieve More such that s/he is living and working with passion and purpose.""</field>
	</object>
	<object uid="12757">
		<field name="name">Barlow Moor Community Association</field>
		<field name="description"/>
	</object>

	...

	<object uid="13261">
		<field name="name">Standguide Ltd.</field>
		<field name="description">&lt;br /&gt;Operating throughout the North West, Standguide is one of the most established, successful and respected companies for skills, training and recruitment solutions.&lt;br /&gt;&lt;br /&gt;Focusing on the support of unemployed adults into work through a variety of courses and training.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;</field>
	</object>
	<object uid="13334">
		<field name="name">Withington Hospital Stroke Club (WHSC)</field>
		<field name="description">&lt;br /&gt;WHSC is a club for people who have had a stroke,their families and/or carers. Its aims are to help the stroke people know that there is quality of life after stroke. &lt;br /&gt;We hold monthly meetings and outings. Volunteers are needed to help care for and assist our members on outings and at the meetings.&lt;br /&gt;&lt;br /&gt;</field>
	</object>
</rsp>

Error Codes

400: Quota exceeded.

403: Invalid API key.

404: Not data was returned.