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": "4bc7dbe0-2754-47fd-b4cb-45104bb121d8",
"ParentId": "350a3120-420a-420f-9c3b-8d36a3efc1fa",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"114c33c0-8d0f-4d0e-b0ab-95eac9a52034",
"d43707f8-7e70-4246-afd2-b348499cac28"
],
"Companies": [
"bb371829-7968-4210-8130-14a65bf8937a",
"3761d80a-66dd-4a5f-8963-9e108c7621e4"
],
"Groups": [
"bcfe0bce-06f4-4f02-b965-34bc64452954",
"536e869b-3712-4844-a7c5-9ba48a7290e2"
],
"Opportunities": [
"f807a56b-0b4d-4974-83aa-e94cb401e9d1",
"e02828c9-d44f-4597-b575-3e60773b6222"
]
}
}
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:
"66a3ab00-24d5-4341-8f54-261ffa6e5a89"