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": "04af45fa-62a4-44c8-bc1b-feaa910a29aa",
"ParentId": "b1bc73a1-5150-438f-ace7-5e02c3106e15",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"48caf15e-8da5-4a45-a5f4-5ba8ba06d0db",
"4f7034c6-5733-492c-a874-5d957ba9f0e8"
],
"Companies": [
"0d9e83bf-4f75-45dc-9f9d-73c7a11c0b8a",
"8f1b362f-993a-496f-a15d-ca0b1a050a8d"
],
"Groups": [
"b8f81c89-d0d2-489a-80a8-e1b9f91eca61",
"34fd6bb9-830b-4044-8f24-e23beaa22c21"
],
"Opportunities": [
"c61c1704-ffc0-4721-80e7-1f8fa41d35a1",
"f1248e8f-ab56-4909-a471-0e8e3f845420"
]
}
}
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:
"bb2d0379-38e1-418c-a318-95e1f6a55bbd"