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": "c8f19f97-a20d-47b6-aab8-39c3a18f8dc9",
"ParentId": "a331be89-7521-4a8b-9272-a5260f2e9b78",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"7687eae0-cef6-468c-a906-7bc1c1f2b1e6",
"f3982413-0300-4bc3-9727-ae4dd54609c6"
],
"Companies": [
"1b27526c-7571-4436-9451-9be5e5ca650e",
"5cc8b766-0275-442e-ac64-a87359af1ffa"
],
"Groups": [
"709408cf-7735-4438-9733-e6c64d7f7f03",
"6db03a26-2192-4437-bbdf-b12238d5324f"
],
"Opportunities": [
"b7394060-3efe-4168-8a30-b6e8199d2aed",
"e1276b62-b063-4fae-b405-702a322542f9"
]
}
}
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:
"479de8b1-acc3-4463-995e-0d53b6a34f06"