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": "e05d0d06-147b-4e40-8e7f-72959ff1a23b",
"ParentId": "609869b7-fd97-4809-956b-a3dd7484bcc8",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"62022ed0-f36f-4f29-93c0-447eb308d664",
"fbc7800a-3a47-411c-86c7-1870582b6d79"
],
"Companies": [
"9b041d23-203c-45f5-baaa-b20bbe98f645",
"5f816c70-f2e5-413b-a453-88f2f9170b02"
],
"Groups": [
"a149bac6-8502-499e-ac55-76ae027f16db",
"8b2ff653-d657-47f1-a8b6-454f589854c0"
],
"Opportunities": [
"013c6534-89b8-4990-92d7-fa6348e0752e",
"e1956576-7626-4698-8d2a-626d84b94573"
]
}
}
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:
"e418be65-8adb-4c70-b700-4dba9d1d4fca"