GET ops/checklists/categories/{parentId}/subcategories
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
parentId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of SubCategoryGETName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
CategoryName | string |
None. |
|
Description | string |
None. |
|
ParentId | integer |
None. |
|
Modified | date |
None. |
|
Status | Status |
None. |
|
ModifiedBy | UserBasicGET |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id": 1, "categoryName": "sample string 2", "description": "sample string 3", "parentId": 4, "modified": "2024-09-08T06:34:49.2740916+02:00", "status": { "id": 1, "name": "sample string 2" }, "modifiedBy": { "firstName": "sample string 1", "id": 2, "lastName": "sample string 3", "uid": "sample string 4", "username": "sample string 5" } }, { "id": 1, "categoryName": "sample string 2", "description": "sample string 3", "parentId": 4, "modified": "2024-09-08T06:34:49.2740916+02:00", "status": { "id": 1, "name": "sample string 2" }, "modifiedBy": { "firstName": "sample string 1", "id": 2, "lastName": "sample string 3", "uid": "sample string 4", "username": "sample string 5" } } ]
application/xml, text/xml
Sample:
<ArrayOfSubCategoryGET xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Checklists"> <SubCategoryGET> <CategoryName>sample string 2</CategoryName> <Description>sample string 3</Description> <Id>1</Id> <Modified>2024-09-08T06:34:49.2740916+02:00</Modified> <ModifiedBy xmlns:d3p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin"> <d3p1:FirstName>sample string 1</d3p1:FirstName> <d3p1:Id>2</d3p1:Id> <d3p1:LastName>sample string 3</d3p1:LastName> <d3p1:Uid>sample string 4</d3p1:Uid> <d3p1:Username>sample string 5</d3p1:Username> </ModifiedBy> <ParentId>4</ParentId> <Status xmlns:d3p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin"> <d3p1:Id>1</d3p1:Id> <d3p1:Name>sample string 2</d3p1:Name> </Status> </SubCategoryGET> <SubCategoryGET> <CategoryName>sample string 2</CategoryName> <Description>sample string 3</Description> <Id>1</Id> <Modified>2024-09-08T06:34:49.2740916+02:00</Modified> <ModifiedBy xmlns:d3p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin"> <d3p1:FirstName>sample string 1</d3p1:FirstName> <d3p1:Id>2</d3p1:Id> <d3p1:LastName>sample string 3</d3p1:LastName> <d3p1:Uid>sample string 4</d3p1:Uid> <d3p1:Username>sample string 5</d3p1:Username> </ModifiedBy> <ParentId>4</ParentId> <Status xmlns:d3p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin"> <d3p1:Id>1</d3p1:Id> <d3p1:Name>sample string 2</d3p1:Name> </Status> </SubCategoryGET> </ArrayOfSubCategoryGET>