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": "cbaa4427-cfd0-41c2-9420-ce5d8633ac72",
"ParentId": "51f4f9df-3276-46ed-96d7-a60896bb9114",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"9146bde7-0516-49d1-89d2-caddc5f2af28",
"4f4c4f3a-8521-4671-8836-0f3a5741e2bc"
],
"Companies": [
"1cd26ef7-4725-4679-b239-052d56a3b33d",
"c834c99c-2019-456d-990e-3ce94a5c6f89"
],
"Groups": [
"9d8f9dea-9224-4e07-9ab1-fb1c52561f56",
"75c514e0-a321-468e-8ddd-4c8d8f82a1b1"
],
"Opportunities": [
"d1c67394-71d7-460a-9450-f618b463872a",
"6f054c05-1244-4e34-883d-d8d7fbcdd62c"
]
}
}
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:
"e8708420-a79d-4add-ba40-566d0c126066"