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": "690eab5c-050e-4c75-8259-6582a5643cea",
"ParentId": "81318e2a-4b5a-4bda-b5e7-5e709b4c4cb2",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"3bead9c9-c405-4f1a-bd7a-659fd6e7ba4a",
"4cd37df4-b8c5-4aff-8579-0ca30793617f"
],
"Companies": [
"3c23c0eb-e8f8-4169-9591-57274b7234fd",
"b4599dab-c5c1-45f2-af8a-06222f5a1170"
],
"Groups": [
"8dee737e-6b22-4338-9ff4-d64e4cde9b0e",
"c1767b6b-f295-4e18-8a06-cd896a1ac8ac"
],
"Opportunities": [
"a8190303-b7d1-4879-a992-75a25d54a6de",
"1fb574b3-2022-41e4-913f-ab5a6b7e4252"
]
}
}
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:
"8f8977f3-9388-4781-8d9b-361b334d309c"