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": "fbd80e46-cbf5-42a4-86bf-06d74400d96a",
"ParentId": "a164f113-ecf5-48c5-a514-5987e632131c",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"1b540704-13ef-43a6-830e-3f23626a0eed",
"32452c4f-ad2a-44a9-ae92-1514708c1fd2"
],
"Companies": [
"5e9a29c7-75c8-4d48-8fc1-6be6a99010c3",
"a274ea0d-a932-4d23-b4ff-d9bfbed64415"
],
"Groups": [
"a4816c75-c4f4-4f4a-994a-743fd9d4c2cf",
"8690562f-59b9-42f0-afa1-fbd3cf3a77a8"
],
"Opportunities": [
"8058e9aa-7167-4e20-b4c1-a4234277a47b",
"f6565fb6-c0da-47da-962b-73954b0eac98"
]
}
}
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:
"e28f22d4-b6d9-4a54-9ca9-076854bf9881"