GET Api/Utility/GetCalcPriceFactors/{taskCategoryId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
taskCategoryId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
PriceFactorDtoName | Description | Type | Additional information |
---|---|---|---|
PriceFactorId | integer |
Required |
|
PriceFormId | integer |
Required |
|
Name | string |
Required |
|
Description | string |
None. |
|
Sequence | integer |
None. |
|
Formula | string |
None. |
|
TypeOfPriceValue | TypeOfPriceFactor |
None. |
|
AssignedPriceFactors | Collection of AssignedPriceFactorDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "priceFactorId": 1, "priceFormId": 2, "name": "sample string 3", "description": "sample string 4", "sequence": 5, "formula": "sample string 6", "typeOfPriceValue": 0, "assignedPriceFactors": [ { "assignedPriceFactorId": 1, "priceFactorId": 2, "workerRateId": 1, "value": 1.0, "userTaskId": 1 }, { "assignedPriceFactorId": 1, "priceFactorId": 2, "workerRateId": 1, "value": 1.0, "userTaskId": 1 } ] }
multipart/form-data
Sample:
{"priceFactorId":1,"priceFormId":2,"name":"sample string 3","description":"sample string 4","sequence":5,"formula":"sample string 6","typeOfPriceValue":0,"assignedPriceFactors":[{"assignedPriceFactorId":1,"priceFactorId":2,"workerRateId":1,"value":1.0,"userTaskId":1},{"assignedPriceFactorId":1,"priceFactorId":2,"workerRateId":1,"value":1.0,"userTaskId":1}]}
application/xml, text/xml
Sample:
<PriceFactorDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <PriceFactorId>1</PriceFactorId> <PriceFormId>2</PriceFormId> <Name>sample string 3</Name> <Description>sample string 4</Description> <Sequence>5</Sequence> <Formula>sample string 6</Formula> <TypeOfPriceValue>Number</TypeOfPriceValue> <AssignedPriceFactors> <AssignedPriceFactorDto> <AssignedPriceFactorId>1</AssignedPriceFactorId> <PriceFactorId>2</PriceFactorId> <WorkerRateId>1</WorkerRateId> <Value>1</Value> <UserTaskId>1</UserTaskId> </AssignedPriceFactorDto> <AssignedPriceFactorDto> <AssignedPriceFactorId>1</AssignedPriceFactorId> <PriceFactorId>2</PriceFactorId> <WorkerRateId>1</WorkerRateId> <Value>1</Value> <UserTaskId>1</UserTaskId> </AssignedPriceFactorDto> </AssignedPriceFactors> </PriceFactorDto>