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": "fc1b1112-d054-468c-bf5a-215157c78373",
"ParentId": "8f14cd40-cce4-4b47-b4ea-8e0afc3121c6",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"4a6cae6e-19c6-40bc-a9df-02ce3f0ba6f0",
"ffd82cc2-8df0-45f3-8ce5-f0e85d826be2"
],
"Companies": [
"11105090-059e-4c60-97f0-b47ef73ffc16",
"e466b8e7-e982-45e8-b4c9-eedda01f9a36"
],
"Groups": [
"b7a2e4dd-49a8-4d08-9bcb-d97edaaa22b3",
"51adf7c5-4422-4aa1-b1ce-8d3cf924908f"
],
"Opportunities": [
"1942a787-4b1a-4129-b869-ebdbbee13846",
"9b2084c7-8cb0-4d94-ab78-958aece870ed"
]
}
}
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:
"53067c56-3be4-4c72-a799-a9f0d98bdda4"