POST api/v2/pricelists/{priceListId}/PriceItems
Request
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
priceListId | integer |
Required |
Body Parameters
InsertPriceListItemFromIntegrationName | Description | Type | Additional information |
---|---|---|---|
PriceItemId | integer |
Required |
|
AnalysisGroupId | integer | ||
NoAnalysisGroup | boolean | ||
MethodId | integer | ||
AnalysisId | integer | ||
SampleTypeId | integer | ||
WorkTypeId | integer | ||
Price | decimal number | ||
MinPrice | decimal number |
Request Formats
application/json, text/json
Sample:
{ "PriceItemId": 1, "AnalysisGroupId": 1, "NoAnalysisGroup": true, "MethodId": 1, "AnalysisId": 1, "SampleTypeId": 1, "WorkTypeId": 1, "Price": 1.1, "MinPrice": 1.1 }
text/html
Sample:
{"PriceItemId":1,"AnalysisGroupId":1,"NoAnalysisGroup":true,"MethodId":1,"AnalysisId":1,"SampleTypeId":1,"WorkTypeId":1,"Price":1.1,"MinPrice":1.1}
Response
integerResponse Format
application/json, text/json, text/html
Sample:
1