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": "63bc54cd-63cf-4c9b-a177-5a3c2f40dfdb",
"ParentId": "3cbe30dd-6247-4836-a381-84c5892aeb39",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"543cdbf9-9c42-4488-8c93-3e6703853986",
"4f13b373-291a-4e14-a27a-0411dd75dde0"
],
"Companies": [
"c851685a-6869-4c4f-93f6-284b0e35615e",
"8238e7be-4bde-4a7b-b10b-368567b8d882"
],
"Groups": [
"c85a1552-1c49-412c-bcb3-51e97aaeda26",
"aa7f5e62-e8e7-4cf2-a5fb-0726998ae5ea"
],
"Opportunities": [
"7b5e26fe-1750-4f74-87f4-e003f243e665",
"81f6668f-ce62-4a11-9cfa-cb79c125c62f"
]
}
}
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:
"ae955804-783e-4511-99d4-ee97db6ce073"