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": "95b871ba-efa6-47d0-9cc3-b53ef5259e49",
"ParentId": "116c9cc2-8d96-4adc-bebd-70ef43605abc",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"e8770878-2205-4227-811a-923fd6c64b4e",
"b00498ef-8c8b-4ae3-b38f-0a26e2a8060a"
],
"Companies": [
"f13f6268-d2d4-478d-bc4f-ea5b27772721",
"223943d4-288a-4e13-9ab1-5f0d0ec562c3"
],
"Groups": [
"7a5925d3-8023-4368-b391-9e103a0b9e64",
"dc5fb012-ae75-4aea-8abb-56c2d1595dcf"
],
"Opportunities": [
"8f640042-a8fd-4c63-a26c-8bfce1b4d9dc",
"61985245-9c66-4973-bbf0-2f11c10dcdaf"
]
}
}
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:
"cf4abe25-8285-4006-8a58-5da6ef4775e2"