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": "dcfba3dc-193d-4992-9c62-deff79137b20",
"ParentId": "50ef7dac-e195-4b2b-b4ee-7ae52fa7ed74",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"1ac73ead-0b9b-46c7-ab1e-5fab59760646",
"6276362c-6d28-449a-896d-611c8803230a"
],
"Companies": [
"ba47564b-1b08-4042-8dde-d57ce2ff2b16",
"ce887903-1f75-4390-8635-ff84528338a3"
],
"Groups": [
"b9f76f07-420c-4ffe-8b41-551048079da6",
"6bd85421-e264-499d-a172-dd09e480b1c6"
],
"Opportunities": [
"079acfaf-5667-4328-b43d-8d14142b8106",
"1d36e8d3-82d5-4aa3-9ff4-a4f6603677d1"
]
}
}
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:
"4c9d6d2d-efc9-4e5e-b950-7a97364baab0"