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": "f5464b98-0aa0-4be5-8ca0-1cd2323278d8",
"ParentId": "dc15e734-1cde-4420-b11a-4e9c613e4f04",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"27282952-b1f9-4e06-85a7-13471eaae905",
"75a43963-a2a8-4572-b48e-f47010478f7b"
],
"Companies": [
"dd268c93-38e0-407c-826d-3d27977ddba7",
"ec8f5b74-f6d2-4e88-a306-4700c408379c"
],
"Groups": [
"8d61b9a1-aa87-4fdb-b895-527a244f7e6a",
"7189eb5b-2bb6-4ad7-b1d4-0b6eb37d373f"
],
"Opportunities": [
"2a98fc9a-979e-4afb-8843-7cf2cebb5069",
"0facafa5-1a82-4926-97a1-effe5587da5d"
]
}
}
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:
"205b98c7-2687-4387-b10b-6306f0d4c68d"