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": "d3039b16-70fc-468d-ab78-13a72df6ae55",
"ParentId": "15da79cb-0d95-438c-a327-83598ffe0057",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"53afe1ac-d82a-42df-8889-86aaad1544da",
"6ae46df0-3884-4436-80a0-0e8e55429b50"
],
"Companies": [
"9201a786-6a00-416f-89e3-df32d37aa5b3",
"c3ad7624-a867-4e55-af12-063e030e6fc5"
],
"Groups": [
"1a05ba45-bd9d-43c4-9187-a38b4310d5a7",
"b11a648c-05bd-429a-8553-a2925d1bfb90"
],
"Opportunities": [
"f37736d3-605e-4316-86c4-10e46eb9d28a",
"6c9418b8-78da-404b-869b-9b7efd9c0409"
]
}
}
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:
"1438b40d-0529-424f-a4d5-a51951ca87ff"