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": "7d4b1f50-de62-4aa3-8f40-8b2c07bf8bfd",
"ParentId": "7aa4be52-3844-46f6-9f8d-93a4dfc49c6b",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"fe64c796-c34c-45c4-b4b2-c1e1f39f6ae0",
"e1b6ecab-623d-44de-b55e-0f442fb26423"
],
"Companies": [
"0754da05-c541-44f7-839c-bdac6074bb46",
"ff356c9e-39f6-40d4-ab92-1df57b61901e"
],
"Groups": [
"4b0cf01b-acbc-420e-9b54-eb12c4657803",
"a6036f67-7c1c-4140-bbfa-6844d4aabc22"
],
"Opportunities": [
"6ebc8792-7b85-481d-8029-9262a5effd40",
"aecec092-83a5-47fa-a9c1-995fab77f132"
]
}
}
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:
"a050de33-100b-49d8-9f6c-26432f69c740"