Vorheriges Thema: Get an Organization by Name

Nächstes Thema: Providers

Get All Organizations

This web service gets a list of all defined organizations.

HTTP Type

GET

Restriction

Administrator Only.

URI

{type}/SMI/{version}/organizations

Parameter

Description

&key

The API Key that is provided when your application has been registered.

&secret

The Shared Secret that is provided when your application has been registered.

&page

Defines the page number to display.

&rows

Defines the number of records to display per page.

&sort

Valid values for this web service are: "organizationID", “name”, "yrs", "size", and "createdOn". If not defined, no sorting is performed.

&search

Defines the search criteria. The search criteria searches the name and displays matching records. If not defined, no searching is done.

Example:

https://smi.cloudcommons.com:8443/Insight_API/json/SMI/0.5/organizations?key=98ce4910fc7f6fdb7af270ea9b3162b6&secret=eafe362499ecead24b3092ec12853590&page=1&rows=10

Sample output of successful execution:

{
"result":
	{
	"returnCode": "0",
	"errorMessage": "Operation Successful.",
	"resultCount": 10,
	"Bean-List": {
		"ResourceOrganization-Bean":[
			{ "id": "1", "name": "$default$", "uuid": "8cd473d4-0e5f-47ac-970a-7b695eb45723", "geography": "null", "size": "0", "url": "null", "yearInBusiness": "0", "country": "null", "revenue": "null", "postalCode": "null", "industry": "null", "creationDate": "1970-1-1 0:0:0. 0", "createdBy": "SMIGLOBAL", },
			{ "id": "3000", "name": "Organization1", "uuid": "66b459c0-02fc-41ea-9f3d-40987523b386", "geography": "null", "size": "0", "url": "null", "yearInBusiness": "0", "country": "null", "revenue": "null", "postalCode": "null", "industry": "null", "creationDate": "2011-3-23 16:38:58. 0", "createdBy": "SMIGLOBAL", },
			{ "id": "3001", "name": "Organization2", "uuid": "7d0338f2-b32c-4d42-9968-a1f55df02d4a", "geography": "null", "size": "0", "url": "null", "yearInBusiness": "0", "country": "null", "revenue": "null", "postalCode": "null", "industry": "null", "creationDate": "2011-3-23 16:38:58. 0", "createdBy": "SMIGLOBAL", },
			{ "id": "3002", "name": "Organization3", "uuid": "4afde5fb-2f07-47fc-a721-5cd48bb84acb", "geography": "null", "size": "0", "url": "null", "yearInBusiness": "0", "country": "null", "revenue": "null", "postalCode": "null", "industry": "null", "creationDate": "2011-3-23 16:38:58. 0", "createdBy": "SMIGLOBAL", },
			{ "id": "3003", "name": "Organization4", "uuid": "92178f3b-7ce7-4d4d-8bd8-d6d6aaab13c7", "geography": "null", "size": "0", "url": "null", "yearInBusiness": "0", "country": "null", "revenue": "null", "postalCode": "null", "industry": "null", "creationDate": "2011-3-23 16:38:58. 0", "createdBy": "SMIGLOBAL", },
			{ "id": "3004", "name": "Organization5", "uuid": "b1d7fe85-1a48-440a-9a2c-919bca64ed47", "geography": "null", "size": "0", "url": "null", "yearInBusiness": "0", "country": "null", "revenue": "null", "postalCode": "null", "industry": "null", "creationDate": "2011-3-23 16:38:58. 0", "createdBy": "SMIGLOBAL", },
			{ "id": "3005", "name": "Organization6", "uuid": "b26079bf-6fce-482d-a44a-8a5c8da81640", "geography": "null", "size": "0", "url": "null", "yearInBusiness": "0", "country": "null", "revenue": "null", "postalCode": "null", "industry": "null", "creationDate": "2011-3-23 16:38:58. 0", "createdBy": "SMIGLOBAL", },
			{ "id": "3006", "name": "Organization7", "uuid": "1cad17cc-6218-4425-a487-a868d7f8f42a", "geography": "null", "size": "0", "url": "null", "yearInBusiness": "0", "country": "null", "revenue": "null", "postalCode": "null", "industry": "null", "creationDate": "2011-3-23 16:38:58. 0", "createdBy": "SMIGLOBAL", },
			{ "id": "3007", "name": "Organization8", "uuid": "914f2a23-77e3-4cdd-8489-992ec96a6790", "geography": "null", "size": "0", "url": "null", "yearInBusiness": "0", "country": "null", "revenue": "null", "postalCode": "null", "industry": "null", "creationDate": "2011-3-23 16:38:58. 0", "createdBy": "SMIGLOBAL", },
			{ "id": "3008", "name": "Organization9", "uuid": "07e56eaf-60ed-440e-95e8-8aba00acd335", "geography": "null", "size": "0", "url": "null", "yearInBusiness": "0", "country": "null", "revenue": "null", "postalCode": "null", "industry": "null", "creationDate": "2011-3-23 16:38:58. 0", "createdBy": "SMIGLOBAL", }
					]
		     }
	}
}