POST api/unitpriceoverrides/{unitpriceoverrideid}/unitpriceoverridepricecodes

Posts a new unit price override price code object to the specified unit price override record

Request Information

URI Parameters

NameDescriptionTypeAdditional information
unitpriceoverrideid

Identifier for the Unit Price Override record to which this Price Code will be added

integer

Required

Body Parameters

The unit price override price code to add

UnitPriceOverridePriceCodeModel
NameDescriptionTypeAdditional information
PriceCode

Gets or sets the price code for this resource

string

None.

UnitPrice

Gets or sets the unit price for this resource

decimal number

None.

Url

Gets or sets the link representing a link back to the resource

string

None.

ID

Gets or sets the identifier for the resource

integer

None.

Request Formats

application/json, text/json, application/json-patch+json

Sample:
{
  "url": "sample string 3",
  "id": 4,
  "priceCode": "sample string 1",
  "unitPrice": 2.0
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

The newly added unit price override price code object

UnitPriceOverridePriceCodeModel
NameDescriptionTypeAdditional information
PriceCode

Gets or sets the price code for this resource

string

None.

UnitPrice

Gets or sets the unit price for this resource

decimal number

None.

Url

Gets or sets the link representing a link back to the resource

string

None.

ID

Gets or sets the identifier for the resource

integer

None.

Response Formats

application/json, text/json, application/json-patch+json

Sample:
{
  "url": "sample string 3",
  "id": 4,
  "priceCode": "sample string 1",
  "unitPrice": 2.0
}