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": "6b081bf6-81eb-4a4f-9090-9189d88de03b",
"ParentId": "2d50dfdf-bc81-456b-b6ab-649d529167d6",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"790059b1-00cf-4a28-9cd1-54d7a0331ecb",
"8ddf8124-2e47-438d-a7c4-b2781df479e8"
],
"Companies": [
"56991ddd-ba86-4aab-b2d2-95157e79d8c8",
"c6280963-665b-42e8-a179-e301ddadf488"
],
"Groups": [
"6838e130-638d-47cc-939c-d8212d042adc",
"6474bb4c-7e67-4725-b984-8d2d7a85f886"
],
"Opportunities": [
"d6dddc81-e0f1-468c-88e0-7785c16cfd64",
"9b022052-825f-43e7-a5bd-b3516746467a"
]
}
}
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:
"ba5d9697-32a4-4b4c-974a-dffb328d93f0"