GET api/admin/v1/ManpowerCostTypes?page={page}&pageSize={pageSize}&sortField={sortField}&sortAscending={sortAscending}
Get all manpower cost type
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
page |
Current page |
integer |
Default value is 1 |
pageSize |
Page size |
integer |
Default value is 50 |
sortField |
Name of the field to use for sorting |
string |
Default value is |
sortAscending |
True for ascending sorting, false otherwise |
boolean |
Default value is True |
Body Parameters
None
Response Information
Resource Description
List of manpower cost type
Collection of ManpowerCostTypeDtoName | Description | Type | Additional information |
---|---|---|---|
DefaultAmount |
attribute default amount of the manpower cost type |
decimal number |
None |
MinAmount |
attribute min amount of the manpower cost type |
decimal number |
None |
MaxAmount |
attribute max amount of the mainpower cost type |
decimal number |
None |
Code |
The short code of the element |
string |
None |
Description |
The description of the element |
string |
None |
IsActive |
True if the element is active, false otherwise |
boolean |
None |
Permissions |
Permissions |
PermissionDto |
None |
CreationDate |
Creation |
date |
None |
CreatedBy |
The user who has made the insert |
UserMinDto |
None |
LastUpdateDate |
Date of the last update |
date |
None |
LastUpdatedBy |
The user who has made the last update |
UserMinDto |
None |
Id |
Unique ID |
integer |
None |
Response Formats
application/json, text/json
Sample:
[ { "DefaultAmount": 1.0, "MinAmount": 2.0, "MaxAmount": 3.0, "Code": "sample string 4", "Description": "sample string 5", "IsActive": true, "Permissions": { "CanModify": true, "CanDelete": true }, "CreationDate": "2024-09-13T03:54:53.4586716+02:00", "CreatedBy": { "Login": "sample string 1", "FullName": "sample string 2", "Avatar": "sample string 3", "Id": 4 }, "LastUpdateDate": "2024-09-13T03:54:53.4586716+02:00", "LastUpdatedBy": { "Login": "sample string 1", "FullName": "sample string 2", "Avatar": "sample string 3", "Id": 4 }, "Id": 7 }, { "DefaultAmount": 1.0, "MinAmount": 2.0, "MaxAmount": 3.0, "Code": "sample string 4", "Description": "sample string 5", "IsActive": true, "Permissions": { "CanModify": true, "CanDelete": true }, "CreationDate": "2024-09-13T03:54:53.4586716+02:00", "CreatedBy": { "Login": "sample string 1", "FullName": "sample string 2", "Avatar": "sample string 3", "Id": 4 }, "LastUpdateDate": "2024-09-13T03:54:53.4586716+02:00", "LastUpdatedBy": { "Login": "sample string 1", "FullName": "sample string 2", "Avatar": "sample string 3", "Id": 4 }, "Id": 7 } ]
application/xml, text/xml
Sample:
<ArrayOfManpowerCostTypeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oryx.Web.Api.Models"> <ManpowerCostTypeDto> <Id>7</Id> <CreatedBy> <Id>4</Id> <Avatar>sample string 3</Avatar> <FullName>sample string 2</FullName> <Login>sample string 1</Login> </CreatedBy> <CreationDate>2024-09-13T03:54:53.4586716+02:00</CreationDate> <LastUpdateDate>2024-09-13T03:54:53.4586716+02:00</LastUpdateDate> <LastUpdatedBy> <Id>4</Id> <Avatar>sample string 3</Avatar> <FullName>sample string 2</FullName> <Login>sample string 1</Login> </LastUpdatedBy> <Code>sample string 4</Code> <Description>sample string 5</Description> <IsActive>true</IsActive> <Permissions> <CanDelete>true</CanDelete> <CanModify>true</CanModify> </Permissions> <DefaultAmount>1</DefaultAmount> <MaxAmount>3</MaxAmount> <MinAmount>2</MinAmount> </ManpowerCostTypeDto> <ManpowerCostTypeDto> <Id>7</Id> <CreatedBy> <Id>4</Id> <Avatar>sample string 3</Avatar> <FullName>sample string 2</FullName> <Login>sample string 1</Login> </CreatedBy> <CreationDate>2024-09-13T03:54:53.4586716+02:00</CreationDate> <LastUpdateDate>2024-09-13T03:54:53.4586716+02:00</LastUpdateDate> <LastUpdatedBy> <Id>4</Id> <Avatar>sample string 3</Avatar> <FullName>sample string 2</FullName> <Login>sample string 1</Login> </LastUpdatedBy> <Code>sample string 4</Code> <Description>sample string 5</Description> <IsActive>true</IsActive> <Permissions> <CanDelete>true</CanDelete> <CanModify>true</CanModify> </Permissions> <DefaultAmount>1</DefaultAmount> <MaxAmount>3</MaxAmount> <MinAmount>2</MinAmount> </ManpowerCostTypeDto> </ArrayOfManpowerCostTypeDto>