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": "131a518d-5e45-466c-b47e-e6bed320ba58",
"ParentId": "37ef4590-91d4-43cd-8f8e-ab0a566ec90d",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"244ac348-12e7-4c43-93f8-0b23c459601e",
"51231455-994e-4066-85ff-7aa92c28b81a"
],
"Companies": [
"f776fd48-6ab9-4077-869e-ae6bd48ff4af",
"ac21da61-e738-4782-84df-81d9452f5ba7"
],
"Groups": [
"4b11d349-90db-4fcc-952f-8c6b429e055a",
"7794463b-c23e-41cf-a91b-81a2fd2574fe"
],
"Opportunities": [
"0c9d6779-1754-4ccf-b8a8-8afcd5dedd63",
"b9e043d2-479f-45b8-a5b0-97065dae0319"
]
}
}
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:
"75628699-2f8a-49e0-b8a2-33d1e6bada86"