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
MutableEntityExtendedName | 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": "6a7f8c8e-3994-431d-903e-b0b890d3a4d3", "ParentId": "76b40c45-de96-4eae-a9f7-d72daa14b43e", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "b5cddfaf-7bd0-4be3-b334-460fcd446c16", "98149e64-4f76-4054-bdc5-27caf57d309f" ], "Companies": [ "6441854d-c6c7-4ddf-8fd8-8e6f5e4567a9", "efed339b-3895-4443-b842-c4a6cb9880f1" ], "Groups": [ "9bef9493-a172-43e9-a028-b09f0241fd44", "6c5a3abb-b55f-4ece-a4b4-e58cecc571ab" ], "Opportunities": [ "b4ffafd0-159c-4f88-863b-8ce509069a24", "3343f8b9-7526-42ab-8dfc-309115eb72bc" ] } }
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:
"a379a12c-ea8d-4e60-ac28-e4aca85a7326"