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": "70df5437-1abc-4302-884b-b8dd10e07e78",
"ParentId": "44a7bf12-67e9-4153-97d4-5e1f53ef1d9f",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"4686cc15-3129-41f2-8b90-c374ceedc46f",
"a6632abb-3ad0-40ae-9ad5-eb3df7dd0eb7"
],
"Companies": [
"0fa6de8e-713c-470f-9bef-15a3b022ac80",
"3ee436b3-b8cd-4d0b-bd95-20c77d83aa7b"
],
"Groups": [
"42aed277-a20b-414c-83e0-7e3d6e245235",
"ed631b88-1490-48d8-b45b-935fbba766dc"
],
"Opportunities": [
"7b5278e7-f8b3-4ffa-a6b6-10fec8dbcc39",
"b48a833a-0198-4c46-aecc-d0df0ad196ec"
]
}
}
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:
"7bc22cd3-ed84-4158-902b-28da57139a4c"