Click or drag to resize

ServiceRouterLaborLevelDetailHierarchyGetByID Method

Gets a single LaborLevelDetailHierarchyModel by its ID

Namespace: AppOne.Web.Service.Services.V1R0
Assembly: AppOne.Web.Service (in AppOne.Web.Service.dll) Version: 1.0.141
Syntax
public List<LaborLevelDetailHierarchyModel> LaborLevelDetailHierarchyGetByID(
	QueryParam Query
)

Parameters

Query  QueryParam
A new QueryParam object

Return Value

ListLaborLevelDetailHierarchyModel
A List<LaborLevelDetailHierarchyModel> collection
Remarks
Use this method to get all the nodes of a particular labor level detail ID in the hierarchy tree

QueryParam

PropertyDescription
AuthTokenA valid authentication token string returned from BaseService.TokenCreate(TokenCreate)
Actionn/a
IDPass in a valid LaborLevelDetailModel.LLDetailID element to retreive
Example
The following example demostrates a response request based on two identical IDs. A total of 4 nodes would be returned because they are in seperate tree leaves.
                A request is made:
                {
                    "AuthToken":"String_Content",
                    "ID":11
                }
                
            
                A tree with this layout could be returned: 
                Project-A (1)
                    |-- Task-A (10)
                    |-- Task-B (11)
                        |-- Job-A (20)
                Project-B (2)
                    | -- Task-B (11)
                        | -- Job-A (20)
                
See Also