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": "15d9b73c-90bc-4bfe-91d8-36c0045f13e3",
"ParentId": "783c187b-6b79-4792-a3e0-d521a5a29163",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"e001bfbd-73c5-40bb-869b-8a04d61fc479",
"56e94841-6ec8-46aa-8ee7-6bfb37e65aac"
],
"Companies": [
"b60ddde7-f283-4a2d-bd21-468981e99b4a",
"212f06b8-afb0-4d8e-8fdf-8f56fb8ed383"
],
"Groups": [
"f78726aa-7373-4a26-84a5-1e53e5e2bdb7",
"da888c0f-145a-433b-a5c3-c9a9125e382f"
],
"Opportunities": [
"2f52cc78-5c81-42b5-8176-2528e9ebfe62",
"99a66901-3806-4004-a2d0-abd91c5ad274"
]
}
}
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:
"0a8fb229-6e56-409c-bc15-69645979ab0c"