POST api/pricing/CreateQuote?userId={userId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

integer

Required

Body Parameters

Collection of NewCartItem
NameDescriptionTypeAdditional information
ItemId

string

None.

Quantity

integer

None.

ItemConfiguration

ConfiguredItem

None.

RequestSource

string

None.

CustPartNumberOverride

string

None.

UOM

string

None.

PONumber

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ItemId": "sample string 1",
    "Quantity": 2,
    "ItemConfiguration": {
      "ConfigurationId": 1,
      "LineNumber": 2,
      "ItemId": "sample string 3",
      "ProcessId": "sample string 4",
      "StockRequired": 5,
      "Branch": 6,
      "BranchCode": "sample string 7",
      "CmaItemId": "sample string 8",
      "ConfiguredItemDetails": [
        {
          "ConfigurationId": 1,
          "DetailId": 2,
          "Description": "sample string 3",
          "Value": "sample string 4"
        },
        {
          "ConfigurationId": 1,
          "DetailId": 2,
          "Description": "sample string 3",
          "Value": "sample string 4"
        }
      ]
    },
    "RequestSource": "sample string 3",
    "CustPartNumberOverride": "sample string 4",
    "UOM": "sample string 5",
    "PONumber": "sample string 6"
  },
  {
    "ItemId": "sample string 1",
    "Quantity": 2,
    "ItemConfiguration": {
      "ConfigurationId": 1,
      "LineNumber": 2,
      "ItemId": "sample string 3",
      "ProcessId": "sample string 4",
      "StockRequired": 5,
      "Branch": 6,
      "BranchCode": "sample string 7",
      "CmaItemId": "sample string 8",
      "ConfiguredItemDetails": [
        {
          "ConfigurationId": 1,
          "DetailId": 2,
          "Description": "sample string 3",
          "Value": "sample string 4"
        },
        {
          "ConfigurationId": 1,
          "DetailId": 2,
          "Description": "sample string 3",
          "Value": "sample string 4"
        }
      ]
    },
    "RequestSource": "sample string 3",
    "CustPartNumberOverride": "sample string 4",
    "UOM": "sample string 5",
    "PONumber": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfNewCartItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pronto.Core.Services.ServiceCommands">
  <NewCartItem>
    <CustPartNumberOverride>sample string 4</CustPartNumberOverride>
    <ItemConfiguration xmlns:d3p1="http://schemas.datacontract.org/2004/07/Pronto.Core.Entities">
      <d3p1:Branch>6</d3p1:Branch>
      <d3p1:BranchCode>sample string 7</d3p1:BranchCode>
      <d3p1:CmaItemId>sample string 8</d3p1:CmaItemId>
      <d3p1:ConfigurationId>1</d3p1:ConfigurationId>
      <d3p1:ConfiguredItemDetails>
        <d3p1:ConfiguredItemDetails>
          <d3p1:ConfigurationId>1</d3p1:ConfigurationId>
          <d3p1:Description>sample string 3</d3p1:Description>
          <d3p1:DetailId>2</d3p1:DetailId>
          <d3p1:Value>sample string 4</d3p1:Value>
        </d3p1:ConfiguredItemDetails>
        <d3p1:ConfiguredItemDetails>
          <d3p1:ConfigurationId>1</d3p1:ConfigurationId>
          <d3p1:Description>sample string 3</d3p1:Description>
          <d3p1:DetailId>2</d3p1:DetailId>
          <d3p1:Value>sample string 4</d3p1:Value>
        </d3p1:ConfiguredItemDetails>
      </d3p1:ConfiguredItemDetails>
      <d3p1:ItemId>sample string 3</d3p1:ItemId>
      <d3p1:LineNumber>2</d3p1:LineNumber>
      <d3p1:ProcessId>sample string 4</d3p1:ProcessId>
      <d3p1:StockRequired>5</d3p1:StockRequired>
    </ItemConfiguration>
    <ItemId>sample string 1</ItemId>
    <PONumber>sample string 6</PONumber>
    <Quantity>2</Quantity>
    <RequestSource>sample string 3</RequestSource>
    <UOM>sample string 5</UOM>
  </NewCartItem>
  <NewCartItem>
    <CustPartNumberOverride>sample string 4</CustPartNumberOverride>
    <ItemConfiguration xmlns:d3p1="http://schemas.datacontract.org/2004/07/Pronto.Core.Entities">
      <d3p1:Branch>6</d3p1:Branch>
      <d3p1:BranchCode>sample string 7</d3p1:BranchCode>
      <d3p1:CmaItemId>sample string 8</d3p1:CmaItemId>
      <d3p1:ConfigurationId>1</d3p1:ConfigurationId>
      <d3p1:ConfiguredItemDetails>
        <d3p1:ConfiguredItemDetails>
          <d3p1:ConfigurationId>1</d3p1:ConfigurationId>
          <d3p1:Description>sample string 3</d3p1:Description>
          <d3p1:DetailId>2</d3p1:DetailId>
          <d3p1:Value>sample string 4</d3p1:Value>
        </d3p1:ConfiguredItemDetails>
        <d3p1:ConfiguredItemDetails>
          <d3p1:ConfigurationId>1</d3p1:ConfigurationId>
          <d3p1:Description>sample string 3</d3p1:Description>
          <d3p1:DetailId>2</d3p1:DetailId>
          <d3p1:Value>sample string 4</d3p1:Value>
        </d3p1:ConfiguredItemDetails>
      </d3p1:ConfiguredItemDetails>
      <d3p1:ItemId>sample string 3</d3p1:ItemId>
      <d3p1:LineNumber>2</d3p1:LineNumber>
      <d3p1:ProcessId>sample string 4</d3p1:ProcessId>
      <d3p1:StockRequired>5</d3p1:StockRequired>
    </ItemConfiguration>
    <ItemId>sample string 1</ItemId>
    <PONumber>sample string 6</PONumber>
    <Quantity>2</Quantity>
    <RequestSource>sample string 3</RequestSource>
    <UOM>sample string 5</UOM>
  </NewCartItem>
</ArrayOfNewCartItem>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.