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": "9d2739bf-1e10-4cc6-9e3a-8df858da9402",
"ParentId": "b22491f7-b6cd-4caa-aa7e-6e1629c28206",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"678fc079-f81a-4d64-91ae-fb611c32913d",
"fb9631b6-cd87-4706-8c76-63e48f202b1b"
],
"Companies": [
"088a338c-a7d8-4e85-aaf2-515d0ac5ea25",
"9ffd7fc2-f5e3-4c32-8f52-348bc90a2213"
],
"Groups": [
"7f823d8b-0612-49e6-a755-80c1a2643564",
"cef12905-50db-4bee-b672-bdc3fe927a03"
],
"Opportunities": [
"fdc740f3-dfa3-4a01-bc9d-c2375ed76080",
"b23da237-2b75-4127-a16a-51334bef69c9"
]
}
}
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:
"346d6acb-1386-4288-a67e-4a0bb4748ae5"