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": "8adb31ba-30af-46b4-8b75-359a4ef2d9f5",
  "PriceBook": "835880c7-db52-4213-a6e7-e9c147b44a2d",
  "Language": "f316f282-ce53-422f-be7e-c48ca3c473c4",
  "Date": "2024-04-26T10:38:28.0356864Z",
  "FrontCover": "6ec0342d-eb86-46a9-9000-72b20693e7a8",
  "BackCover": "d9dfac6c-e816-4c72-a35d-72b93c3eeee7",
  "Products": [
    "531bc32f-1999-4603-bdca-f7f363b74655",
    "69250d71-3592-4512-bd6c-fb0a0d00e873"
  ],
  "Parts": [
    "e7dc5c4e-c59f-40db-867e-fb2cfbccf22b",
    "51c6af75-00d1-4669-ab98-62fff9be66cd"
  ]
}

text/html

Sample:
{"Currency":"8adb31ba-30af-46b4-8b75-359a4ef2d9f5","PriceBook":"835880c7-db52-4213-a6e7-e9c147b44a2d","Language":"f316f282-ce53-422f-be7e-c48ca3c473c4","Date":"2024-04-26T10:38:28.0356864Z","FrontCover":"6ec0342d-eb86-46a9-9000-72b20693e7a8","BackCover":"d9dfac6c-e816-4c72-a35d-72b93c3eeee7","Products":["531bc32f-1999-4603-bdca-f7f363b74655","69250d71-3592-4512-bd6c-fb0a0d00e873"],"Parts":["e7dc5c4e-c59f-40db-867e-fb2cfbccf22b","51c6af75-00d1-4669-ab98-62fff9be66cd"]}

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>d9dfac6c-e816-4c72-a35d-72b93c3eeee7</BackCover>
  <Currency>8adb31ba-30af-46b4-8b75-359a4ef2d9f5</Currency>
  <Date>2024-04-26T10:38:28.0356864+00:00</Date>
  <FrontCover>6ec0342d-eb86-46a9-9000-72b20693e7a8</FrontCover>
  <Language>f316f282-ce53-422f-be7e-c48ca3c473c4</Language>
  <Parts xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>e7dc5c4e-c59f-40db-867e-fb2cfbccf22b</d2p1:guid>
    <d2p1:guid>51c6af75-00d1-4669-ab98-62fff9be66cd</d2p1:guid>
  </Parts>
  <PriceBook>835880c7-db52-4213-a6e7-e9c147b44a2d</PriceBook>
  <Products xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>531bc32f-1999-4603-bdca-f7f363b74655</d2p1:guid>
    <d2p1:guid>69250d71-3592-4512-bd6c-fb0a0d00e873</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:
"cb627612-7ae5-421e-8104-3b53825f7af9"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">cb627612-7ae5-421e-8104-3b53825f7af9</guid>