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": "7f6e0d0f-c775-431b-b715-7d720183e8de",
"ParentId": "4ec3457d-4b53-4d93-85ff-2bdb2ac880d1",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"d496f476-f6d2-4fca-b440-a94cf6641a44",
"cd15e7ef-2d9a-4e58-8be8-19825ec5f269"
],
"Companies": [
"9cd38bb5-da9f-4bf6-b828-078695c2fe85",
"2333603c-bbd1-44b6-a0e4-12786e0b64c9"
],
"Groups": [
"311b5824-df6f-44f3-8a51-9347db702f4a",
"1fe9669e-af69-4b27-a2d3-e28de38188be"
],
"Opportunities": [
"d41ea4e7-25c4-4de5-ad95-bfc836ae7c59",
"67cd7b8f-158c-4f6c-981c-a1fdac233ec2"
]
}
}
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:
"a400cbc3-743f-4d7d-83bb-56c13601633e"