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": "4b281750-9d09-4633-9f35-105a3abcb979",
"Name": "sample string 2",
"Selected": true,
"OpportunityProductId": "4b360fa2-3fd8-403f-b995-7c72e85f0088",
"OpportunityId": "2b12b460-ca13-4695-81e8-15a70baef576",
"Subject": "sample string 5",
"ProductId": "60a8ad47-f51a-4087-9e14-09e6d7557d10",
"Quantity": 7.0,
"Note": "sample string 8",
"Cost": 9.0,
"SelectionParentId": "8921e8c2-386c-482f-9942-c2c902f168f7",
"SelectionParentName": "sample string 11"
},
{
"PriceListItemId": "4b281750-9d09-4633-9f35-105a3abcb979",
"Name": "sample string 2",
"Selected": true,
"OpportunityProductId": "4b360fa2-3fd8-403f-b995-7c72e85f0088",
"OpportunityId": "2b12b460-ca13-4695-81e8-15a70baef576",
"Subject": "sample string 5",
"ProductId": "60a8ad47-f51a-4087-9e14-09e6d7557d10",
"Quantity": 7.0,
"Note": "sample string 8",
"Cost": 9.0,
"SelectionParentId": "8921e8c2-386c-482f-9942-c2c902f168f7",
"SelectionParentName": "sample string 11"
}
]
text/html
Sample:
[{"PriceListItemId":"4b281750-9d09-4633-9f35-105a3abcb979","Name":"sample string 2","Selected":true,"OpportunityProductId":"4b360fa2-3fd8-403f-b995-7c72e85f0088","OpportunityId":"2b12b460-ca13-4695-81e8-15a70baef576","Subject":"sample string 5","ProductId":"60a8ad47-f51a-4087-9e14-09e6d7557d10","Quantity":7.0,"Note":"sample string 8","Cost":9.0,"SelectionParentId":"8921e8c2-386c-482f-9942-c2c902f168f7","SelectionParentName":"sample string 11"},{"PriceListItemId":"4b281750-9d09-4633-9f35-105a3abcb979","Name":"sample string 2","Selected":true,"OpportunityProductId":"4b360fa2-3fd8-403f-b995-7c72e85f0088","OpportunityId":"2b12b460-ca13-4695-81e8-15a70baef576","Subject":"sample string 5","ProductId":"60a8ad47-f51a-4087-9e14-09e6d7557d10","Quantity":7.0,"Note":"sample string 8","Cost":9.0,"SelectionParentId":"8921e8c2-386c-482f-9942-c2c902f168f7","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>2b12b460-ca13-4695-81e8-15a70baef576</OpportunityId>
<OpportunityProductId>4b360fa2-3fd8-403f-b995-7c72e85f0088</OpportunityProductId>
<PriceListItemId>4b281750-9d09-4633-9f35-105a3abcb979</PriceListItemId>
<ProductId>60a8ad47-f51a-4087-9e14-09e6d7557d10</ProductId>
<Quantity>7</Quantity>
<Selected>true</Selected>
<SelectionParentId>8921e8c2-386c-482f-9942-c2c902f168f7</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>2b12b460-ca13-4695-81e8-15a70baef576</OpportunityId>
<OpportunityProductId>4b360fa2-3fd8-403f-b995-7c72e85f0088</OpportunityProductId>
<PriceListItemId>4b281750-9d09-4633-9f35-105a3abcb979</PriceListItemId>
<ProductId>60a8ad47-f51a-4087-9e14-09e6d7557d10</ProductId>
<Quantity>7</Quantity>
<Selected>true</Selected>
<SelectionParentId>8921e8c2-386c-482f-9942-c2c902f168f7</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.