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": "c66f29d0-84f6-457b-9245-dafa72dfc2e6",
"ParentId": "516f641d-1b7e-49a9-b474-702b7f538f20",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"11ba17a0-3b7b-43de-899e-9c38d0990f7b",
"5b688112-9624-499c-ba2e-2400cfd8d33b"
],
"Companies": [
"b9e62599-b519-40e9-a7c7-4b8a17910021",
"56cc5209-0eb6-4aec-9d7f-6e37a92693e4"
],
"Groups": [
"e2c85b13-dcad-47b8-ab88-268e9659de25",
"894fc19a-e0ec-4b6d-95f9-33a4bf552ae2"
],
"Opportunities": [
"a6e3f8a8-3a10-4877-9f48-43d3b44cb8a8",
"bbad323e-d777-4e36-a6a9-3356f274f810"
]
}
}
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:
"fc69fdc4-df1c-43f0-8cd2-08b38923da79"