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": "804520b7-7370-4bd5-9d77-fa5093920646",
"ParentId": "8dd28a3d-874d-451e-86ab-8671910c74ed",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"60e09d22-733a-48f2-91f2-876b96153fb4",
"81639dfc-6cba-4155-aa3c-a74dcc15b3eb"
],
"Companies": [
"502485ff-6eb7-4ecf-a880-8453339495bd",
"3201414d-6093-4e6b-83b9-a6d0ee71f128"
],
"Groups": [
"6e53416c-b295-4de9-89df-fe27a73d5634",
"f0092bb4-fb06-4f11-be14-25b212ae7d57"
],
"Opportunities": [
"bc07c8c5-0098-44c7-a400-a869ff47a0e7",
"ebdc9a7e-5fab-4be1-97d2-34b0afa1d113"
]
}
}
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:
"16855748-5410-4768-9bed-f5b8fd08aea9"