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": "52f603ab-14f7-41d5-a849-5256d07d1114",
"ParentId": "9bececf8-ca39-4f22-a460-de0aeef6f450",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"0566d8f7-4958-4921-930f-a4df6bb728cd",
"4e8118a3-e716-4263-a477-777b601b7cf1"
],
"Companies": [
"96b96819-5b0f-4e57-9d7f-0d396c4be981",
"5ed0d092-dfaa-4e71-992f-37fbccca10f0"
],
"Groups": [
"26c95551-07d9-4b6f-99f7-53000c061e25",
"bfe2fa86-94cd-4bd5-b503-dae1cad5e414"
],
"Opportunities": [
"e2818d03-824e-40dc-8751-b16e85f156b2",
"384355b3-bd3a-474c-813b-ba02866645b9"
]
}
}
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:
"2434f599-156e-4f49-a43b-1549bf47d0ff"