Get an organization
get
/rest/ofscMetadata/v1/organizations/{label}
This operation retrieves an organization resource.
Request
Path Parameters
-
label(required): string
Minimum Length:
1Maximum Length:40The label of the organization.
Response
Supported Media Types
- application/schema+json
- application/json
200 Response
This section describes the 200 status response for this operation.
Root Schema : Organization
Type:
objectTitle:
Show Source
Organization-
label(required):
string
Title:
LabelMinimum Length:1Maximum Length:255The organization label specified in the request. -
name:
string
Title:
NameThe name of the organization in the user's preferred language. This field is returned only by using the GET method. -
translations(required):
array Translations
Title:
TranslationsAn array of translations associated with the name of the organization. -
type(required):
string
Title:
TypeAllowed Values:[ "contractor", "inhouse" ]The type of the organization.
Nested Schema : Translations
Type:
arrayTitle:
TranslationsAn array of translations associated with the name of the organization.
Show Source
Nested Schema : Translation
Type:
Show Source
object-
language(required):
string
This field contains language code of a text translation, it conatains two characters length code in responses (e.g. 'en', 'es') but can be used in requests as extended ISO code (e.g. 'en-US') as well as old two character format.
-
languageISO:
string
This field is used only in responses and returns ISO language code (e.g. 'en-US'). This field is ignored in the requests (use 'language' instead)
-
name(required):
string
Default Response
This section describes the default error response for this operation.
Root Schema : Error
Type:
Show Source
object-
detail:
string
The detailed description of this error.
-
status:
string
The HTTP status code of this error.
-
title(required):
string
The brief description of this error.
-
type(required):
string
The URL of the web page containing more details about this error.