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": "7b450ea7-634c-4fd4-9ef8-cb6892a627e0",
"ParentId": "6f66aa12-5725-4ade-a052-7f607ec7c7d5",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"2ef28469-ea52-4168-8f94-c32680575f8d",
"d1956d34-1dc9-4fbb-90f0-66a1879d147f"
],
"Companies": [
"8ab67907-9b52-4bdc-83e7-1e160dc7e6eb",
"7c732630-eeb5-48e5-989e-895eadaef88a"
],
"Groups": [
"5e565d24-2ed4-4c5c-91ce-705fa044e2b0",
"cefdb2dd-eb8c-4452-a6cc-cb8baf1a9af9"
],
"Opportunities": [
"28550463-3f12-43dc-be32-fb984f2ae62a",
"eb226a6c-72a8-4c0a-b3cc-b268497d915c"
]
}
}
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:
"65fa4ecc-c9e6-48f6-9961-5f77a78e14c6"