List of employee ranges

get

/appstore/publisher/v1/sizes

GET a list of employee ranges. Use this to associate with company size in updating company profile.

Request

Query Parameters
  • Limit tells how many records to return (starting from the offset). Limit should be greater than zero and less than or equal to 100 (default=30).
  • Offset and limit together determine how many records to return from the collection. Offset is the starting index of the records to return, which should be greater than or equal to zero (default=0).
Back to Top

Response

Supported Media Types

200 Response

Successful Operation
Body ()
Root Schema : collection
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : items
Type: object

400 Response

Invalid Parameter Value

401 Response

Not Authorized

404 Response

Entity Not Found

500 Response

System Error
Back to Top

Examples

The following example returns a list of accepted employee ranges, by submitting a GET request on the REST resource using cURL.

cURL Example

curl -X GET -H "Authorization: Bearer Access-token" "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/sizes"

Request Header

Authorization: Bearer Access-token

Request Body

None

HTTP Status Code:

200 OK

JSON Response:

{
    "items": [
        {
            "item": {
                "code": "ONE_TO_FIFTY",
                "name": "1 to 50 Employees"
            }
        },
        {
            "item": {
                "code": "BETWEEN_THOUSANDANDONE_TO_FIVETHOUSAND",
                "name": "1,001 to 5,000 Employees"
            }
        },
        {
            "item": {
                "code": "BETWEENTENTHOUSANDANDONE_TO_TWENTYFIVETHOUSAND",
                "name": "10,001 to 25,000 Employees"
            }
        },
        {
            "item": {
                "code": "BETWEEN_ONEHUNDREDANDONE_TO_FIVEHUNDRED",
                "name": "101 to 500 Employees"
            }
        },
        {
            "item": {
                "code": "BETWEENFIVETHOUSANDANDONE_TO_TENTHOUSAND",
                "name": "5,001 to 10,000 Employees"
            }
        },
        {
            "item": {
                "code": "BETWEEN_FIVEHUNDREDANDONE_TO_THOUSAND",
                "name": "501 to 1,000 Employees"
            }
        },
        {
            "item": {
                "code": "BETWEEN_FIFTYONE_TO_HUNDRED",
                "name": "51 to 100 Employees"
            }
        },
        {
            "item": {
                "code": "ABOVE_TWENTYFIVETHOUSAND",
                "name": "More than 25,000 Employees"
            }
        }
    ],
    "hasMore": false,
    "count": 8,
    "totalResults": 8,
    "links": [
        {
            "rel": "CANONICAL",
            "href": "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/sizes"
        },
        {
            "rel": "SELF",
            "href": "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/sizes"
        }
    ]
}
Back to Top