POST api/Opportunity/OpportunitySelectionProduct
Request Information
URI Parameters
None.
Body Parameters
Collection of OpportunitySelectionProductName | Description | Type | Additional information |
---|---|---|---|
PriceListItemId | globally unique identifier |
None. |
|
Name | string |
None. |
|
Selected | boolean |
None. |
|
OpportunityProductId | globally unique identifier |
None. |
|
OpportunityId | globally unique identifier |
None. |
|
Subject | string |
None. |
|
ProductId | globally unique identifier |
None. |
|
Quantity | decimal number |
None. |
|
Note | string |
None. |
|
Cost | decimal number |
None. |
|
SelectionParentId | globally unique identifier |
None. |
|
SelectionParentName | string |
None. |
Request Formats
application/json, text/json
Sample:
[ { "PriceListItemId": "fa4fee5a-9beb-448d-9518-9e6b135c7c1f", "Name": "sample string 2", "Selected": true, "OpportunityProductId": "f6aff36b-d0e5-46ec-8bdc-cdc78b5c43ff", "OpportunityId": "9952dfd2-cd32-4eca-a65d-40d1c898dd95", "Subject": "sample string 5", "ProductId": "879acb39-710a-423c-80bc-1d0b00ed144b", "Quantity": 7.0, "Note": "sample string 8", "Cost": 9.0, "SelectionParentId": "273d8839-739e-4b41-bb40-c284b57985e7", "SelectionParentName": "sample string 11" }, { "PriceListItemId": "fa4fee5a-9beb-448d-9518-9e6b135c7c1f", "Name": "sample string 2", "Selected": true, "OpportunityProductId": "f6aff36b-d0e5-46ec-8bdc-cdc78b5c43ff", "OpportunityId": "9952dfd2-cd32-4eca-a65d-40d1c898dd95", "Subject": "sample string 5", "ProductId": "879acb39-710a-423c-80bc-1d0b00ed144b", "Quantity": 7.0, "Note": "sample string 8", "Cost": 9.0, "SelectionParentId": "273d8839-739e-4b41-bb40-c284b57985e7", "SelectionParentName": "sample string 11" } ]
text/html
Sample:
[{"PriceListItemId":"fa4fee5a-9beb-448d-9518-9e6b135c7c1f","Name":"sample string 2","Selected":true,"OpportunityProductId":"f6aff36b-d0e5-46ec-8bdc-cdc78b5c43ff","OpportunityId":"9952dfd2-cd32-4eca-a65d-40d1c898dd95","Subject":"sample string 5","ProductId":"879acb39-710a-423c-80bc-1d0b00ed144b","Quantity":7.0,"Note":"sample string 8","Cost":9.0,"SelectionParentId":"273d8839-739e-4b41-bb40-c284b57985e7","SelectionParentName":"sample string 11"},{"PriceListItemId":"fa4fee5a-9beb-448d-9518-9e6b135c7c1f","Name":"sample string 2","Selected":true,"OpportunityProductId":"f6aff36b-d0e5-46ec-8bdc-cdc78b5c43ff","OpportunityId":"9952dfd2-cd32-4eca-a65d-40d1c898dd95","Subject":"sample string 5","ProductId":"879acb39-710a-423c-80bc-1d0b00ed144b","Quantity":7.0,"Note":"sample string 8","Cost":9.0,"SelectionParentId":"273d8839-739e-4b41-bb40-c284b57985e7","SelectionParentName":"sample string 11"}]
application/xml, text/xml
Sample:
<ArrayOfOpportunitySelectionProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BRH.Services.Models"> <OpportunitySelectionProduct> <Cost>9</Cost> <Name>sample string 2</Name> <Note>sample string 8</Note> <OpportunityId>9952dfd2-cd32-4eca-a65d-40d1c898dd95</OpportunityId> <OpportunityProductId>f6aff36b-d0e5-46ec-8bdc-cdc78b5c43ff</OpportunityProductId> <PriceListItemId>fa4fee5a-9beb-448d-9518-9e6b135c7c1f</PriceListItemId> <ProductId>879acb39-710a-423c-80bc-1d0b00ed144b</ProductId> <Quantity>7</Quantity> <Selected>true</Selected> <SelectionParentId>273d8839-739e-4b41-bb40-c284b57985e7</SelectionParentId> <SelectionParentName>sample string 11</SelectionParentName> <Subject>sample string 5</Subject> </OpportunitySelectionProduct> <OpportunitySelectionProduct> <Cost>9</Cost> <Name>sample string 2</Name> <Note>sample string 8</Note> <OpportunityId>9952dfd2-cd32-4eca-a65d-40d1c898dd95</OpportunityId> <OpportunityProductId>f6aff36b-d0e5-46ec-8bdc-cdc78b5c43ff</OpportunityProductId> <PriceListItemId>fa4fee5a-9beb-448d-9518-9e6b135c7c1f</PriceListItemId> <ProductId>879acb39-710a-423c-80bc-1d0b00ed144b</ProductId> <Quantity>7</Quantity> <Selected>true</Selected> <SelectionParentId>273d8839-739e-4b41-bb40-c284b57985e7</SelectionParentId> <SelectionParentName>sample string 11</SelectionParentName> <Subject>sample string 5</Subject> </OpportunitySelectionProduct> </ArrayOfOpportunitySelectionProduct>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ObjectNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.