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": "20c230d3-a1b3-41da-a680-b46ccbe2d4ef",
"ParentId": "e70363c8-b29c-44a5-b18d-34abb4a93fc1",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"3b3e5281-0e96-421e-ab1a-fe84c9a287dc",
"7be7e651-048e-4f2a-ba76-9ff1b6de2c46"
],
"Companies": [
"7a780606-f92c-44b7-8610-ae415684b206",
"e708d7e7-18df-45e9-91da-d4de05e192c9"
],
"Groups": [
"3ea78471-6043-418f-946e-668b159d99f0",
"ade8f3ac-a5ee-49e7-a669-8b9de01478d7"
],
"Opportunities": [
"8e707a35-3237-4720-90aa-95e103468b61",
"c5ab2bec-5ea0-4cd4-a5ff-579cf38092b4"
]
}
}
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:
"d55204af-9ad3-4784-9e02-f071d18ee4ad"