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": "1c9ffc5b-0265-4edb-8306-ce8e219c74cd",
"ParentId": "67f0b5c9-1142-4d34-a975-d3b9e868a1fc",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"5433bf75-e53f-438f-ba2a-4426dd39baff",
"e9a99bf2-8637-4b61-a991-2128af319e04"
],
"Companies": [
"eb9547be-1e6d-45cf-b83b-de7b4583d070",
"1f5069da-c4a6-4a0c-ab87-3164bc1226bc"
],
"Groups": [
"4b41ed2d-d72a-4455-a041-1904bbce4c7b",
"656f3d46-0031-45f9-a2cb-55805259eaa1"
],
"Opportunities": [
"5e5b7e4b-a1f7-40f2-8b4b-0f9931fbef93",
"a5b9143b-678e-4a69-9b22-aa0cea9d370f"
]
}
}
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:
"aaad79b2-1bd7-42ea-85b8-12f6c51413df"