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": "343acde0-c22b-427a-911e-eda8cbf7cc68",
  "ParentId": "7d2b3d0e-07ea-477f-ba71-b374fdf53f48",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "a71c1b6a-0195-4c88-8c52-ea580acff18b",
      "fe18e22b-8780-4504-84e4-24dbed877c29"
    ],
    "Companies": [
      "106b04b9-c7b6-4924-8e75-33f918f0da6a",
      "15cb3f1f-8e34-4e9f-bfbe-3b65743408fc"
    ],
    "Groups": [
      "e8a4602d-087d-4fcd-8a85-3ff93b98ec8c",
      "246f65ee-6e93-4855-993f-89a539df992d"
    ],
    "Opportunities": [
      "8f184f8b-5362-4a08-979e-d1f0fa49da67",
      "bbe68ef7-9f17-4922-8fc6-52734d518a21"
    ]
  }
}

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:
"a887763c-fe1e-4809-8072-2c70a6b90227"