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": "9f8180a6-bb41-478a-b558-73e3955f0152",
"ParentId": "1058ae16-be49-40f8-aa0d-7edc4db37587",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"11d7d310-ef20-47b2-bb9f-ce759655a640",
"1961d6d0-08fc-4edf-8f8f-cb6c779e40eb"
],
"Companies": [
"57811eb2-aee0-4d89-9b0a-714bc864dccb",
"b463a57d-b52c-4807-bf7f-c0b00b83f0bf"
],
"Groups": [
"8043593e-394b-47b6-b013-7bcee58dcc71",
"29f434d0-320f-4e11-965a-3a0f0133f8f7"
],
"Opportunities": [
"1397c80f-0db0-41dd-ba7e-2569903cbb4b",
"60b32008-3397-4b59-9edf-a833241ea47f"
]
}
}
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:
"e6e31196-766a-4546-b86e-9f7a08b9943f"