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": "5b18edf8-5a54-4c40-b898-32c1c5758615",
"ParentId": "2f91bbb9-05f2-4002-8197-96d4c6d3d509",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"11faec1e-6af7-4ccb-a8cc-cebd12607833",
"0dd8c766-75c6-459c-a331-1a17a55eb4bf"
],
"Companies": [
"7b569fd2-2be4-4a12-aab8-011b1cd8cef9",
"a0cae5f5-2751-4c72-a517-b57849745dea"
],
"Groups": [
"d2115bf4-b03c-464b-8b03-cb4ef37111c8",
"dded7f9e-4c12-4cff-98a8-6ee43f3064f6"
],
"Opportunities": [
"a209cd56-8349-475f-970d-10bfa6f190aa",
"97942b8a-0a37-4f14-b071-b93e509aa2fe"
]
}
}
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:
"8e1ecbec-ce4f-4f64-9862-6ae1404e10b6"