Retrieve All Industry Subcategories

Retrieve details for all industry subcategories. For each subcategory, details include the subcategory name and code; the category name and code; and the industry code.

Endpoint

GET /v1/industry-categories/industry-sub-categories

Authorization Header

Authorization: Bearer <access_token>

Query Parameters

sort

array [string]

Sort the response by any field in ascending or descending order. The default sort order is createdAt,DESC. For more information, see Sorting and Pagination.

page

integer (int32)

Page number to return, based on zero-based page indexing.

size

integer (int32)

Maximum number of results to return per page.

Request Body

None

Returns

Returns a paginated response with an array of Industry Subcategory objects.

SAMPLE RESPONSE

				
					{
  "totalElements": 3,
  "totalPages": 1,
  "number": 0,
  "numberOfElements": 3,
  "hasNext": true,
  "content": [
    {
      "code": 005,
      "name": "Hospitals",
      "categoryCode": 007,
      "categoryName": "Medical Services",
      "industryCode": "007005",
      "createdBy": {
        "id": "6d35d25a-6ae5-43a1-8ae7-836cfad2299d",
        "type": "employee"
      },
      "createdAt": "2024-07-30T22:57:21.173Z",
      "updatedBy": {
        "id": "6d35d25a-6ae5-43a1-8ae7-836cfad2299d",
        "type": "employee"
      },
      "updatedAt": "2024-07-30T22:57:21.173Z"
    },
    {...},
    {...}
  ]
}
				
			
Exit mobile version