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": "c86842bc-fd4f-48f9-815b-dd9ec1ff7502",
"ParentId": "cdc7eef3-d11f-4e40-84ea-7faae1fa2fca",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"50ec38e0-01fd-489c-8c16-2e98c572ef7a",
"4c3391ef-8883-4e1f-99e4-b79e31f935d7"
],
"Companies": [
"ffec9979-4540-47fd-a426-2e84ac5a38ea",
"91b183a9-9c73-4ba5-aee8-f92a0014dd34"
],
"Groups": [
"db36492a-759a-4d59-ab49-771652fdc0c4",
"80a43b7c-3aed-44f7-8432-048ec289483c"
],
"Opportunities": [
"ef1f0306-f5fc-4fa2-9500-9624b29b46b2",
"2d11e110-23ea-4b6f-ae09-0153ea97784b"
]
}
}
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:
"fa9f06db-2c85-40db-9018-3a4867d02d56"