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": "2145796c-b813-40bf-9d70-8e4e3c5bd999",
"ParentId": "2e832d99-061c-4c9c-8f67-c8798213dde4",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"07955ddf-c427-4282-93c9-671141157c39",
"58216cf1-5c7d-4613-8e04-e1125961aea8"
],
"Companies": [
"e9222315-2dba-4e3c-8c8d-b0d32419a973",
"ee71aba8-f227-4056-9ff8-39144937d492"
],
"Groups": [
"6ae07f97-bb4e-410b-911a-b8355ec6b592",
"8875a67e-469a-4e88-b493-3bb172868d13"
],
"Opportunities": [
"add31047-ac68-4e1c-a68f-ebc04d189cdf",
"aa9d79c5-995b-45a0-90cc-2b15645a6a35"
]
}
}
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:
"46dd050c-54f9-45c7-af1b-f20f19857fd9"