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
NameDescriptionTypeAdditional 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": "4089a902-d8f5-4efe-9395-ec571d77f3e6",
  "ParentId": "134d0559-85d8-4bf3-a5fc-389cea2f681d",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "979997c6-7be0-4a76-aa1b-ef60dd74abe7",
      "5d034246-86e0-49bd-b5e6-5c0f87ca575c"
    ],
    "Companies": [
      "e9238519-35d0-411d-b1e1-ca8e3b73a4e9",
      "6acf86f9-a4ac-46b3-a498-7709807b4c58"
    ],
    "Groups": [
      "ebb6ae1f-710f-4631-bb99-1dec38829d36",
      "c62a68b9-18fd-4a3f-b13a-54863537fe9a"
    ],
    "Opportunities": [
      "f6620ec6-f884-4574-947f-7abd7a985329",
      "4d18e79b-45a1-41a1-8d7a-1f327386041c"
    ]
  }
}

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 identifier

Response Formats

application/json, text/json

Sample:
"f8919c48-9969-4a97-8479-0c815d80e0e1"