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": "48758fc1-f4c6-4d05-b7eb-2a56ad94dabe", "ParentId": "49ec4108-c7d8-4cd0-b2f9-b38318cbcd7f", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "67abad8a-2eb6-411a-babc-e4349e6a2c3c", "56f671a4-88cb-4d99-901c-1bbe768c87a6" ], "Companies": [ "e8793b0f-7166-4160-809c-83f9844192ab", "37387bee-7e36-4378-8760-30cd00a339b7" ], "Groups": [ "34b9012e-650a-484d-bf08-f149b5e59cf5", "88c30cd4-24be-436f-9a4b-a4e01d509db9" ], "Opportunities": [ "c27056c9-46c2-4990-80ba-6ecf3d72ab4f", "205ff56b-73f5-44da-96f6-bc7a32bcd334" ] } }
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:
"a3dcfca6-0020-4a3b-a04f-0dac1e7b50d7"