POST api/Opportunity/OpportunitySelectionProduct
Request Information
URI Parameters
None.
Body Parameters
Collection of OpportunitySelectionProduct| Name | 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": "655b972a-cce9-4596-8eeb-dd1cc97306f3",
"Name": "sample string 2",
"Selected": true,
"OpportunityProductId": "400d66ad-96d0-4212-8f13-37e9518e1fe5",
"OpportunityId": "af915097-8181-4683-8e61-346f1caa4bf9",
"Subject": "sample string 5",
"ProductId": "60b2298e-7816-4e8b-82a9-1944162fccf0",
"Quantity": 7.0,
"Note": "sample string 8",
"Cost": 9.0,
"SelectionParentId": "f2dd7ac2-1ffc-4940-ae0f-2a538ec7436a",
"SelectionParentName": "sample string 11"
},
{
"PriceListItemId": "655b972a-cce9-4596-8eeb-dd1cc97306f3",
"Name": "sample string 2",
"Selected": true,
"OpportunityProductId": "400d66ad-96d0-4212-8f13-37e9518e1fe5",
"OpportunityId": "af915097-8181-4683-8e61-346f1caa4bf9",
"Subject": "sample string 5",
"ProductId": "60b2298e-7816-4e8b-82a9-1944162fccf0",
"Quantity": 7.0,
"Note": "sample string 8",
"Cost": 9.0,
"SelectionParentId": "f2dd7ac2-1ffc-4940-ae0f-2a538ec7436a",
"SelectionParentName": "sample string 11"
}
]
text/html
Sample:
[{"PriceListItemId":"655b972a-cce9-4596-8eeb-dd1cc97306f3","Name":"sample string 2","Selected":true,"OpportunityProductId":"400d66ad-96d0-4212-8f13-37e9518e1fe5","OpportunityId":"af915097-8181-4683-8e61-346f1caa4bf9","Subject":"sample string 5","ProductId":"60b2298e-7816-4e8b-82a9-1944162fccf0","Quantity":7.0,"Note":"sample string 8","Cost":9.0,"SelectionParentId":"f2dd7ac2-1ffc-4940-ae0f-2a538ec7436a","SelectionParentName":"sample string 11"},{"PriceListItemId":"655b972a-cce9-4596-8eeb-dd1cc97306f3","Name":"sample string 2","Selected":true,"OpportunityProductId":"400d66ad-96d0-4212-8f13-37e9518e1fe5","OpportunityId":"af915097-8181-4683-8e61-346f1caa4bf9","Subject":"sample string 5","ProductId":"60b2298e-7816-4e8b-82a9-1944162fccf0","Quantity":7.0,"Note":"sample string 8","Cost":9.0,"SelectionParentId":"f2dd7ac2-1ffc-4940-ae0f-2a538ec7436a","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>af915097-8181-4683-8e61-346f1caa4bf9</OpportunityId>
<OpportunityProductId>400d66ad-96d0-4212-8f13-37e9518e1fe5</OpportunityProductId>
<PriceListItemId>655b972a-cce9-4596-8eeb-dd1cc97306f3</PriceListItemId>
<ProductId>60b2298e-7816-4e8b-82a9-1944162fccf0</ProductId>
<Quantity>7</Quantity>
<Selected>true</Selected>
<SelectionParentId>f2dd7ac2-1ffc-4940-ae0f-2a538ec7436a</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>af915097-8181-4683-8e61-346f1caa4bf9</OpportunityId>
<OpportunityProductId>400d66ad-96d0-4212-8f13-37e9518e1fe5</OpportunityProductId>
<PriceListItemId>655b972a-cce9-4596-8eeb-dd1cc97306f3</PriceListItemId>
<ProductId>60b2298e-7816-4e8b-82a9-1944162fccf0</ProductId>
<Quantity>7</Quantity>
<Selected>true</Selected>
<SelectionParentId>f2dd7ac2-1ffc-4940-ae0f-2a538ec7436a</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.