POST pricebook/merge

Merges a price book.

Request Information

URI

https://ofd-api.blueprintcpq.net/pricebook/merge

URI Parameters

None.

Body Parameters

Price Book options.

PriceBookMergeOptions
NameDescriptionTypeAdditional information
Currency

globally unique identifier

None.

PriceBook

globally unique identifier

None.

Language

globally unique identifier

None.

Date

date

None.

FrontCover

globally unique identifier

None.

BackCover

globally unique identifier

None.

Products

Collection of globally unique identifier

None.

Parts

Collection of globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "Currency": "c8d8d679-3c83-4170-9554-db1b0b921d87",
  "PriceBook": "36a806e7-64e9-41a7-87b3-fdd06e0e411f",
  "Language": "1ed1bda7-9ca1-4766-8a8d-7c9b2b7c5da9",
  "Date": "2024-10-09T18:27:26.4029184Z",
  "FrontCover": "137655f0-67dc-4cb9-9390-3f4da76f2560",
  "BackCover": "1e9ab4bd-25e5-4391-ae39-3ddb2301d9f6",
  "Products": [
    "081f8864-5378-45e0-84d7-d860c91ab2e4",
    "0d9ca339-6f6c-498a-a68b-c675b5ceccc0"
  ],
  "Parts": [
    "111c1d33-9130-4036-9982-bc89460dd0f5",
    "b7183ff3-ab24-4a92-88a0-a86cdc27274e"
  ]
}

text/html

Sample:
{"Currency":"c8d8d679-3c83-4170-9554-db1b0b921d87","PriceBook":"36a806e7-64e9-41a7-87b3-fdd06e0e411f","Language":"1ed1bda7-9ca1-4766-8a8d-7c9b2b7c5da9","Date":"2024-10-09T18:27:26.4029184Z","FrontCover":"137655f0-67dc-4cb9-9390-3f4da76f2560","BackCover":"1e9ab4bd-25e5-4391-ae39-3ddb2301d9f6","Products":["081f8864-5378-45e0-84d7-d860c91ab2e4","0d9ca339-6f6c-498a-a68b-c675b5ceccc0"],"Parts":["111c1d33-9130-4036-9982-bc89460dd0f5","b7183ff3-ab24-4a92-88a0-a86cdc27274e"]}

application/xml, text/xml

Sample:
<PriceBookMergeOptions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shared.Models.ConfigurationModels">
  <BackCover>1e9ab4bd-25e5-4391-ae39-3ddb2301d9f6</BackCover>
  <Currency>c8d8d679-3c83-4170-9554-db1b0b921d87</Currency>
  <Date>2024-10-09T18:27:26.4029184+00:00</Date>
  <FrontCover>137655f0-67dc-4cb9-9390-3f4da76f2560</FrontCover>
  <Language>1ed1bda7-9ca1-4766-8a8d-7c9b2b7c5da9</Language>
  <Parts xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>111c1d33-9130-4036-9982-bc89460dd0f5</d2p1:guid>
    <d2p1:guid>b7183ff3-ab24-4a92-88a0-a86cdc27274e</d2p1:guid>
  </Parts>
  <PriceBook>36a806e7-64e9-41a7-87b3-fdd06e0e411f</PriceBook>
  <Products xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>081f8864-5378-45e0-84d7-d860c91ab2e4</d2p1:guid>
    <d2p1:guid>0d9ca339-6f6c-498a-a68b-c675b5ceccc0</d2p1:guid>
  </Products>
</PriceBookMergeOptions>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Merge identifier.

globally unique identifier

Response Formats

application/json, text/json, text/html

Sample:
"6b60f6f4-9eb2-4df3-bf30-fdfb89f13d24"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">6b60f6f4-9eb2-4df3-bf30-fdfb89f13d24</guid>