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": "d6aa205b-dec9-4ff1-99e9-6ea1a7d289af",
"ParentId": "a2ac571a-7c38-4764-b61f-96f5e317b984",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"2681c7f2-a6cd-4944-a513-04dc258d1d62",
"29ce68ad-1151-46e2-80ff-ca8abd017e00"
],
"Companies": [
"a216b666-0dbf-4acf-a227-96beb5de57ec",
"e967f9f8-4453-483b-9bbc-5cc41e1d6170"
],
"Groups": [
"8cca9485-ac7a-4f4d-b2cb-29b859540ec7",
"8b946f01-c940-48ff-a617-af387aeb9a50"
],
"Opportunities": [
"3da38d30-4e3b-48ba-a6c3-7374b83d4129",
"1f6b322b-6e76-4f6a-acee-4cc5b4595320"
]
}
}
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:
"a30306a3-464b-4ca1-8b46-4b97de0d99ec"