POST api/v{version}/AssetSales/ConvertAssetStockToSale?key={key}&stockObjectId={stockObjectId}&customerId={customerId}&sellingPrice={sellingPrice}

Convert Stock asset into an asset sale

Request Information

URI Parameters

NameDescriptionTypeAdditional information
key

Represents the API key for authorization purposes.

string

Required

stockObjectId

The stock object id of the asset to convert into a sale.

integer

Required

customerId

Indicates the customer id that the asset is sold to.

integer

Required

sellingPrice

Indicates the selling price, excluding VAT.

decimal number

None.

version

string

None.

Body Parameters

None.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.