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": "91e9683e-a46c-424e-b763-e541a8b84d8a",
"ParentId": "55d12de0-decc-414f-aea6-44607c7af438",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"c0f0b462-0cc4-437c-996d-933c2e766658",
"bb2a4f7e-a9f4-43da-893d-0e821b25dc1c"
],
"Companies": [
"283477ed-92cc-4f77-a005-fe15da2c750b",
"59423916-da86-4c58-b1c2-ec0352b3fdc1"
],
"Groups": [
"0a312309-883f-49f7-90e5-80bbd22b54b6",
"1e39d6c2-7966-4777-934f-cae44817785f"
],
"Opportunities": [
"6d635f1a-0542-4f2c-92ea-4889d6a6e3fd",
"fa34ac41-3c4d-4c36-9687-26eb26667a44"
]
}
}
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:
"8fb7fee7-8b81-47d5-b655-b8c09fa79822"