POST Opportunity/InsertOpportunity
Request Information
URI Parameters
None.
Body Parameters
IPOpportunityName | Description | Type | Additional information |
---|---|---|---|
OpportunityID | string |
None. |
|
OpportunityName | string |
None. |
|
OpportunitySubject | string |
None. |
|
Discription | string |
None. |
|
ClientID | string |
None. |
|
AddItemToProspect | Collection of AddItemToProspect |
None. |
Request Formats
application/json, text/json
Sample:
{ "OpportunityID": "sample string 1", "OpportunityName": "sample string 2", "OpportunitySubject": "sample string 3", "Discription": "sample string 4", "ClientID": "sample string 5", "AddItemToProspect": [ { "OpportunityID": "sample string 1", "InventoryID": "sample string 2", "CategoryID": "sample string 3" }, { "OpportunityID": "sample string 1", "InventoryID": "sample string 2", "CategoryID": "sample string 3" } ] }
application/xml, text/xml
Sample:
<IPOpportunity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AstaGuru.Models"> <AddItemToProspect> <AddItemToProspect> <CategoryID>sample string 3</CategoryID> <InventoryID>sample string 2</InventoryID> <OpportunityID>sample string 1</OpportunityID> </AddItemToProspect> <AddItemToProspect> <CategoryID>sample string 3</CategoryID> <InventoryID>sample string 2</InventoryID> <OpportunityID>sample string 1</OpportunityID> </AddItemToProspect> </AddItemToProspect> <ClientID>sample string 5</ClientID> <Discription>sample string 4</Discription> <OpportunityID>sample string 1</OpportunityID> <OpportunityName>sample string 2</OpportunityName> <OpportunitySubject>sample string 3</OpportunitySubject> </IPOpportunity>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.