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": "f8b9f528-d0d7-4bc0-9f39-13303fb96f27",
"Name": "sample string 2",
"Selected": true,
"OpportunityProductId": "b8439998-e43d-47c2-b720-303dd9705fa9",
"OpportunityId": "d4d49bb7-8129-43ae-b654-a36e96ba837d",
"Subject": "sample string 5",
"ProductId": "f50cc84b-c08c-4aa1-a4f4-97235c5ae12b",
"Quantity": 7.0,
"Note": "sample string 8",
"Cost": 9.0,
"SelectionParentId": "33570d86-d30f-42f7-891b-22cebd8099bd",
"SelectionParentName": "sample string 11"
},
{
"PriceListItemId": "f8b9f528-d0d7-4bc0-9f39-13303fb96f27",
"Name": "sample string 2",
"Selected": true,
"OpportunityProductId": "b8439998-e43d-47c2-b720-303dd9705fa9",
"OpportunityId": "d4d49bb7-8129-43ae-b654-a36e96ba837d",
"Subject": "sample string 5",
"ProductId": "f50cc84b-c08c-4aa1-a4f4-97235c5ae12b",
"Quantity": 7.0,
"Note": "sample string 8",
"Cost": 9.0,
"SelectionParentId": "33570d86-d30f-42f7-891b-22cebd8099bd",
"SelectionParentName": "sample string 11"
}
]
text/html
Sample:
[{"PriceListItemId":"f8b9f528-d0d7-4bc0-9f39-13303fb96f27","Name":"sample string 2","Selected":true,"OpportunityProductId":"b8439998-e43d-47c2-b720-303dd9705fa9","OpportunityId":"d4d49bb7-8129-43ae-b654-a36e96ba837d","Subject":"sample string 5","ProductId":"f50cc84b-c08c-4aa1-a4f4-97235c5ae12b","Quantity":7.0,"Note":"sample string 8","Cost":9.0,"SelectionParentId":"33570d86-d30f-42f7-891b-22cebd8099bd","SelectionParentName":"sample string 11"},{"PriceListItemId":"f8b9f528-d0d7-4bc0-9f39-13303fb96f27","Name":"sample string 2","Selected":true,"OpportunityProductId":"b8439998-e43d-47c2-b720-303dd9705fa9","OpportunityId":"d4d49bb7-8129-43ae-b654-a36e96ba837d","Subject":"sample string 5","ProductId":"f50cc84b-c08c-4aa1-a4f4-97235c5ae12b","Quantity":7.0,"Note":"sample string 8","Cost":9.0,"SelectionParentId":"33570d86-d30f-42f7-891b-22cebd8099bd","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>d4d49bb7-8129-43ae-b654-a36e96ba837d</OpportunityId>
<OpportunityProductId>b8439998-e43d-47c2-b720-303dd9705fa9</OpportunityProductId>
<PriceListItemId>f8b9f528-d0d7-4bc0-9f39-13303fb96f27</PriceListItemId>
<ProductId>f50cc84b-c08c-4aa1-a4f4-97235c5ae12b</ProductId>
<Quantity>7</Quantity>
<Selected>true</Selected>
<SelectionParentId>33570d86-d30f-42f7-891b-22cebd8099bd</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>d4d49bb7-8129-43ae-b654-a36e96ba837d</OpportunityId>
<OpportunityProductId>b8439998-e43d-47c2-b720-303dd9705fa9</OpportunityProductId>
<PriceListItemId>f8b9f528-d0d7-4bc0-9f39-13303fb96f27</PriceListItemId>
<ProductId>f50cc84b-c08c-4aa1-a4f4-97235c5ae12b</ProductId>
<Quantity>7</Quantity>
<Selected>true</Selected>
<SelectionParentId>33570d86-d30f-42f7-891b-22cebd8099bd</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.