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": "cd805862-c074-43c8-bd45-6128df1ab6bc",
"ParentId": "ad1c1469-efb7-4226-af98-3c38898523e6",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"aad33d33-f4f4-4dd3-b9cf-371314ac1ccc",
"432bb48e-5cc0-4808-bead-1b47a1966e9a"
],
"Companies": [
"6c2b731a-d6c8-440a-b92f-e3cf3d5ad727",
"6fb02606-25e9-48bb-87a9-9c125567b6cb"
],
"Groups": [
"b1136f34-874a-4748-b97c-26a845fa1615",
"a6869ef2-1701-4898-a0d5-9879b022d57c"
],
"Opportunities": [
"5bfc7379-d974-4454-823f-a3b440387f73",
"4328c69f-07b8-4875-8cb4-ce5c1f40f494"
]
}
}
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:
"d7f95b08-4b36-4781-a231-36db092782ea"