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": "ce3a9d0d-d5e6-42b0-a837-e8dc466619e5",
"ParentId": "79db0204-3dbc-4ed6-8484-251c42a4679d",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"21ce04cd-0df5-42a4-b948-30b28e0b78b4",
"a32dd28c-cb2b-49e4-8a2b-467ab96a78f1"
],
"Companies": [
"40c34861-cb96-4052-9b61-a76b0534a8db",
"3b46c9e4-8bb9-47ff-a0ec-44ae389dc080"
],
"Groups": [
"1bbb99a7-d25b-4aa1-a627-5bb6ba8cd7f9",
"6655dcab-dec0-44a8-97c9-9c0fb2e1fc2a"
],
"Opportunities": [
"f2d95cf8-8cfb-43e1-8aea-a435a0b690b6",
"b6ab7bda-1f3c-44be-9add-1504d05ae4b2"
]
}
}
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:
"79aaddc6-9706-423a-9c72-c6cc1016815a"