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": "cde5f373-5d67-4e33-84ac-29e1a4b3c65a",
"ParentId": "09f79cd0-7e03-4613-8584-e1d5cc8fa9ac",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"7b51b89b-f440-4616-b59c-fb0e5a1c4389",
"29b0bf96-ec76-417c-918b-6873b2b87c8d"
],
"Companies": [
"c6944899-3319-47d3-8369-a955bcda2d90",
"26f20723-db19-4de3-9001-0340c4b46d26"
],
"Groups": [
"4f3b5988-7e1b-4d3c-ba84-b6b6b5fd3398",
"5067f9a7-aba2-41d2-b7cf-1ce599bff672"
],
"Opportunities": [
"ca9e4de9-ce52-4485-96a2-dec91481aaa9",
"df65539d-4e4a-4ccb-8ebb-f5e4a7874d2c"
]
}
}
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:
"72162595-1b9d-48bd-93cf-41ea06a5de15"