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": "699a89be-17e6-4f70-8c2d-73853a8f1dc0",
  "ParentId": "01c5857c-1947-4f3a-bb00-564c23f1913e",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "8e0856fd-0f45-4333-8310-b3f6b43c41d6",
      "444d307a-eee9-4646-8d11-616437571997"
    ],
    "Companies": [
      "b9e03634-4ddd-49bd-903b-7e85913942e6",
      "29f9a76c-5e0f-486c-9e0a-fe8a5e53edd2"
    ],
    "Groups": [
      "aac7457b-87bc-458e-86ff-79d26ad5f312",
      "6753be7f-3dc9-4121-a89d-4b9b81879d14"
    ],
    "Opportunities": [
      "4fcb2f35-b90c-4c15-a751-7dfc4fab1ab3",
      "c68dd92f-9926-43b7-b088-672b61094e98"
    ]
  }
}

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:
"b2093dd8-0b65-40e3-acd9-2a409aa4bc4b"