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": "d751fe09-b712-45fd-9c59-eb8cbd066867",
"ParentId": "4c0b9cf7-5044-4aef-ac4d-05c284047ef3",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"6478fcdd-6c48-4187-a87f-8260beb78cb8",
"b7dc739a-c4c9-42f3-a210-4a727b14f616"
],
"Companies": [
"791e64c5-8b87-453c-a8f6-f1b8b73168f3",
"d30813b6-b1d4-4450-9c46-145ef9728e55"
],
"Groups": [
"c4587e35-d09e-4b29-9472-304f7eae9871",
"39d3fa81-0347-4796-920d-c513fded9893"
],
"Opportunities": [
"f673f552-0188-4876-a7bf-231ae6422cc7",
"81227335-dbb2-465c-954c-745786df0204"
]
}
}
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:
"eeb94bf1-1816-4677-9840-33434ca62c2b"