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": "b4f0c3be-aa65-44eb-ac14-6cd5d7217a42", "ParentId": "a89a2a4d-5de7-43af-b6a4-8d438ea76605", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "09f23d32-113e-49ed-afdb-1fd69eb9e78f", "dddadd09-82a4-4687-a800-d7144e808bfd" ], "Companies": [ "9b79232c-b78b-4653-aca7-01e0ae30fe28", "f75d794e-2d6e-45c8-ae7a-2905db8b91ae" ], "Groups": [ "ec369ed1-a9b2-46ec-82b9-f4bb024acd7c", "a45ae53b-159b-4661-86ba-a835b067777c" ], "Opportunities": [ "a4f36e17-6b0f-44a8-a550-f01af405bb1a", "10046046-bf1c-4326-a740-2ca54f2dbcb9" ] } }
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:
"8463a9be-bde4-4fd9-ab15-96c1863a74bc"