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": "0d2b98a6-dec9-485e-951d-d47987311488",
"ParentId": "7105dc60-4073-4a04-804b-e30f0718fa61",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"7581b87c-1332-4389-8344-01d64481ca9d",
"cb874322-2c61-4855-97f5-5335cddbc19c"
],
"Companies": [
"67219bc4-a782-49e0-bf70-480d59039b93",
"7a92b818-17a1-45de-b5ee-3e60870760e7"
],
"Groups": [
"9a22be81-e524-4c89-852b-80b45db18e84",
"59ea3459-096b-4d45-bf4c-aab64aa064bb"
],
"Opportunities": [
"6e8b747b-c171-4ab2-b7c0-28fb616e8d55",
"920e66c3-5dd6-4bc0-8d5f-1662f4c583cc"
]
}
}
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:
"2e30d712-927c-4b75-b078-77b23379b034"