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": "c894bd04-4e17-457e-97ee-2c2fd520e647",
"ParentId": "9a750851-da22-4d54-86ec-564fddb55565",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"8be91aea-2979-42ff-9c8a-d2dd1ed399d9",
"ce3b9684-d2ce-4580-89c1-7cf8a41003d8"
],
"Companies": [
"f239ef53-d67e-4c37-910d-b0571d5fe726",
"ee9dd573-14dd-4809-8a5f-91f92c4c3c0f"
],
"Groups": [
"0449e5c6-00a8-4f44-a448-0222e99b10f4",
"91fc68ed-765a-46d8-a3f0-5e6c28869757"
],
"Opportunities": [
"f71e07a6-8eca-49b5-acf9-ed0cfad82fb7",
"a3ddd48c-fb72-43a1-9fb6-f2e2fa05289f"
]
}
}
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:
"83e40bfc-2263-4f8e-b64f-a136aae39d37"