POST api/Opportunities
Create a new Opportunity Record.
Request Information
URI Parameters
None.
Body Parameters
The Opportunity record data must be passed in through the body of the request in Json format. Set Content-Type header to application/json
MutableEntityExtended| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| ParentId |
This field will only include data when working with Group records. |
globally unique identifier |
None. |
| Fields | Dictionary of string [key] and Object [value] |
None. |
|
| LinkedEntities | LinkedEntities |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "c28eaabe-c21c-4c6d-aaeb-62885e120058",
"ParentId": "ca2d31ad-d521-44c2-84c1-13e25166ab77",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"eaae349a-e7b8-436b-a83e-2f36d59e454b",
"49af07b0-929e-4ae3-bd78-2ca17365c6e1"
],
"Companies": [
"5f759b76-2009-4845-a984-fa906deb16cd",
"6a3e6381-b008-46bf-a0c4-27dd26ea986b"
],
"Groups": [
"492976c7-35d1-4230-bd85-07f2295b8766",
"b37817b2-cbc0-4a81-847e-4d3c759d4c73"
],
"Opportunities": [
"220fbbf6-5682-46c7-93b8-eed30797bb35",
"db1247a9-fcc2-4ecd-a38c-a8b5a98ba1d4"
]
}
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
This endpoint returns the GUID of the Group record once it is created.
globally unique identifierResponse Formats
application/json, text/json
Sample:
"479fc050-4811-4361-b2ac-d4f1cbb7be19"