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": "e05203f8-9478-4d5d-b175-f7ea613977a2",
"ParentId": "874cd405-5ace-43e5-be76-bcdec53c6750",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"25621881-d0a0-472b-84e7-38411e20c2aa",
"0c8df827-bb74-4711-b3b9-af4750d24609"
],
"Companies": [
"8cb19d59-9056-4d25-8bff-5cef37834c3f",
"26a1cead-c70b-4f9d-8a1b-8ad984904b5b"
],
"Groups": [
"58f6d1f8-7175-4246-a0fe-8400b59aa7ad",
"f6f5d778-62c8-4d1d-8486-d44d70f941ef"
],
"Opportunities": [
"5e88982a-581b-47b7-b938-b47abc23e7a1",
"5a85bb0c-64e7-45df-b5bf-d03e8816397c"
]
}
}
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:
"96effeeb-b2c2-4d0c-be6d-e065c8fdbe6a"