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": "11761211-d226-418f-b1e5-beccbc7bde09",
"ParentId": "57642fda-03e1-4830-af4a-ced10e164c7b",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"c8972124-fc48-4d1c-b2dc-d59e44a33e17",
"9e9e98b4-e20f-47ae-9aa4-7dce641fe676"
],
"Companies": [
"5ef8c1ee-f66b-4590-bd1c-b0664394ef84",
"ced404f7-fd2a-4671-af56-130c45cf1b7f"
],
"Groups": [
"39515605-4b62-407b-84ca-497d63bbbe22",
"559843d1-7e2d-4529-a1ea-c9a280bf0288"
],
"Opportunities": [
"c45ee996-8ab4-4d0a-b034-6e46764d7200",
"aac85a61-a4b3-4d0b-be14-112c523e640d"
]
}
}
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:
"e4e41406-236c-45a5-bec5-1471690f0f9c"